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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_unsigned_long swig_types[50]
284 #define SWIGTYPE_p_wxMDIClientWindow swig_types[51]
285 #define SWIGTYPE_p_wxTipWindow swig_types[52]
286 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
287 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
288 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
290 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
291 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
292 #define SWIGTYPE_p_wxSashWindow swig_types[59]
293 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
294 #define SWIGTYPE_p_wxWindow swig_types[61]
295 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
296 #define SWIGTYPE_p_wxMenuBar swig_types[63]
297 #define SWIGTYPE_p_wxPrintPreview swig_types[64]
298 #define SWIGTYPE_p_wxSashEvent swig_types[65]
299 #define SWIGTYPE_p_wxString swig_types[66]
300 #define SWIGTYPE_p_wxPyPrintPreview swig_types[67]
301 #define SWIGTYPE_p_wxPageSetupDialog swig_types[68]
302 #define SWIGTYPE_p_wxFontDialog swig_types[69]
303 #define SWIGTYPE_p_wxDirDialog swig_types[70]
304 #define SWIGTYPE_p_wxColourDialog swig_types[71]
305 #define SWIGTYPE_p_wxDialog swig_types[72]
306 #define SWIGTYPE_p_wxPanel swig_types[73]
307 #define SWIGTYPE_p_wxPrintDialog swig_types[74]
308 #define SWIGTYPE_p_wxBitmap swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
311 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxToolBar swig_types[80]
314 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
315 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
316 static swig_type_info
*swig_types
[84];
318 /* -------- TYPES TABLE (END) -------- */
321 /*-----------------------------------------------
322 @(target):= _windows.so
323 ------------------------------------------------*/
324 #define SWIG_init init_windows
326 #define SWIG_name "_windows"
334 #define SWIGSTATIC(a) static inline a
336 #define SWIGSTATIC(a) static a
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #define numeric_cast(type,a) static_cast<type>(a)
348 #define numeric_cast(type,a) (type)(a)
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyEmptyString(wxEmptyString
);
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 SWIG_PyObj_AsLong(PyObject
* obj
)
386 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
390 SWIGSTATIC(PyObject
*)
391 SWIG_PyObj_FromBool(bool value
)
393 PyObject
*obj
= value
? Py_True
: Py_False
;
400 SWIG_PyObj_AsBool(PyObject
*obj
)
402 return PyObject_IsTrue(obj
) ? true : false;
406 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
412 } else if (target
== Py_None
) {
416 if (!PyTuple_Check(target
)) {
418 target
= PyTuple_New(1);
419 PyTuple_SetItem(target
, 0, o2
);
422 PyTuple_SetItem(o3
, 0, o
);
425 target
= PySequence_Concat(o2
, o3
);
434 SWIG_PyObj_AsDouble(PyObject
*obj
)
436 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
438 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
440 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
442 if (PyErr_Occurred()) {
444 PyErr_SetString(PyExc_TypeError
, "a double is expected");
448 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
449 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
450 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
451 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
452 bool wxDialog_IsModalShowing(wxDialog
*self
){
456 return self
->IsModalShowing();
461 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
463 self
->GetFieldRect(i
, r
);
466 static const wxString
wxPySplitterNameStr(wxT("splitter"));
467 static const wxString
wxPySashNameStr(wxT("sashWindow"));
468 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
470 #include <wx/popupwin.h>
473 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
476 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
477 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
478 : wxPopupTransientWindow(parent
, style
) {}
480 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
481 DEC_PYCALLBACK__(OnDismiss
);
482 DEC_PYCALLBACK_BOOL_(CanDismiss
);
487 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
488 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
489 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
492 #include <wx/tipwin.h>
494 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
495 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
498 #include <wx/tipwin.h>
501 #include <wx/vscroll.h>
504 class wxPyVScrolledWindow
: public wxVScrolledWindow
506 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
508 wxPyVScrolledWindow() : wxVScrolledWindow() {}
510 wxPyVScrolledWindow(wxWindow
*parent
,
511 wxWindowID id
= wxID_ANY
,
512 const wxPoint
& pos
= wxDefaultPosition
,
513 const wxSize
& size
= wxDefaultSize
,
515 const wxString
& name
= wxPyPanelNameStr
)
516 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
519 // Overridable virtuals
521 // this function must be overridden in the derived class and it should
522 // return the height of the given line in pixels
523 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
526 // this function doesn't have to be overridden but it may be useful to do
527 // it if calculating the lines heights is a relatively expensive operation
528 // as it gives the user code a possibility to calculate several of them at
531 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
532 // shouldn't rely on the latter being called for all lines in the interval
533 // specified here. It is also possible that OnGetLineHeight() will be
534 // called for the lines outside of this interval, so this is really just a
535 // hint, not a promise.
537 // finally note that lineMin is inclusive, while lineMax is exclusive, as
539 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
542 // when the number of lines changes, we try to estimate the total height
543 // of all lines which is a rather expensive operation in terms of lines
544 // access, so if the user code may estimate the average height
545 // better/faster than we do, it should override this function to implement
548 // this function should return the best guess for the total height it may
550 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
553 // Also expose some other interesting protected methods
556 // find the index of the line we need to show at the top of the window such
557 // that the last (fully or partially) visible line is the given one
558 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
559 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
561 // get the total height of the lines between lineMin (inclusive) and
562 // lineMax (exclusive)
563 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
564 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
570 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
572 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
573 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
574 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
577 SWIGSTATIC(PyObject
* )
578 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
580 return (value
> (unsigned long)(LONG_MAX
)) ?
581 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
585 #include <wx/vlbox.h>
587 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
589 class wxPyVListBox
: public wxVListBox
591 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
593 wxPyVListBox() : wxVListBox() {}
595 wxPyVListBox(wxWindow
*parent
,
596 wxWindowID id
= wxID_ANY
,
597 const wxPoint
& pos
= wxDefaultPosition
,
598 const wxSize
& size
= wxDefaultSize
,
600 const wxString
& name
= wxPyVListBoxNameStr
)
601 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
604 // Overridable virtuals
606 // the derived class must implement this function to actually draw the item
607 // with the given index on the provided DC
608 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
609 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
612 // the derived class must implement this method to return the height of the
614 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
615 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
618 // this method may be used to draw separators between the lines; note that
619 // the rectangle may be modified, typically to deflate it a bit before
620 // passing to OnDrawItem()
622 // the base class version doesn't do anything
623 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
624 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
627 // this method is used to draw the items background and, maybe, a border
630 // the base class version implements a reasonable default behaviour which
631 // consists in drawing the selected item with the standard background
632 // colour and drawing a border around the item if it is either selected or
634 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
635 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
641 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
643 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
644 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
645 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
646 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
650 #include <wx/htmllbox.h>
653 class wxPyHtmlListBox
: public wxHtmlListBox
655 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
657 wxPyHtmlListBox() : wxHtmlListBox() {}
659 wxPyHtmlListBox(wxWindow
*parent
,
660 wxWindowID id
= wxID_ANY
,
661 const wxPoint
& pos
= wxDefaultPosition
,
662 const wxSize
& size
= wxDefaultSize
,
664 const wxString
& name
= wxPyVListBoxNameStr
)
665 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
668 // Overridable virtuals
670 // this method must be implemented in the derived class and should return
671 // the body (i.e. without <html>) of the HTML for the given item
672 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
674 // this function may be overridden to decorate HTML returned by OnGetItem()
675 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
678 // // this method allows to customize the selection appearance: it may be used
679 // // to specify the colour of the text which normally has the given colour
680 // // colFg when it is inside the selection
682 // // by default, the original colour is not used at all and all text has the
683 // // same (default for this system) colour inside selection
684 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
686 // // this is the same as GetSelectedTextColour() but allows to customize the
687 // // background colour -- this is even more rarely used as you can change it
688 // // globally using SetSelectionBackground()
689 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
696 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
698 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
699 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
706 // implement dummy classes and such for wxMac
708 class wxTaskBarIcon
: public wxEvtHandler
711 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
715 class wxTaskBarIconEvent
: public wxEvent
718 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
719 { wxPyRaiseNotImplemented(); }
720 virtual wxEvent
* Clone() const { return NULL
; }
724 wxEVT_TASKBAR_MOVE
= 0,
725 wxEVT_TASKBAR_LEFT_DOWN
= 0,
726 wxEVT_TASKBAR_LEFT_UP
= 0,
727 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
728 wxEVT_TASKBAR_RIGHT_UP
= 0,
729 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
730 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
734 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
735 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
736 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
737 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
738 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
739 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
740 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
742 self
->GetFilenames(arr
);
743 return wxArrayString2PyList_helper(arr
);
745 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
748 return wxArrayString2PyList_helper(arr
);
750 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
751 return wxArrayInt2PyList_helper(self
->GetSelections());
753 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
754 return new wxSingleChoiceDialog(parent
, message
, caption
,
755 choices
, choices_array
, NULL
, style
, pos
);
760 // C++ version of Python aware wxWindow
761 class wxPyWindow
: public wxWindow
763 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
765 wxPyWindow() : wxWindow() {}
766 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
767 const wxPoint
& pos
= wxDefaultPosition
,
768 const wxSize
& size
= wxDefaultSize
,
770 const wxString
& name
= wxPyPanelNameStr
)
771 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
774 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
775 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
776 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
777 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
779 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
780 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
781 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
783 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
784 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
786 DEC_PYCALLBACK__(InitDialog
);
787 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
788 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
789 DEC_PYCALLBACK_BOOL_(Validate
);
791 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
792 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
793 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
795 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
796 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
801 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
803 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
804 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
805 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
806 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
808 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
809 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
810 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
812 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
815 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
816 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
817 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
818 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
820 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
821 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
822 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
824 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
825 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
828 // C++ version of Python aware wxPanel
829 class wxPyPanel
: public wxPanel
831 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
833 wxPyPanel() : wxPanel() {}
834 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
835 const wxPoint
& pos
= wxDefaultPosition
,
836 const wxSize
& size
= wxDefaultSize
,
838 const wxString
& name
= wxPyPanelNameStr
)
839 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
842 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
843 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
844 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
845 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
847 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
848 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
849 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
851 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
852 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
854 DEC_PYCALLBACK__(InitDialog
);
855 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
856 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
857 DEC_PYCALLBACK_BOOL_(Validate
);
859 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
860 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
861 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
863 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
864 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
869 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
871 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
872 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
873 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
874 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
876 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
877 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
878 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
880 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
883 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
884 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
885 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
886 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
888 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
889 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
890 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
892 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
893 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
897 #include "wx/wxPython/printfw.h"
900 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
901 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
905 // Since this one would be tough and ugly to do with the Macros...
906 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
910 wxPyBeginBlockThreads();
911 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
912 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
913 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
916 val
= PyTuple_GetItem(result
, 0);
917 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
920 val
= PyTuple_GetItem(result
, 1);
921 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
924 val
= PyTuple_GetItem(result
, 2);
925 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
928 val
= PyTuple_GetItem(result
, 3);
929 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
936 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
941 wxPyEndBlockThreads();
943 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
946 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
947 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
951 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
952 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
953 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
954 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
955 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
956 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
957 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
963 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
964 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
965 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
968 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
969 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
972 wxPyBeginBlockThreads(); \
973 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
974 PyObject* win = wxPyMake_wxObject(a); \
975 PyObject* dc = wxPyMake_wxObject(&b); \
976 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
980 wxPyEndBlockThreads(); \
982 rval = PCLASS::CBNAME(a, b); \
985 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
986 return PCLASS::CBNAME(a, b); \
992 class wxPyPrintPreview
: public wxPrintPreview
994 DECLARE_CLASS(wxPyPrintPreview
)
996 wxPyPrintPreview(wxPyPrintout
* printout
,
997 wxPyPrintout
* printoutForPrinting
,
998 wxPrintData
* data
=NULL
)
999 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1002 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1003 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1004 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1005 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1006 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1007 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1008 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1013 // Stupid renamed classes... Fix this in 2.5...
1014 #if defined(__WXMSW__)
1015 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1016 #elif defined(__WXMAC__)
1017 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1019 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1022 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1023 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1024 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1025 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1026 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1027 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1028 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1031 class wxPyPreviewFrame
: public wxPreviewFrame
1033 DECLARE_CLASS(wxPyPreviewFrame
);
1035 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1036 const wxString
& title
,
1037 const wxPoint
& pos
= wxDefaultPosition
,
1038 const wxSize
& size
= wxDefaultSize
,
1039 long style
= wxDEFAULT_FRAME_STYLE
,
1040 const wxString
& name
= wxPyFrameNameStr
)
1041 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1044 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1045 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1047 DEC_PYCALLBACK_VOID_(Initialize
);
1048 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1049 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1054 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1056 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1057 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1058 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1061 class wxPyPreviewControlBar
: public wxPreviewControlBar
1063 DECLARE_CLASS(wxPyPreviewControlBar
);
1065 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1068 const wxPoint
& pos
= wxDefaultPosition
,
1069 const wxSize
& size
= wxDefaultSize
,
1071 const wxString
& name
= wxPyPanelNameStr
)
1072 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1075 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1077 DEC_PYCALLBACK_VOID_(CreateButtons
);
1078 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1083 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1084 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1085 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1090 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxWindow
*arg1
= (wxWindow
*) 0 ;
1093 int arg2
= (int) (int)-1 ;
1094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1098 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1099 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1100 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1104 bool temp6
= False
;
1105 PyObject
* obj0
= 0 ;
1106 PyObject
* obj1
= 0 ;
1107 PyObject
* obj2
= 0 ;
1108 PyObject
* obj3
= 0 ;
1109 PyObject
* obj4
= 0 ;
1110 PyObject
* obj5
= 0 ;
1112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1119 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1120 if (PyErr_Occurred()) SWIG_fail
;
1126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1137 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1143 arg6
= wxString_in_helper(obj5
);
1144 if (arg6
== NULL
) SWIG_fail
;
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1170 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 result
= (wxPanel
*)new wxPanel();
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) SWIG_fail
;
1185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1192 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxPanel
*arg1
= (wxPanel
*) 0 ;
1195 wxWindow
*arg2
= (wxWindow
*) 0 ;
1197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1201 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1202 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1207 bool temp7
= False
;
1208 PyObject
* obj0
= 0 ;
1209 PyObject
* obj1
= 0 ;
1210 PyObject
* obj2
= 0 ;
1211 PyObject
* obj3
= 0 ;
1212 PyObject
* obj4
= 0 ;
1213 PyObject
* obj5
= 0 ;
1214 PyObject
* obj6
= 0 ;
1216 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1223 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1246 arg7
= wxString_in_helper(obj6
);
1247 if (arg7
== NULL
) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1273 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxPanel
*arg1
= (wxPanel
*) 0 ;
1276 PyObject
* obj0
= 0 ;
1278 (char *) "self", NULL
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 (arg1
)->InitDialog();
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 Py_INCREF(Py_None
); resultobj
= Py_None
;
1297 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1300 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1302 return Py_BuildValue((char *)"");
1304 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1306 wxWindow
*arg1
= (wxWindow
*) 0 ;
1307 int arg2
= (int) (int)-1 ;
1308 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1309 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1310 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1311 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1312 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1313 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1314 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1315 wxScrolledWindow
*result
;
1318 bool temp6
= False
;
1319 PyObject
* obj0
= 0 ;
1320 PyObject
* obj1
= 0 ;
1321 PyObject
* obj2
= 0 ;
1322 PyObject
* obj3
= 0 ;
1323 PyObject
* obj4
= 0 ;
1324 PyObject
* obj5
= 0 ;
1326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1340 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1346 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1351 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1357 arg6
= wxString_in_helper(obj5
);
1358 if (arg6
== NULL
) SWIG_fail
;
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1384 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxScrolledWindow
*result
;
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1406 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1409 wxWindow
*arg2
= (wxWindow
*) 0 ;
1410 int arg3
= (int) (int)-1 ;
1411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1415 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1416 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1421 bool temp7
= False
;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1424 PyObject
* obj2
= 0 ;
1425 PyObject
* obj3
= 0 ;
1426 PyObject
* obj4
= 0 ;
1427 PyObject
* obj5
= 0 ;
1428 PyObject
* obj6
= 0 ;
1430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1438 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1456 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1462 arg7
= wxString_in_helper(obj6
);
1463 if (arg7
== NULL
) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1489 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
*resultobj
;
1491 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1496 int arg6
= (int) 0 ;
1497 int arg7
= (int) 0 ;
1498 bool arg8
= (bool) False
;
1499 PyObject
* obj0
= 0 ;
1500 PyObject
* obj1
= 0 ;
1501 PyObject
* obj2
= 0 ;
1502 PyObject
* obj3
= 0 ;
1503 PyObject
* obj4
= 0 ;
1504 PyObject
* obj5
= 0 ;
1505 PyObject
* obj6
= 0 ;
1506 PyObject
* obj7
= 0 ;
1508 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1526 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1531 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1537 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1543 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 Py_INCREF(Py_None
); resultobj
= Py_None
;
1561 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1568 PyObject
* obj2
= 0 ;
1570 (char *) "self",(char *) "x",(char *) "y", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 (arg1
)->Scroll(arg2
,arg3
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1605 (char *) "self",(char *) "orient", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= SWIG_PyObj_FromInt((int)result
);
1628 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1633 PyObject
* obj0
= 0 ;
1634 PyObject
* obj1
= 0 ;
1635 PyObject
* obj2
= 0 ;
1637 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 Py_INCREF(Py_None
); resultobj
= Py_None
;
1664 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1671 PyObject
* obj2
= 0 ;
1673 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1679 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 (arg1
)->SetScrollRate(arg2
,arg3
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1703 int *arg2
= (int *) 0 ;
1704 int *arg3
= (int *) 0 ;
1707 PyObject
* obj0
= 0 ;
1709 (char *) "self", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1725 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1726 resultobj
= t_output_helper(resultobj
,o
);
1729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1730 resultobj
= t_output_helper(resultobj
,o
);
1738 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1745 PyObject
* obj2
= 0 ;
1747 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1753 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1757 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->EnableScrolling(arg2
,arg3
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1777 int *arg2
= (int *) 0 ;
1778 int *arg3
= (int *) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1799 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1800 resultobj
= t_output_helper(resultobj
,o
);
1803 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1804 resultobj
= t_output_helper(resultobj
,o
);
1812 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1818 PyObject
* obj1
= 0 ;
1819 PyObject
* obj2
= 0 ;
1821 (char *) "self",(char *) "xs",(char *) "ys", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1831 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetScale(arg2
,arg3
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1873 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1898 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1899 PyObject
*resultobj
;
1900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1905 PyObject
* obj1
= 0 ;
1907 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 wxPoint
* resultptr
;
1922 resultptr
= new wxPoint((wxPoint
&) result
);
1923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1931 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1932 PyObject
*resultobj
;
1933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1936 int *arg4
= (int *) 0 ;
1937 int *arg5
= (int *) 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1942 PyObject
* obj2
= 0 ;
1946 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1953 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 Py_INCREF(Py_None
); resultobj
= Py_None
;
1965 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1966 resultobj
= t_output_helper(resultobj
,o
);
1969 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1970 resultobj
= t_output_helper(resultobj
,o
);
1978 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1983 argc
= PyObject_Length(args
);
1984 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1985 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1991 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2000 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2003 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2011 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2020 SWIG_PyObj_AsInt(argv
[1]);
2021 if (PyErr_Occurred()) {
2030 SWIG_PyObj_AsInt(argv
[2]);
2031 if (PyErr_Occurred()) {
2039 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2045 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2050 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2051 PyObject
*resultobj
;
2052 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2056 PyObject
* obj0
= 0 ;
2057 PyObject
* obj1
= 0 ;
2059 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2073 wxPoint
* resultptr
;
2074 resultptr
= new wxPoint((wxPoint
&) result
);
2075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2083 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2084 PyObject
*resultobj
;
2085 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2088 int *arg4
= (int *) 0 ;
2089 int *arg5
= (int *) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2094 PyObject
* obj2
= 0 ;
2098 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2101 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2105 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2118 resultobj
= t_output_helper(resultobj
,o
);
2121 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2122 resultobj
= t_output_helper(resultobj
,o
);
2130 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2135 argc
= PyObject_Length(args
);
2136 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2137 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2143 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2152 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2155 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2163 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2172 SWIG_PyObj_AsInt(argv
[1]);
2173 if (PyErr_Occurred()) {
2182 SWIG_PyObj_AsInt(argv
[2]);
2183 if (PyErr_Occurred()) {
2191 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2197 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2202 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 (arg1
)->AdjustScrollbars();
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 Py_INCREF(Py_None
); resultobj
= Py_None
;
2226 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2229 wxScrollWinEvent
*arg2
= 0 ;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2234 (char *) "self",(char *) "event", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= SWIG_PyObj_FromInt((int)result
);
2257 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2260 wxWindow
*arg2
= (wxWindow
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "target", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetTargetWindow(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "self", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= wxPyMake_wxObject(result
);
2311 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2317 PyObject
* obj1
= 0 ;
2319 (char *) "self",(char *) "rect", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2326 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 Py_INCREF(Py_None
); resultobj
= Py_None
;
2342 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2346 PyObject
* obj0
= 0 ;
2348 (char *) "self", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2362 resultptr
= new wxRect((wxRect
&) result
);
2363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2371 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2374 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2376 return Py_BuildValue((char *)"");
2378 static int _wrap_FrameNameStr_set(PyObject
*) {
2379 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2384 static PyObject
*_wrap_FrameNameStr_get() {
2389 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2391 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2398 static int _wrap_DialogNameStr_set(PyObject
*) {
2399 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2404 static PyObject
*_wrap_DialogNameStr_get() {
2409 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2411 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2418 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2419 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2424 static PyObject
*_wrap_StatusLineNameStr_get() {
2429 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2431 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2438 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2439 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2444 static PyObject
*_wrap_ToolBarNameStr_get() {
2449 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2451 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2458 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2461 bool arg2
= (bool) True
;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "maximize", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2472 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 (arg1
)->Maximize(arg2
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 Py_INCREF(Py_None
); resultobj
= Py_None
;
2490 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2493 PyObject
* obj0
= 0 ;
2495 (char *) "self", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 Py_INCREF(Py_None
); resultobj
= Py_None
;
2514 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2517 bool arg2
= (bool) True
;
2518 PyObject
* obj0
= 0 ;
2519 PyObject
* obj1
= 0 ;
2521 (char *) "self",(char *) "iconize", NULL
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2528 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 (arg1
)->Iconize(arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2552 (char *) "self", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2571 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2577 (char *) "self", NULL
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2596 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2600 PyObject
* obj0
= 0 ;
2602 (char *) "self", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2616 resultptr
= new wxIcon((wxIcon
&) result
);
2617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2625 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2632 (char *) "self",(char *) "icon", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2658 wxIconBundle
*arg2
= 0 ;
2659 PyObject
* obj0
= 0 ;
2660 PyObject
* obj1
= 0 ;
2662 (char *) "self",(char *) "icons", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 Py_INCREF(Py_None
); resultobj
= Py_None
;
2685 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2689 long arg3
= (long) wxFULLSCREEN_ALL
;
2691 PyObject
* obj0
= 0 ;
2692 PyObject
* obj1
= 0 ;
2693 PyObject
* obj2
= 0 ;
2695 (char *) "self",(char *) "show",(char *) "style", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2706 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2724 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2749 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2752 wxString
*arg2
= 0 ;
2753 bool temp2
= False
;
2754 PyObject
* obj0
= 0 ;
2755 PyObject
* obj1
= 0 ;
2757 (char *) "self",(char *) "title", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2763 arg2
= wxString_in_helper(obj1
);
2764 if (arg2
== NULL
) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 (arg1
)->SetTitle((wxString
const &)*arg2
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2789 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2791 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2793 PyObject
* obj0
= 0 ;
2795 (char *) "self", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2820 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2823 wxRegion
*arg2
= 0 ;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2828 (char *) "self",(char *) "region", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2851 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2854 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2856 return Py_BuildValue((char *)"");
2858 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxWindow
*arg1
= (wxWindow
*) 0 ;
2862 wxString
*arg3
= 0 ;
2863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2865 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2866 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2867 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2868 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2869 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2871 bool temp3
= False
;
2874 bool temp7
= False
;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2877 PyObject
* obj2
= 0 ;
2878 PyObject
* obj3
= 0 ;
2879 PyObject
* obj4
= 0 ;
2880 PyObject
* obj5
= 0 ;
2881 PyObject
* obj6
= 0 ;
2883 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2889 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2893 arg3
= wxString_in_helper(obj2
);
2894 if (arg3
== NULL
) SWIG_fail
;
2900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2911 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2917 arg7
= wxString_in_helper(obj6
);
2918 if (arg7
== NULL
) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 resultobj
= wxPyMake_wxObject(result
);
2954 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (wxFrame
*)new wxFrame();
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= wxPyMake_wxObject(result
);
2978 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxFrame
*arg1
= (wxFrame
*) 0 ;
2981 wxWindow
*arg2
= (wxWindow
*) 0 ;
2983 wxString
*arg4
= 0 ;
2984 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2985 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2986 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2987 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2988 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2989 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2990 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2992 bool temp4
= False
;
2995 bool temp8
= False
;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2998 PyObject
* obj2
= 0 ;
2999 PyObject
* obj3
= 0 ;
3000 PyObject
* obj4
= 0 ;
3001 PyObject
* obj5
= 0 ;
3002 PyObject
* obj6
= 0 ;
3003 PyObject
* obj7
= 0 ;
3005 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 arg4
= wxString_in_helper(obj3
);
3017 if (arg4
== NULL
) SWIG_fail
;
3023 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3029 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3034 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3040 arg8
= wxString_in_helper(obj7
);
3041 if (arg8
== NULL
) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3075 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxFrame
*arg1
= (wxFrame
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 wxPoint
* resultptr
;
3095 resultptr
= new wxPoint((wxPoint
&) result
);
3096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3104 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxFrame
*arg1
= (wxFrame
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 (arg1
)->SendSizeEvent();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxFrame
*arg1
= (wxFrame
*) 0 ;
3131 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3133 PyObject
* obj1
= 0 ;
3135 (char *) "self",(char *) "menubar", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 (arg1
)->SetMenuBar(arg2
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 Py_INCREF(Py_None
); resultobj
= Py_None
;
3155 static PyObject
*_wrap_Frame_GetMenuBar(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_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= wxPyMake_wxObject(result
);
3182 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxFrame
*arg1
= (wxFrame
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3190 (char *) "self",(char *) "winid", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3213 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 int arg2
= (int) 1 ;
3217 long arg3
= (long) wxST_SIZEGRIP
;
3218 int arg4
= (int) 0 ;
3219 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3220 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3221 wxStatusBar
*result
;
3222 bool temp5
= False
;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3225 PyObject
* obj2
= 0 ;
3226 PyObject
* obj3
= 0 ;
3227 PyObject
* obj4
= 0 ;
3229 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3236 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3242 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3248 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3254 arg5
= wxString_in_helper(obj4
);
3255 if (arg5
== NULL
) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= wxPyMake_wxObject(result
);
3283 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxFrame
*arg1
= (wxFrame
*) 0 ;
3286 wxStatusBar
*result
;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= wxPyMake_wxObject(result
);
3310 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxFrame
*arg1
= (wxFrame
*) 0 ;
3313 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3315 PyObject
* obj1
= 0 ;
3317 (char *) "self",(char *) "statBar", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 (arg1
)->SetStatusBar(arg2
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxFrame
*arg1
= (wxFrame
*) 0 ;
3340 wxString
*arg2
= 0 ;
3341 int arg3
= (int) 0 ;
3342 bool temp2
= False
;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3345 PyObject
* obj2
= 0 ;
3347 (char *) "self",(char *) "text",(char *) "number", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3353 arg2
= wxString_in_helper(obj1
);
3354 if (arg2
== NULL
) SWIG_fail
;
3359 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxFrame
*arg1
= (wxFrame
*) 0 ;
3389 int *arg3
= (int *) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3393 (char *) "self",(char *) "widths", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3399 arg2
= PyList_Size(obj1
);
3400 arg3
= int_LIST_helper(obj1
);
3401 if (arg3
== NULL
) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 if (arg3
) delete [] arg3
;
3417 if (arg3
) delete [] arg3
;
3423 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxFrame
*arg1
= (wxFrame
*) 0 ;
3426 wxString
*arg2
= 0 ;
3427 int arg3
= (int) 0 ;
3428 bool temp2
= False
;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3433 (char *) "self",(char *) "text",(char *) "number", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3439 arg2
= wxString_in_helper(obj1
);
3440 if (arg2
== NULL
) SWIG_fail
;
3445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3471 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxFrame
*arg1
= (wxFrame
*) 0 ;
3474 int arg2
= (int) 0 ;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3478 (char *) "self",(char *) "number", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 (arg1
)->PopStatusText(arg2
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxFrame
*arg1
= (wxFrame
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "n", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 (arg1
)->SetStatusBarPane(arg2
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxFrame
*arg1
= (wxFrame
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3539 (char *) "self", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= SWIG_PyObj_FromInt((int)result
);
3558 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxFrame
*arg1
= (wxFrame
*) 0 ;
3561 long arg2
= (long) -1 ;
3562 int arg3
= (int) -1 ;
3563 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3566 bool temp4
= False
;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3569 PyObject
* obj2
= 0 ;
3570 PyObject
* obj3
= 0 ;
3572 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3585 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3591 arg4
= wxString_in_helper(obj3
);
3592 if (arg4
== NULL
) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= wxPyMake_wxObject(result
);
3620 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= wxPyMake_wxObject(result
);
3647 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxFrame
*arg1
= (wxFrame
*) 0 ;
3650 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "toolbar", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 (arg1
)->SetToolBar(arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 Py_INCREF(Py_None
); resultobj
= Py_None
;
3674 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxFrame
*arg1
= (wxFrame
*) 0 ;
3677 wxString
*arg2
= 0 ;
3679 bool temp2
= False
;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3682 PyObject
* obj2
= 0 ;
3684 (char *) "self",(char *) "text",(char *) "show", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3690 arg2
= wxString_in_helper(obj1
);
3691 if (arg2
== NULL
) SWIG_fail
;
3695 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxFrame
*arg1
= (wxFrame
*) 0 ;
3723 wxMenu
*arg2
= (wxMenu
*) NULL
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "self",(char *) "menu", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 (arg1
)->DoMenuUpdates(arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3749 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3754 return Py_BuildValue((char *)"");
3756 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxWindow
*arg1
= (wxWindow
*) 0 ;
3760 wxString
*arg3
= 0 ;
3761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3765 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3766 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3769 bool temp3
= False
;
3772 bool temp7
= False
;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 PyObject
* obj6
= 0 ;
3781 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 arg3
= wxString_in_helper(obj2
);
3792 if (arg3
== NULL
) SWIG_fail
;
3798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3809 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3815 arg7
= wxString_in_helper(obj6
);
3816 if (arg7
== NULL
) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3850 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (wxDialog
*)new wxDialog();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3872 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxDialog
*arg1
= (wxDialog
*) 0 ;
3875 wxWindow
*arg2
= (wxWindow
*) 0 ;
3877 wxString
*arg4
= 0 ;
3878 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3879 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3880 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3881 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3882 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3883 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3884 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3886 bool temp4
= False
;
3889 bool temp8
= False
;
3890 PyObject
* obj0
= 0 ;
3891 PyObject
* obj1
= 0 ;
3892 PyObject
* obj2
= 0 ;
3893 PyObject
* obj3
= 0 ;
3894 PyObject
* obj4
= 0 ;
3895 PyObject
* obj5
= 0 ;
3896 PyObject
* obj6
= 0 ;
3897 PyObject
* obj7
= 0 ;
3899 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3906 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 arg4
= wxString_in_helper(obj3
);
3911 if (arg4
== NULL
) SWIG_fail
;
3917 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3928 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3934 arg8
= wxString_in_helper(obj7
);
3935 if (arg8
== NULL
) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3969 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxDialog
*arg1
= (wxDialog
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "returnCode", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3982 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetReturnCode(arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxDialog
*arg1
= (wxDialog
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_PyObj_FromInt((int)result
);
4024 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxDialog
*arg1
= (wxDialog
*) 0 ;
4027 wxString
*arg2
= 0 ;
4029 bool temp2
= False
;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4033 (char *) "self",(char *) "message", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4039 arg2
= wxString_in_helper(obj1
);
4040 if (arg2
== NULL
) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= wxPyMake_wxSizer(result
);
4067 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxDialog
*arg1
= (wxDialog
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 (char *) "self",(char *) "flags", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4081 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= wxPyMake_wxSizer(result
);
4100 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxDialog
*arg1
= (wxDialog
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "self", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4125 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxDialog
*arg1
= (wxDialog
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "self", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (int)(arg1
)->ShowModal();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_PyObj_FromInt((int)result
);
4150 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxDialog
*arg1
= (wxDialog
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4155 PyObject
* obj1
= 0 ;
4157 (char *) "self",(char *) "retCode", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4163 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 (arg1
)->EndModal(arg2
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 Py_INCREF(Py_None
); resultobj
= Py_None
;
4180 static PyObject
*_wrap_Dialog_IsModalShowing(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_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (bool)wxDialog_IsModalShowing(arg1
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4205 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4208 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4210 return Py_BuildValue((char *)"");
4212 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxWindow
*arg1
= (wxWindow
*) 0 ;
4216 wxString
*arg3
= 0 ;
4217 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4218 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4219 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4220 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4221 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4222 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4223 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4224 wxMiniFrame
*result
;
4225 bool temp3
= False
;
4228 bool temp7
= False
;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj2
= 0 ;
4232 PyObject
* obj3
= 0 ;
4233 PyObject
* obj4
= 0 ;
4234 PyObject
* obj5
= 0 ;
4235 PyObject
* obj6
= 0 ;
4237 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4243 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 arg3
= wxString_in_helper(obj2
);
4248 if (arg3
== NULL
) SWIG_fail
;
4254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4265 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4271 arg7
= wxString_in_helper(obj6
);
4272 if (arg7
== NULL
) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4306 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxMiniFrame
*result
;
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 result
= (wxMiniFrame
*)new wxMiniFrame();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4328 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4331 wxWindow
*arg2
= (wxWindow
*) 0 ;
4333 wxString
*arg4
= 0 ;
4334 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4335 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4336 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4337 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4338 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4339 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4340 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4342 bool temp4
= False
;
4345 bool temp8
= False
;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4348 PyObject
* obj2
= 0 ;
4349 PyObject
* obj3
= 0 ;
4350 PyObject
* obj4
= 0 ;
4351 PyObject
* obj5
= 0 ;
4352 PyObject
* obj6
= 0 ;
4353 PyObject
* obj7
= 0 ;
4355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4366 arg4
= wxString_in_helper(obj3
);
4367 if (arg4
== NULL
) SWIG_fail
;
4373 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4379 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4384 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4390 arg8
= wxString_in_helper(obj7
);
4391 if (arg8
== NULL
) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4425 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4428 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4430 return Py_BuildValue((char *)"");
4432 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxBitmap
*arg1
= 0 ;
4435 wxWindow
*arg2
= (wxWindow
*) 0 ;
4437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4441 long arg6
= (long) wxNO_BORDER
;
4442 wxSplashScreenWindow
*result
;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 PyObject
* obj2
= 0 ;
4448 PyObject
* obj3
= 0 ;
4449 PyObject
* obj4
= 0 ;
4450 PyObject
* obj5
= 0 ;
4452 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4462 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4479 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4497 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4500 wxBitmap
*arg2
= 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4504 (char *) "self",(char *) "bitmap", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4542 result
= (wxBitmap
*) &_result_ref
;
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4555 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4558 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4560 return Py_BuildValue((char *)"");
4562 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxBitmap
*arg1
= 0 ;
4567 wxWindow
*arg4
= (wxWindow
*) 0 ;
4569 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4570 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4571 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4572 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4573 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4574 wxSplashScreen
*result
;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4579 PyObject
* obj2
= 0 ;
4580 PyObject
* obj3
= 0 ;
4581 PyObject
* obj4
= 0 ;
4582 PyObject
* obj5
= 0 ;
4583 PyObject
* obj6
= 0 ;
4584 PyObject
* obj7
= 0 ;
4586 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4595 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4604 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4610 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4616 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4621 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4639 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_PyObj_FromLong((long)result
);
4664 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4667 wxSplashScreenWindow
*result
;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4689 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "self", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_PyObj_FromInt((int)result
);
4714 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4717 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4719 return Py_BuildValue((char *)"");
4721 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxWindow
*arg1
= (wxWindow
*) 0 ;
4724 int arg2
= (int) -1 ;
4725 long arg3
= (long) wxST_SIZEGRIP
;
4726 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4728 wxStatusBar
*result
;
4729 bool temp4
= False
;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4732 PyObject
* obj2
= 0 ;
4733 PyObject
* obj3
= 0 ;
4735 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4742 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4748 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4754 arg4
= wxString_in_helper(obj3
);
4755 if (arg4
== NULL
) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= wxPyMake_wxObject(result
);
4783 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxStatusBar
*result
;
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (wxStatusBar
*)new wxStatusBar();
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4799 resultobj
= wxPyMake_wxObject(result
);
4807 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4810 wxWindow
*arg2
= (wxWindow
*) 0 ;
4812 long arg4
= (long) wxST_SIZEGRIP
;
4813 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4814 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4816 bool temp5
= False
;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 PyObject
* obj2
= 0 ;
4820 PyObject
* obj3
= 0 ;
4821 PyObject
* obj4
= 0 ;
4823 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4830 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4835 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4841 arg5
= wxString_in_helper(obj4
);
4842 if (arg5
== NULL
) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4868 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4871 int arg2
= (int) 1 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "number", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetFieldsCount(arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_PyObj_FromInt((int)result
);
4925 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4928 wxString
*arg2
= 0 ;
4929 int arg3
= (int) 0 ;
4930 bool temp2
= False
;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4933 PyObject
* obj2
= 0 ;
4935 (char *) "self",(char *) "text",(char *) "number", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 arg2
= wxString_in_helper(obj1
);
4942 if (arg2
== NULL
) SWIG_fail
;
4947 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4976 int arg2
= (int) 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4981 (char *) "self",(char *) "number", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5012 static PyObject
*_wrap_StatusBar_PushStatusText(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_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5028 arg2
= wxString_in_helper(obj1
);
5029 if (arg2
== NULL
) SWIG_fail
;
5034 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5063 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_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5074 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->PopStatusText(arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 Py_INCREF(Py_None
); resultobj
= Py_None
;
5092 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5096 int *arg3
= (int *) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "widths", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5106 arg2
= PyList_Size(obj1
);
5107 arg3
= int_LIST_helper(obj1
);
5108 if (arg3
== NULL
) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5119 if (arg3
) delete [] arg3
;
5124 if (arg3
) delete [] arg3
;
5130 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5138 (char *) "self",(char *) "i", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5156 resultptr
= new wxRect((wxRect
&) result
);
5157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5165 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "height", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->SetMinHeight(arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_PyObj_FromInt((int)result
);
5220 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_PyObj_FromInt((int)result
);
5245 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5248 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5250 return Py_BuildValue((char *)"");
5252 static int _wrap_SplitterNameStr_set(PyObject
*) {
5253 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5258 static PyObject
*_wrap_SplitterNameStr_get() {
5263 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5265 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5272 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxWindow
*arg1
= (wxWindow
*) 0 ;
5276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5278 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5279 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5280 long arg5
= (long) wxSP_3D
;
5281 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5283 wxSplitterWindow
*result
;
5286 bool temp6
= False
;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5290 PyObject
* obj3
= 0 ;
5291 PyObject
* obj4
= 0 ;
5292 PyObject
* obj5
= 0 ;
5294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5312 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5317 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5323 arg6
= wxString_in_helper(obj5
);
5324 if (arg6
== NULL
) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5350 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxSplitterWindow
*result
;
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5372 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5375 wxWindow
*arg2
= (wxWindow
*) 0 ;
5377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5381 long arg6
= (long) wxSP_3D
;
5382 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5387 bool temp7
= False
;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 PyObject
* obj2
= 0 ;
5391 PyObject
* obj3
= 0 ;
5392 PyObject
* obj4
= 0 ;
5393 PyObject
* obj5
= 0 ;
5394 PyObject
* obj6
= 0 ;
5396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5403 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5420 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5426 arg7
= wxString_in_helper(obj6
);
5427 if (arg7
== NULL
) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5453 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5459 (char *) "self", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= wxPyMake_wxObject(result
);
5480 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= wxPyMake_wxObject(result
);
5507 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "mode", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5520 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetSplitMode(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_PyObj_FromInt((int)result
);
5562 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5565 wxWindow
*arg2
= (wxWindow
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "window", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 (arg1
)->Initialize(arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5592 wxWindow
*arg2
= (wxWindow
*) 0 ;
5593 wxWindow
*arg3
= (wxWindow
*) 0 ;
5594 int arg4
= (int) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5598 PyObject
* obj2
= 0 ;
5599 PyObject
* obj3
= 0 ;
5601 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5607 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5610 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5628 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5631 wxWindow
*arg2
= (wxWindow
*) 0 ;
5632 wxWindow
*arg3
= (wxWindow
*) 0 ;
5633 int arg4
= (int) 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5638 PyObject
* obj3
= 0 ;
5640 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5649 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5667 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5670 wxWindow
*arg2
= (wxWindow
*) NULL
;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5675 (char *) "self",(char *) "toRemove", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (bool)(arg1
)->Unsplit(arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5697 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5700 wxWindow
*arg2
= (wxWindow
*) 0 ;
5701 wxWindow
*arg3
= (wxWindow
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5705 PyObject
* obj2
= 0 ;
5707 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5728 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5732 PyObject
* obj0
= 0 ;
5734 (char *) "self", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5753 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5760 (char *) "self",(char *) "width", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->SetSashSize(arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5790 (char *) "self",(char *) "width", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5796 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->SetBorderSize(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_PyObj_FromInt((int)result
);
5838 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= SWIG_PyObj_FromInt((int)result
);
5863 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5867 bool arg3
= (bool) True
;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 PyObject
* obj2
= 0 ;
5872 (char *) "self",(char *) "position",(char *) "redraw", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5878 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 (arg1
)->SetSashPosition(arg2
,arg3
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_PyObj_FromInt((int)result
);
5926 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5933 (char *) "self",(char *) "min", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 (arg1
)->SetMinimumPaneSize(arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_PyObj_FromInt((int)result
);
5981 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5986 int arg4
= (int) 5 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 PyObject
* obj2
= 0 ;
5991 PyObject
* obj3
= 0 ;
5993 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5999 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6008 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6026 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6031 (char *) "self", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->SizeWindows();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "needUpdating", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6063 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 (arg1
)->SetNeedUpdating(arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6105 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6108 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6110 return Py_BuildValue((char *)"");
6112 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6115 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6116 wxSplitterEvent
*result
;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "type",(char *) "splitter", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6147 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "pos", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->SetSashPosition(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= SWIG_PyObj_FromInt((int)result
);
6202 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= wxPyMake_wxObject(result
);
6229 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_PyObj_FromInt((int)result
);
6254 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "self", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_PyObj_FromInt((int)result
);
6279 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6282 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6284 return Py_BuildValue((char *)"");
6286 static int _wrap_SashNameStr_set(PyObject
*) {
6287 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6292 static PyObject
*_wrap_SashNameStr_get() {
6297 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6299 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6306 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6307 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6312 static PyObject
*_wrap_SashLayoutNameStr_get() {
6317 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6319 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6326 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxWindow
*arg1
= (wxWindow
*) 0 ;
6330 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6331 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6334 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6335 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6336 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6337 wxSashWindow
*result
;
6340 bool temp6
= False
;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6344 PyObject
* obj3
= 0 ;
6345 PyObject
* obj4
= 0 ;
6346 PyObject
* obj5
= 0 ;
6348 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6354 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6366 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6371 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6377 arg6
= wxString_in_helper(obj5
);
6378 if (arg6
== NULL
) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6404 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxSashWindow
*result
;
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (wxSashWindow
*)new wxSashWindow();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6426 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6429 wxWindow
*arg2
= (wxWindow
*) 0 ;
6431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6435 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6436 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6441 bool temp7
= False
;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6444 PyObject
* obj2
= 0 ;
6445 PyObject
* obj3
= 0 ;
6446 PyObject
* obj4
= 0 ;
6447 PyObject
* obj5
= 0 ;
6448 PyObject
* obj6
= 0 ;
6450 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6457 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6474 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6480 arg7
= wxString_in_helper(obj6
);
6481 if (arg7
== NULL
) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6507 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6514 PyObject
* obj2
= 0 ;
6516 (char *) "self",(char *) "edge",(char *) "sash", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6522 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 Py_INCREF(Py_None
); resultobj
= Py_None
;
6543 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6551 (char *) "self",(char *) "edge", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6557 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6574 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 PyObject
* obj2
= 0 ;
6583 (char *) "self",(char *) "edge",(char *) "border", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6589 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6618 (char *) "self",(char *) "edge", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6624 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6641 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6649 (char *) "self",(char *) "edge", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_PyObj_FromInt((int)result
);
6672 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "width", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 (arg1
)->SetDefaultBorderSize(arg2
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 Py_INCREF(Py_None
); resultobj
= Py_None
;
6702 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6708 (char *) "self", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_PyObj_FromInt((int)result
);
6727 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6734 (char *) "self",(char *) "width", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6740 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 (arg1
)->SetExtraBorderSize(arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_PyObj_FromInt((int)result
);
6782 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6789 (char *) "self",(char *) "min", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6795 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->SetMinimumSizeX(arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "min", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6825 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 (arg1
)->SetMinimumSizeY(arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 Py_INCREF(Py_None
); resultobj
= Py_None
;
6842 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "self", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_PyObj_FromInt((int)result
);
6867 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6873 (char *) "self", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_PyObj_FromInt((int)result
);
6892 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6899 (char *) "self",(char *) "max", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6905 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->SetMaximumSizeX(arg2
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 Py_INCREF(Py_None
); resultobj
= Py_None
;
6922 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6929 (char *) "self",(char *) "max", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 (arg1
)->SetMaximumSizeY(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_PyObj_FromInt((int)result
);
6977 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_PyObj_FromInt((int)result
);
7002 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7007 int arg4
= (int) 2 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7012 PyObject
* obj3
= 0 ;
7014 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7020 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7029 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_PyObj_FromInt((int)result
);
7047 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7052 (char *) "self", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 (arg1
)->SizeWindows();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7076 return Py_BuildValue((char *)"");
7078 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 int arg1
= (int) 0 ;
7081 int arg2
= (int) wxSASH_NONE
;
7082 wxSashEvent
*result
;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "id",(char *) "edge", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7098 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7116 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7123 (char *) "self",(char *) "edge", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 Py_INCREF(Py_None
); resultobj
= Py_None
;
7146 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7152 (char *) "self", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_PyObj_FromInt((int)result
);
7171 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "rect", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7186 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 Py_INCREF(Py_None
); resultobj
= Py_None
;
7202 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7206 PyObject
* obj0
= 0 ;
7208 (char *) "self", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7222 resultptr
= new wxRect((wxRect
&) result
);
7223 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7231 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "status", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7244 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "self", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_PyObj_FromInt((int)result
);
7286 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7289 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7291 return Py_BuildValue((char *)"");
7293 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 int arg1
= (int) 0 ;
7296 wxQueryLayoutInfoEvent
*result
;
7297 PyObject
* obj0
= 0 ;
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7305 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7323 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7330 (char *) "self",(char *) "length", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7336 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetRequestedLength(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_PyObj_FromInt((int)result
);
7378 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "flags", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->SetFlags(arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_PyObj_FromInt((int)result
);
7433 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7441 (char *) "self",(char *) "size", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->SetSize((wxSize
const &)*arg2
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(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_GetSize",kwnames
,&obj0
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7484 resultptr
= new wxSize((wxSize
&) result
);
7485 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7493 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7500 (char *) "self",(char *) "orient", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7506 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_PyObj_FromInt((int)result
);
7548 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7555 (char *) "self",(char *) "align", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7561 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "self", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_PyObj_FromInt((int)result
);
7603 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7606 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7608 return Py_BuildValue((char *)"");
7610 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 int arg1
= (int) 0 ;
7613 wxCalculateLayoutEvent
*result
;
7614 PyObject
* obj0
= 0 ;
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7622 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7640 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "flags", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetFlags(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_PyObj_FromInt((int)result
);
7695 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "self",(char *) "rect", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7710 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 (arg1
)->SetRect((wxRect
const &)*arg2
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7746 resultptr
= new wxRect((wxRect
&) result
);
7747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7755 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7758 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7760 return Py_BuildValue((char *)"");
7762 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxWindow
*arg1
= (wxWindow
*) 0 ;
7766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7770 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7771 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7772 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7773 wxSashLayoutWindow
*result
;
7776 bool temp6
= False
;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7780 PyObject
* obj3
= 0 ;
7781 PyObject
* obj4
= 0 ;
7782 PyObject
* obj5
= 0 ;
7784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7807 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7813 arg6
= wxString_in_helper(obj5
);
7814 if (arg6
== NULL
) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7840 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxSashLayoutWindow
*result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7862 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7865 wxWindow
*arg2
= (wxWindow
*) 0 ;
7867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7871 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7872 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7877 bool temp7
= False
;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7880 PyObject
* obj2
= 0 ;
7881 PyObject
* obj3
= 0 ;
7882 PyObject
* obj4
= 0 ;
7883 PyObject
* obj5
= 0 ;
7884 PyObject
* obj6
= 0 ;
7886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7893 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7910 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7916 arg7
= wxString_in_helper(obj6
);
7917 if (arg7
== NULL
) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7943 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7947 PyObject
* obj0
= 0 ;
7949 (char *) "self", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (int)(arg1
)->GetAlignment();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_PyObj_FromInt((int)result
);
7968 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 (char *) "self", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)(arg1
)->GetOrientation();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_PyObj_FromInt((int)result
);
7993 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "alignment", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8006 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8031 (char *) "self",(char *) "size", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8061 (char *) "self",(char *) "orientation", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8067 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8087 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8089 return Py_BuildValue((char *)"");
8091 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxLayoutAlgorithm
*result
;
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8113 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8140 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8141 wxRect
*arg3
= (wxRect
*) NULL
;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8145 PyObject
* obj2
= 0 ;
8147 (char *) "self",(char *) "frame",(char *) "rect", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8154 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8170 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8173 wxFrame
*arg2
= (wxFrame
*) 0 ;
8174 wxWindow
*arg3
= (wxWindow
*) NULL
;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8178 PyObject
* obj2
= 0 ;
8180 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8187 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8203 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8206 wxWindow
*arg2
= (wxWindow
*) 0 ;
8207 wxWindow
*arg3
= (wxWindow
*) NULL
;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 PyObject
* obj2
= 0 ;
8213 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8220 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8236 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8239 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8241 return Py_BuildValue((char *)"");
8243 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxWindow
*arg1
= (wxWindow
*) 0 ;
8246 int arg2
= (int) wxBORDER_NONE
;
8247 wxPopupWindow
*result
;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8251 (char *) "parent",(char *) "flags", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8258 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8276 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxPopupWindow
*result
;
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (wxPopupWindow
*)new wxPopupWindow();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8298 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8301 wxWindow
*arg2
= (wxWindow
*) 0 ;
8302 int arg3
= (int) wxBORDER_NONE
;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 PyObject
* obj2
= 0 ;
8308 (char *) "self",(char *) "parent",(char *) "flags", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8316 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8334 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8343 PyObject
* obj2
= 0 ;
8345 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8356 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 Py_INCREF(Py_None
); resultobj
= Py_None
;
8372 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8375 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8377 return Py_BuildValue((char *)"");
8379 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxWindow
*arg1
= (wxWindow
*) 0 ;
8382 int arg2
= (int) wxBORDER_NONE
;
8383 wxPyPopupTransientWindow
*result
;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8387 (char *) "parent",(char *) "style", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8394 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8412 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxPyPopupTransientWindow
*result
;
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8434 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8437 PyObject
*arg2
= (PyObject
*) 0 ;
8438 PyObject
*arg3
= (PyObject
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8443 (char *) "self",(char *) "self",(char *) "_class", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8467 wxWindow
*arg2
= (wxWindow
*) NULL
;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8471 (char *) "self",(char *) "focus", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 (arg1
)->Popup(arg2
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8520 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8522 return Py_BuildValue((char *)"");
8524 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxWindow
*arg1
= (wxWindow
*) 0 ;
8527 wxString
*arg2
= 0 ;
8528 int arg3
= (int) 100 ;
8529 wxRect
*arg4
= (wxRect
*) NULL
;
8530 wxTipWindow
*result
;
8531 bool temp2
= False
;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 PyObject
* obj3
= 0 ;
8537 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8543 arg2
= wxString_in_helper(obj1
);
8544 if (arg2
== NULL
) SWIG_fail
;
8549 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8554 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8578 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8586 (char *) "self",(char *) "rectBound", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8593 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8614 (char *) "self", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8638 return Py_BuildValue((char *)"");
8640 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxWindow
*arg1
= (wxWindow
*) 0 ;
8643 int arg2
= (int) wxID_ANY
;
8644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8646 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8647 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8648 long arg5
= (long) 0 ;
8649 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8651 wxPyVScrolledWindow
*result
;
8654 bool temp6
= False
;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 PyObject
* obj2
= 0 ;
8658 PyObject
* obj3
= 0 ;
8659 PyObject
* obj4
= 0 ;
8660 PyObject
* obj5
= 0 ;
8662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8687 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8693 arg6
= wxString_in_helper(obj5
);
8694 if (arg6
== NULL
) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8720 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxPyVScrolledWindow
*result
;
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8742 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8745 PyObject
*arg2
= (PyObject
*) 0 ;
8746 PyObject
*arg3
= (PyObject
*) 0 ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8749 PyObject
* obj2
= 0 ;
8751 (char *) "self",(char *) "self",(char *) "_class", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 Py_INCREF(Py_None
); resultobj
= Py_None
;
8772 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8775 wxWindow
*arg2
= (wxWindow
*) 0 ;
8776 int arg3
= (int) wxID_ANY
;
8777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8781 long arg6
= (long) 0 ;
8782 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8787 bool temp7
= False
;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8791 PyObject
* obj3
= 0 ;
8792 PyObject
* obj4
= 0 ;
8793 PyObject
* obj5
= 0 ;
8794 PyObject
* obj6
= 0 ;
8796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8804 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8822 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8828 arg7
= wxString_in_helper(obj6
);
8829 if (arg7
== NULL
) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8855 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "count", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8868 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->SetLineCount(arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "line", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8899 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8916 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8924 (char *) "self",(char *) "lines", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)(arg1
)->ScrollLines(arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8947 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "pages", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->ScrollPages(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8978 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8985 (char *) "self",(char *) "line", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8991 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->RefreshLine(arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9017 (char *) "self",(char *) "from",(char *) "to", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9023 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 (arg1
)->RefreshLines(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 PyObject
* obj2
= 0 ;
9054 (char *) "self",(char *) "x",(char *) "y", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_PyObj_FromInt((int)result
);
9081 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "self",(char *) "pt", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_PyObj_FromInt((int)result
);
9113 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 (arg1
)->RefreshAll();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9162 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9187 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9193 (char *) "self", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9212 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "line", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9226 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9243 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9246 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9248 return Py_BuildValue((char *)"");
9250 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9251 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9256 static PyObject
*_wrap_VListBoxNameStr_get() {
9261 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9263 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9270 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxWindow
*arg1
= (wxWindow
*) 0 ;
9273 int arg2
= (int) wxID_ANY
;
9274 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9275 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9276 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9277 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9278 long arg5
= (long) 0 ;
9279 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9280 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9281 wxPyVListBox
*result
;
9284 bool temp6
= False
;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 PyObject
* obj2
= 0 ;
9288 PyObject
* obj3
= 0 ;
9289 PyObject
* obj4
= 0 ;
9290 PyObject
* obj5
= 0 ;
9292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9299 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9312 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9317 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9323 arg6
= wxString_in_helper(obj5
);
9324 if (arg6
== NULL
) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9350 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxPyVListBox
*result
;
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxPyVListBox
*)new wxPyVListBox();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9372 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9375 PyObject
*arg2
= (PyObject
*) 0 ;
9376 PyObject
*arg3
= (PyObject
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9381 (char *) "self",(char *) "self",(char *) "_class", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9405 wxWindow
*arg2
= (wxWindow
*) 0 ;
9406 int arg3
= (int) wxID_ANY
;
9407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9411 long arg6
= (long) 0 ;
9412 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9413 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9417 bool temp7
= False
;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9421 PyObject
* obj3
= 0 ;
9422 PyObject
* obj4
= 0 ;
9423 PyObject
* obj5
= 0 ;
9424 PyObject
* obj6
= 0 ;
9426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9434 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9452 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9458 arg7
= wxString_in_helper(obj6
);
9459 if (arg7
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9485 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9510 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9535 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_PyObj_FromInt((int)result
);
9560 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9568 (char *) "self",(char *) "item", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9574 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9591 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9599 (char *) "self",(char *) "item", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9605 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9622 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9647 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9650 unsigned long *arg2
= 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9655 (char *) "self",(char *) "cookie", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_PyObj_FromInt((int)result
);
9678 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9681 unsigned long *arg2
= 0 ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9686 (char *) "self",(char *) "cookie", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_PyObj_FromInt((int)result
);
9709 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 wxPoint
* resultptr
;
9729 resultptr
= new wxPoint((wxPoint
&) result
);
9730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9738 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9753 result
= (wxColour
*) &_result_ref
;
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9766 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 (char *) "self",(char *) "count", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetItemCount(arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 Py_INCREF(Py_None
); resultobj
= Py_None
;
9820 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9827 (char *) "self",(char *) "selection", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9833 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 (arg1
)->SetSelection(arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9854 bool arg3
= (bool) True
;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9858 PyObject
* obj2
= 0 ;
9860 (char *) "self",(char *) "item",(char *) "select", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9866 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9889 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9899 (char *) "self",(char *) "from",(char *) "to", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9905 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9926 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9933 (char *) "self",(char *) "item", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9939 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 (arg1
)->Toggle(arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)(arg1
)->SelectAll();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9981 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)(arg1
)->DeselectAll();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10006 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10009 wxPoint
*arg2
= 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "pt", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 PyObject
* obj2
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "x",(char *) "y", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 (arg1
)->SetMargins(arg2
,arg3
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10076 wxColour
*arg2
= 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "col", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10088 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 Py_INCREF(Py_None
); resultobj
= Py_None
;
10104 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10107 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10109 return Py_BuildValue((char *)"");
10111 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxWindow
*arg1
= (wxWindow
*) 0 ;
10114 int arg2
= (int) wxID_ANY
;
10115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10117 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10118 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10119 long arg5
= (long) 0 ;
10120 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10121 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10122 wxPyHtmlListBox
*result
;
10125 bool temp6
= False
;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 PyObject
* obj2
= 0 ;
10129 PyObject
* obj3
= 0 ;
10130 PyObject
* obj4
= 0 ;
10131 PyObject
* obj5
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10140 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10153 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10158 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10164 arg6
= wxString_in_helper(obj5
);
10165 if (arg6
== NULL
) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10191 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxPyHtmlListBox
*result
;
10194 char *kwnames
[] = {
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10213 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10216 PyObject
*arg2
= (PyObject
*) 0 ;
10217 PyObject
*arg3
= (PyObject
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 PyObject
* obj2
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self",(char *) "self",(char *) "_class", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 Py_INCREF(Py_None
); resultobj
= Py_None
;
10243 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10246 wxWindow
*arg2
= (wxWindow
*) 0 ;
10247 int arg3
= (int) wxID_ANY
;
10248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10252 long arg6
= (long) 0 ;
10253 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10258 bool temp7
= False
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 PyObject
* obj4
= 0 ;
10264 PyObject
* obj5
= 0 ;
10265 PyObject
* obj6
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10293 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10299 arg7
= wxString_in_helper(obj6
);
10300 if (arg7
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10326 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 (arg1
)->RefreshAll();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "count", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10363 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetItemCount(arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10383 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10385 return Py_BuildValue((char *)"");
10387 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxTaskBarIcon
*result
;
10390 char *kwnames
[] = {
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10409 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10458 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10483 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10490 bool temp3
= False
;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10501 if (arg2
== NULL
) {
10502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10506 arg3
= wxString_in_helper(obj2
);
10507 if (arg3
== NULL
) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10533 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->RemoveIcon();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10558 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10561 wxMenu
*arg2
= (wxMenu
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "menu", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (bool)(arg1
)->PopupMenu(arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10586 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10589 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10591 return Py_BuildValue((char *)"");
10593 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10596 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10597 wxTaskBarIconEvent
*result
;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "evtType",(char *) "tbIcon", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10606 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10624 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10627 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10629 return Py_BuildValue((char *)"");
10631 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10632 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10637 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10642 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10644 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10651 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10652 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10657 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10662 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10664 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10671 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10672 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10677 static PyObject
*_wrap_DirDialogNameStr_get() {
10682 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10684 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10691 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10692 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10697 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10702 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10704 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10711 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10712 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10717 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10722 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10724 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10731 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10732 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10737 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10742 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10744 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10751 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxColourData
*result
;
10754 char *kwnames
[] = {
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (wxColourData
*)new wxColourData();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10773 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxColourData
*arg1
= (wxColourData
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxColourData
*arg1
= (wxColourData
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (bool)(arg1
)->GetChooseFull();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10822 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxColourData
*arg1
= (wxColourData
*) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (arg1
)->GetColour();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 wxColour
* resultptr
;
10842 resultptr
= new wxColour((wxColour
&) result
);
10843 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10851 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxColourData
*arg1
= (wxColourData
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "i", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10865 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (arg1
)->GetCustomColour(arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 wxColour
* resultptr
;
10877 resultptr
= new wxColour((wxColour
&) result
);
10878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10886 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxColourData
*arg1
= (wxColourData
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "flag", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->SetChooseFull(arg2
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxColourData
*arg1
= (wxColourData
*) 0 ;
10919 wxColour
*arg2
= 0 ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "colour", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetColour((wxColour
const &)*arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxColourData
*arg1
= (wxColourData
*) 0 ;
10951 wxColour
*arg3
= 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 PyObject
* obj2
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "i",(char *) "colour", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10963 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10968 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10987 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10989 return Py_BuildValue((char *)"");
10991 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxWindow
*arg1
= (wxWindow
*) 0 ;
10994 wxColourData
*arg2
= (wxColourData
*) NULL
;
10995 wxColourDialog
*result
;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "parent",(char *) "data", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
11021 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11024 wxColourData
*result
;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11036 result
= (wxColourData
*) &_result_ref
;
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
11049 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (int)(arg1
)->ShowModal();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= SWIG_PyObj_FromInt((int)result
);
11074 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11077 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11079 return Py_BuildValue((char *)"");
11081 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxWindow
*arg1
= (wxWindow
*) 0 ;
11084 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11085 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11088 long arg4
= (long) 0 ;
11089 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11090 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11091 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11092 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11093 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11095 wxDirDialog
*result
;
11096 bool temp2
= False
;
11097 bool temp3
= False
;
11100 bool temp7
= False
;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 PyObject
* obj3
= 0 ;
11105 PyObject
* obj4
= 0 ;
11106 PyObject
* obj5
= 0 ;
11107 PyObject
* obj6
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11116 arg2
= wxString_in_helper(obj1
);
11117 if (arg2
== NULL
) SWIG_fail
;
11123 arg3
= wxString_in_helper(obj2
);
11124 if (arg3
== NULL
) SWIG_fail
;
11130 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11137 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11143 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11148 arg7
= wxString_in_helper(obj6
);
11149 if (arg7
== NULL
) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
11191 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (arg1
)->GetPath();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11222 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (arg1
)->GetMessage();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11253 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (long)(arg1
)->GetStyle();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_PyObj_FromLong((long)result
);
11278 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11281 wxString
*arg2
= 0 ;
11282 bool temp2
= False
;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "message", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11292 arg2
= wxString_in_helper(obj1
);
11293 if (arg2
== NULL
) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetMessage((wxString
const &)*arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11321 wxString
*arg2
= 0 ;
11322 bool temp2
= False
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "path", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11332 arg2
= wxString_in_helper(obj1
);
11333 if (arg2
== NULL
) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 (arg1
)->SetPath((wxString
const &)*arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 Py_INCREF(Py_None
); resultobj
= Py_None
;
11358 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (int)(arg1
)->ShowModal();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_PyObj_FromInt((int)result
);
11383 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11386 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11388 return Py_BuildValue((char *)"");
11390 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxWindow
*arg1
= (wxWindow
*) 0 ;
11393 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11394 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11395 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11396 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11399 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11400 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11401 long arg6
= (long) 0 ;
11402 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11403 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11404 wxFileDialog
*result
;
11405 bool temp2
= False
;
11406 bool temp3
= False
;
11407 bool temp4
= False
;
11408 bool temp5
= False
;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 PyObject
* obj2
= 0 ;
11413 PyObject
* obj3
= 0 ;
11414 PyObject
* obj4
= 0 ;
11415 PyObject
* obj5
= 0 ;
11416 PyObject
* obj6
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11425 arg2
= wxString_in_helper(obj1
);
11426 if (arg2
== NULL
) SWIG_fail
;
11432 arg3
= wxString_in_helper(obj2
);
11433 if (arg3
== NULL
) SWIG_fail
;
11439 arg4
= wxString_in_helper(obj3
);
11440 if (arg4
== NULL
) SWIG_fail
;
11446 arg5
= wxString_in_helper(obj4
);
11447 if (arg5
== NULL
) SWIG_fail
;
11453 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11460 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11509 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11512 wxString
*arg2
= 0 ;
11513 bool temp2
= False
;
11514 PyObject
* obj0
= 0 ;
11515 PyObject
* obj1
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "message", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11523 arg2
= wxString_in_helper(obj1
);
11524 if (arg2
== NULL
) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->SetMessage((wxString
const &)*arg2
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11549 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11552 wxString
*arg2
= 0 ;
11553 bool temp2
= False
;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "path", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11563 arg2
= wxString_in_helper(obj1
);
11564 if (arg2
== NULL
) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 (arg1
)->SetPath((wxString
const &)*arg2
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11592 wxString
*arg2
= 0 ;
11593 bool temp2
= False
;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "dir", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11603 arg2
= wxString_in_helper(obj1
);
11604 if (arg2
== NULL
) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11632 wxString
*arg2
= 0 ;
11633 bool temp2
= False
;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "name", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11643 arg2
= wxString_in_helper(obj1
);
11644 if (arg2
== NULL
) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 (arg1
)->SetFilename((wxString
const &)*arg2
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11672 wxString
*arg2
= 0 ;
11673 bool temp2
= False
;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "wildCard", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 arg2
= wxString_in_helper(obj1
);
11684 if (arg2
== NULL
) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "style", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11722 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 (arg1
)->SetStyle(arg2
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 Py_INCREF(Py_None
); resultobj
= Py_None
;
11739 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11743 PyObject
* obj0
= 0 ;
11744 PyObject
* obj1
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self",(char *) "filterIndex", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11752 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 (arg1
)->SetFilterIndex(arg2
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 Py_INCREF(Py_None
); resultobj
= Py_None
;
11769 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11800 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11804 PyObject
* obj0
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "self", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11831 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11862 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11866 PyObject
* obj0
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "self", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11893 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11924 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_PyObj_FromLong((long)result
);
11949 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_PyObj_FromInt((int)result
);
11974 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
;
11999 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= result
;
12024 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12027 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12029 return Py_BuildValue((char *)"");
12031 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxWindow
*arg1
= (wxWindow
*) 0 ;
12034 wxString
*arg2
= 0 ;
12035 wxString
*arg3
= 0 ;
12037 wxString
*arg5
= (wxString
*) 0 ;
12038 long arg6
= (long) wxCHOICEDLG_STYLE
;
12039 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12040 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12041 wxMultiChoiceDialog
*result
;
12042 bool temp2
= False
;
12043 bool temp3
= False
;
12044 bool temp5
= False
;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 PyObject
* obj2
= 0 ;
12049 PyObject
* obj3
= 0 ;
12050 PyObject
* obj4
= 0 ;
12051 PyObject
* obj5
= 0 ;
12052 PyObject
* obj6
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 arg2
= wxString_in_helper(obj1
);
12061 if (arg2
== NULL
) SWIG_fail
;
12065 arg3
= wxString_in_helper(obj2
);
12066 if (arg3
== NULL
) SWIG_fail
;
12070 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 arg5
= wxString_in_helper(obj4
);
12075 if (arg5
== NULL
) SWIG_fail
;
12080 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12087 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12128 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12131 wxArrayInt
*arg2
= 0 ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "selections", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 if (! PySequence_Check(obj1
)) {
12142 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12145 arg2
= new wxArrayInt
;
12146 int i
, len
=PySequence_Length(obj1
);
12147 for (i
=0; i
<len
; i
++) {
12148 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12149 PyObject
* number
= PyNumber_Int(item
);
12150 arg2
->Add(PyInt_AS_LONG(number
));
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12164 if (arg2
) delete arg2
;
12169 if (arg2
) delete arg2
;
12175 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
;
12200 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12203 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12205 return Py_BuildValue((char *)"");
12207 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxWindow
*arg1
= (wxWindow
*) 0 ;
12210 wxString
*arg2
= 0 ;
12211 wxString
*arg3
= 0 ;
12213 wxString
*arg5
= (wxString
*) 0 ;
12214 long arg6
= (long) wxCHOICEDLG_STYLE
;
12215 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12216 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12217 wxSingleChoiceDialog
*result
;
12218 bool temp2
= False
;
12219 bool temp3
= False
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 PyObject
* obj4
= 0 ;
12226 PyObject
* obj5
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12234 arg2
= wxString_in_helper(obj1
);
12235 if (arg2
== NULL
) SWIG_fail
;
12239 arg3
= wxString_in_helper(obj2
);
12240 if (arg3
== NULL
) SWIG_fail
;
12244 arg4
= PyList_Size(obj3
);
12245 arg5
= wxString_LIST_helper(obj3
);
12246 if (arg5
== NULL
) SWIG_fail
;
12250 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12257 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12277 if (arg5
) delete [] arg5
;
12290 if (arg5
) delete [] arg5
;
12296 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (int)(arg1
)->GetSelection();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_PyObj_FromInt((int)result
);
12321 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (arg1
)->GetStringSelection();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12352 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "sel", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 (arg1
)->SetSelection(arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)(arg1
)->ShowModal();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_PyObj_FromInt((int)result
);
12407 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12410 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12412 return Py_BuildValue((char *)"");
12414 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxWindow
*arg1
= (wxWindow
*) 0 ;
12417 wxString
*arg2
= 0 ;
12418 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12420 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12421 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12422 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12423 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12424 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12425 wxTextEntryDialog
*result
;
12426 bool temp2
= False
;
12427 bool temp3
= False
;
12428 bool temp4
= False
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 PyObject
* obj2
= 0 ;
12433 PyObject
* obj3
= 0 ;
12434 PyObject
* obj4
= 0 ;
12435 PyObject
* obj5
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 arg2
= wxString_in_helper(obj1
);
12444 if (arg2
== NULL
) SWIG_fail
;
12449 arg3
= wxString_in_helper(obj2
);
12450 if (arg3
== NULL
) SWIG_fail
;
12456 arg4
= wxString_in_helper(obj3
);
12457 if (arg4
== NULL
) SWIG_fail
;
12463 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12470 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12511 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (arg1
)->GetValue();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12542 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12545 wxString
*arg2
= 0 ;
12546 bool temp2
= False
;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "value", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 arg2
= wxString_in_helper(obj1
);
12557 if (arg2
== NULL
) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->SetValue((wxString
const &)*arg2
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12582 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (int)(arg1
)->ShowModal();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_PyObj_FromInt((int)result
);
12607 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12610 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12612 return Py_BuildValue((char *)"");
12614 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFontData
*result
;
12617 char *kwnames
[] = {
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (wxFontData
*)new wxFontData();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12636 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxFontData
*arg1
= (wxFontData
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 Py_INCREF(Py_None
); resultobj
= Py_None
;
12660 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxFontData
*arg1
= (wxFontData
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "enable", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12673 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->EnableEffects(arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxFontData
*arg1
= (wxFontData
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (bool)(arg1
)->GetAllowSymbols();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12715 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxFontData
*arg1
= (wxFontData
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (arg1
)->GetColour();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 wxColour
* resultptr
;
12735 resultptr
= new wxColour((wxColour
&) result
);
12736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12744 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxFontData
*arg1
= (wxFontData
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (arg1
)->GetChosenFont();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 wxFont
* resultptr
;
12764 resultptr
= new wxFont((wxFont
&) result
);
12765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12773 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxFontData
*arg1
= (wxFontData
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (bool)(arg1
)->GetEnableEffects();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12798 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxFontData
*arg1
= (wxFontData
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (arg1
)->GetInitialFont();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 wxFont
* resultptr
;
12818 resultptr
= new wxFont((wxFont
&) result
);
12819 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12827 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxFontData
*arg1
= (wxFontData
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)(arg1
)->GetShowHelp();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12852 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxFontData
*arg1
= (wxFontData
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "allowSymbols", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12865 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 (arg1
)->SetAllowSymbols(arg2
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 Py_INCREF(Py_None
); resultobj
= Py_None
;
12882 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxFontData
*arg1
= (wxFontData
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "font", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12895 if (arg2
== NULL
) {
12896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 Py_INCREF(Py_None
); resultobj
= Py_None
;
12912 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxFontData
*arg1
= (wxFontData
*) 0 ;
12915 wxColour
*arg2
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "colour", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetColour((wxColour
const &)*arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxFontData
*arg1
= (wxFontData
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "font", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12956 if (arg2
== NULL
) {
12957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 Py_INCREF(Py_None
); resultobj
= Py_None
;
12973 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxFontData
*arg1
= (wxFontData
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 PyObject
* obj2
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "min",(char *) "max", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->SetRange(arg2
,arg3
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxFontData
*arg1
= (wxFontData
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "showHelp", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13022 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 (arg1
)->SetShowHelp(arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 Py_INCREF(Py_None
); resultobj
= Py_None
;
13039 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13042 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13044 return Py_BuildValue((char *)"");
13046 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxWindow
*arg1
= (wxWindow
*) 0 ;
13049 wxFontData
*arg2
= 0 ;
13050 wxFontDialog
*result
;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "parent",(char *) "data", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 if (arg2
== NULL
) {
13061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
13077 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13080 wxFontData
*result
;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13092 result
= (wxFontData
*) &_result_ref
;
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
13105 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (int)(arg1
)->ShowModal();
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= SWIG_PyObj_FromInt((int)result
);
13130 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13133 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13135 return Py_BuildValue((char *)"");
13137 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxWindow
*arg1
= (wxWindow
*) 0 ;
13140 wxString
*arg2
= 0 ;
13141 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13143 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13146 wxMessageDialog
*result
;
13147 bool temp2
= False
;
13148 bool temp3
= False
;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 PyObject
* obj3
= 0 ;
13154 PyObject
* obj4
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 arg2
= wxString_in_helper(obj1
);
13163 if (arg2
== NULL
) SWIG_fail
;
13168 arg3
= wxString_in_helper(obj2
);
13169 if (arg3
== NULL
) SWIG_fail
;
13175 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
13215 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (int)(arg1
)->ShowModal();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_PyObj_FromInt((int)result
);
13240 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13243 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13245 return Py_BuildValue((char *)"");
13247 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxString
*arg1
= 0 ;
13250 wxString
*arg2
= 0 ;
13251 int arg3
= (int) 100 ;
13252 wxWindow
*arg4
= (wxWindow
*) NULL
;
13253 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13254 wxProgressDialog
*result
;
13255 bool temp1
= False
;
13256 bool temp2
= False
;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 PyObject
* obj2
= 0 ;
13260 PyObject
* obj3
= 0 ;
13261 PyObject
* obj4
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13268 arg1
= wxString_in_helper(obj0
);
13269 if (arg1
== NULL
) SWIG_fail
;
13273 arg2
= wxString_in_helper(obj1
);
13274 if (arg2
== NULL
) SWIG_fail
;
13279 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13284 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13288 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
13322 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13329 bool temp3
= False
;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 PyObject
* obj2
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13345 arg3
= wxString_in_helper(obj2
);
13346 if (arg3
== NULL
) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13372 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 Py_INCREF(Py_None
); resultobj
= Py_None
;
13396 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13399 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13401 return Py_BuildValue((char *)"");
13403 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13406 int arg2
= (int) 0 ;
13407 wxFindDialogEvent
*result
;
13408 PyObject
* obj0
= 0 ;
13409 PyObject
* obj1
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "commandType",(char *) "id", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13417 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13441 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (int)(arg1
)->GetFlags();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_PyObj_FromInt((int)result
);
13466 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxString
const &_result_ref
= (arg1
)->GetFindString();
13481 result
= (wxString
*) &_result_ref
;
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13500 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13515 result
= (wxString
*) &_result_ref
;
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13525 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13534 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13537 wxFindReplaceDialog
*result
;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13559 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "flags", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13572 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetFlags(arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13592 wxString
*arg2
= 0 ;
13593 bool temp2
= False
;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self",(char *) "str", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13603 arg2
= wxString_in_helper(obj1
);
13604 if (arg2
== NULL
) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->SetFindString((wxString
const &)*arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13629 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13632 wxString
*arg2
= 0 ;
13633 bool temp2
= False
;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "str", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13643 arg2
= wxString_in_helper(obj1
);
13644 if (arg2
== NULL
) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13672 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13674 return Py_BuildValue((char *)"");
13676 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 int arg1
= (int) 0 ;
13679 wxFindReplaceData
*result
;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "flags", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13688 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13706 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13709 PyObject
* obj0
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxString
const &_result_ref
= (arg1
)->GetFindString();
13745 result
= (wxString
*) &_result_ref
;
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13764 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13779 result
= (wxString
*) &_result_ref
;
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13789 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13798 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (int)(arg1
)->GetFlags();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_PyObj_FromInt((int)result
);
13823 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "flags", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13836 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 (arg1
)->SetFlags(arg2
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 Py_INCREF(Py_None
); resultobj
= Py_None
;
13853 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13856 wxString
*arg2
= 0 ;
13857 bool temp2
= False
;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self",(char *) "str", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13867 arg2
= wxString_in_helper(obj1
);
13868 if (arg2
== NULL
) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 (arg1
)->SetFindString((wxString
const &)*arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 Py_INCREF(Py_None
); resultobj
= Py_None
;
13893 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13896 wxString
*arg2
= 0 ;
13897 bool temp2
= False
;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self",(char *) "str", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13907 arg2
= wxString_in_helper(obj1
);
13908 if (arg2
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13933 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13936 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13938 return Py_BuildValue((char *)"");
13940 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxWindow
*arg1
= (wxWindow
*) 0 ;
13943 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13944 wxString
*arg3
= 0 ;
13945 int arg4
= (int) 0 ;
13946 wxFindReplaceDialog
*result
;
13947 bool temp3
= False
;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 PyObject
* obj2
= 0 ;
13951 PyObject
* obj3
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13960 arg3
= wxString_in_helper(obj2
);
13961 if (arg3
== NULL
) SWIG_fail
;
13966 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13992 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxFindReplaceDialog
*result
;
13995 char *kwnames
[] = {
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
14014 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14017 wxWindow
*arg2
= (wxWindow
*) 0 ;
14018 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14019 wxString
*arg4
= 0 ;
14020 int arg5
= (int) 0 ;
14022 bool temp4
= False
;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 PyObject
* obj3
= 0 ;
14027 PyObject
* obj4
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14035 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14037 arg4
= wxString_in_helper(obj3
);
14038 if (arg4
== NULL
) SWIG_fail
;
14043 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14069 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14072 wxFindReplaceData
*result
;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
14094 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14097 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "data", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->SetData(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14124 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14126 return Py_BuildValue((char *)"");
14128 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxWindow
*arg1
= (wxWindow
*) 0 ;
14132 wxString
*arg3
= 0 ;
14133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14137 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14138 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14140 wxMDIParentFrame
*result
;
14141 bool temp3
= False
;
14144 bool temp7
= False
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 PyObject
* obj3
= 0 ;
14149 PyObject
* obj4
= 0 ;
14150 PyObject
* obj5
= 0 ;
14151 PyObject
* obj6
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 arg3
= wxString_in_helper(obj2
);
14164 if (arg3
== NULL
) SWIG_fail
;
14170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14181 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14187 arg7
= wxString_in_helper(obj6
);
14188 if (arg7
== NULL
) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14222 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMDIParentFrame
*result
;
14225 char *kwnames
[] = {
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14244 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14247 wxWindow
*arg2
= (wxWindow
*) 0 ;
14249 wxString
*arg4
= 0 ;
14250 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14251 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14252 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14253 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14254 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14255 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14256 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14258 bool temp4
= False
;
14261 bool temp8
= False
;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 PyObject
* obj2
= 0 ;
14265 PyObject
* obj3
= 0 ;
14266 PyObject
* obj4
= 0 ;
14267 PyObject
* obj5
= 0 ;
14268 PyObject
* obj6
= 0 ;
14269 PyObject
* obj7
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14278 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 arg4
= wxString_in_helper(obj3
);
14283 if (arg4
== NULL
) SWIG_fail
;
14289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14300 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14306 arg8
= wxString_in_helper(obj7
);
14307 if (arg8
== NULL
) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14341 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 (arg1
)->ActivateNext();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 Py_INCREF(Py_None
); resultobj
= Py_None
;
14365 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 (arg1
)->ActivatePrevious();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 Py_INCREF(Py_None
); resultobj
= Py_None
;
14389 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 (arg1
)->ArrangeIcons();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14413 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14440 wxMDIChildFrame
*result
;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= wxPyMake_wxObject(result
);
14464 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14467 wxMDIClientWindow
*result
;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= wxPyMake_wxObject(result
);
14491 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (wxWindow
*)(arg1
)->GetToolBar();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= wxPyMake_wxObject(result
);
14518 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= wxPyMake_wxObject(result
);
14545 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14548 wxMenu
*arg2
= (wxMenu
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "menu", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 (arg1
)->SetWindowMenu(arg2
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14575 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "toolbar", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->SetToolBar(arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 Py_INCREF(Py_None
); resultobj
= Py_None
;
14623 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14628 return Py_BuildValue((char *)"");
14630 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14634 wxString
*arg3
= 0 ;
14635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14639 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14640 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14642 wxMDIChildFrame
*result
;
14643 bool temp3
= False
;
14646 bool temp7
= False
;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 PyObject
* obj4
= 0 ;
14652 PyObject
* obj5
= 0 ;
14653 PyObject
* obj6
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14661 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 arg3
= wxString_in_helper(obj2
);
14666 if (arg3
== NULL
) SWIG_fail
;
14672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14683 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14689 arg7
= wxString_in_helper(obj6
);
14690 if (arg7
== NULL
) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= wxPyMake_wxObject(result
);
14726 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxMDIChildFrame
*result
;
14729 char *kwnames
[] = {
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= wxPyMake_wxObject(result
);
14750 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14753 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14755 wxString
*arg4
= 0 ;
14756 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14757 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14758 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14759 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14760 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14761 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14764 bool temp4
= False
;
14767 bool temp8
= False
;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 PyObject
* obj2
= 0 ;
14771 PyObject
* obj3
= 0 ;
14772 PyObject
* obj4
= 0 ;
14773 PyObject
* obj5
= 0 ;
14774 PyObject
* obj6
= 0 ;
14775 PyObject
* obj7
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14784 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 arg4
= wxString_in_helper(obj3
);
14789 if (arg4
== NULL
) SWIG_fail
;
14795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14801 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14806 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14812 arg8
= wxString_in_helper(obj7
);
14813 if (arg8
== NULL
) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14847 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->Activate();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self",(char *) "maximize", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14884 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->Maximize(arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14928 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14930 return Py_BuildValue((char *)"");
14932 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14935 long arg2
= (long) 0 ;
14936 wxMDIClientWindow
*result
;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "parent",(char *) "style", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14947 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= wxPyMake_wxObject(result
);
14967 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxMDIClientWindow
*result
;
14970 char *kwnames
[] = {
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= wxPyMake_wxObject(result
);
14991 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14994 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14995 long arg3
= (long) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 PyObject
* obj2
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "parent",(char *) "style", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15009 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15027 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15030 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15032 return Py_BuildValue((char *)"");
15034 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxWindow
*arg1
= (wxWindow
*) 0 ;
15038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15042 long arg5
= (long) 0 ;
15043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15045 wxPyWindow
*result
;
15048 bool temp6
= False
;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 PyObject
* obj2
= 0 ;
15052 PyObject
* obj3
= 0 ;
15053 PyObject
* obj4
= 0 ;
15054 PyObject
* obj5
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15062 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15079 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15085 arg6
= wxString_in_helper(obj5
);
15086 if (arg6
== NULL
) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
15112 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15115 PyObject
*arg2
= (PyObject
*) 0 ;
15116 PyObject
*arg3
= (PyObject
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 PyObject
* obj2
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "self",(char *) "_class", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 PyObject
* obj3
= 0 ;
15153 PyObject
* obj4
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 Py_INCREF(Py_None
); resultobj
= Py_None
;
15190 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15197 int arg6
= (int) wxSIZE_AUTO
;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 PyObject
* obj2
= 0 ;
15201 PyObject
* obj3
= 0 ;
15202 PyObject
* obj4
= 0 ;
15203 PyObject
* obj5
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 Py_INCREF(Py_None
); resultobj
= Py_None
;
15246 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 PyObject
* obj2
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self",(char *) "width",(char *) "height", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15265 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "x",(char *) "y", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15297 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 Py_INCREF(Py_None
); resultobj
= Py_None
;
15318 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15321 int *arg2
= (int *) 0 ;
15322 int *arg3
= (int *) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15344 resultobj
= t_output_helper(resultobj
,o
);
15347 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15348 resultobj
= t_output_helper(resultobj
,o
);
15356 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15359 int *arg2
= (int *) 0 ;
15360 int *arg3
= (int *) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15381 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15382 resultobj
= t_output_helper(resultobj
,o
);
15385 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15386 resultobj
= t_output_helper(resultobj
,o
);
15394 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15397 int *arg2
= (int *) 0 ;
15398 int *arg3
= (int *) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15419 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15420 resultobj
= t_output_helper(resultobj
,o
);
15423 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15424 resultobj
= t_output_helper(resultobj
,o
);
15432 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 wxSize
* resultptr
;
15452 resultptr
= new wxSize((wxSize
&) result
);
15453 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15461 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 wxSize
* resultptr
;
15481 resultptr
= new wxSize((wxSize
&) result
);
15482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15490 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->base_InitDialog();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15514 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)(arg1
)->base_TransferDataToWindow();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15539 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15564 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,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
;
15582 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15589 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15614 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15639 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 wxSize
* resultptr
;
15659 resultptr
= new wxSize((wxSize
&) result
);
15660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15668 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15671 wxWindow
*arg2
= (wxWindow
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "child", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 (arg1
)->base_AddChild(arg2
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 Py_INCREF(Py_None
); resultobj
= Py_None
;
15695 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15698 wxWindow
*arg2
= (wxWindow
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "child", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 (arg1
)->base_RemoveChild(arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15722 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15727 return Py_BuildValue((char *)"");
15729 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxWindow
*arg1
= (wxWindow
*) 0 ;
15733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15737 long arg5
= (long) 0 ;
15738 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15743 bool temp6
= False
;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 PyObject
* obj2
= 0 ;
15747 PyObject
* obj3
= 0 ;
15748 PyObject
* obj4
= 0 ;
15749 PyObject
* obj5
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15757 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15763 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15769 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15774 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15780 arg6
= wxString_in_helper(obj5
);
15781 if (arg6
== NULL
) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15807 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15810 PyObject
*arg2
= (PyObject
*) 0 ;
15811 PyObject
*arg3
= (PyObject
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 PyObject
* obj2
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self",(char *) "self",(char *) "_class", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 Py_INCREF(Py_None
); resultobj
= Py_None
;
15837 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 PyObject
* obj3
= 0 ;
15848 PyObject
* obj4
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15892 int arg6
= (int) wxSIZE_AUTO
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 PyObject
* obj2
= 0 ;
15896 PyObject
* obj3
= 0 ;
15897 PyObject
* obj4
= 0 ;
15898 PyObject
* obj5
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15923 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 Py_INCREF(Py_None
); resultobj
= Py_None
;
15941 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "width",(char *) "height", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "x",(char *) "y", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15992 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15996 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16016 int *arg2
= (int *) 0 ;
16017 int *arg3
= (int *) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16038 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16039 resultobj
= t_output_helper(resultobj
,o
);
16042 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16043 resultobj
= t_output_helper(resultobj
,o
);
16051 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16054 int *arg2
= (int *) 0 ;
16055 int *arg3
= (int *) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 Py_INCREF(Py_None
); resultobj
= Py_None
;
16076 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16077 resultobj
= t_output_helper(resultobj
,o
);
16080 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16081 resultobj
= t_output_helper(resultobj
,o
);
16089 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16092 int *arg2
= (int *) 0 ;
16093 int *arg3
= (int *) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 Py_INCREF(Py_None
); resultobj
= Py_None
;
16114 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16115 resultobj
= t_output_helper(resultobj
,o
);
16118 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16119 resultobj
= t_output_helper(resultobj
,o
);
16127 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 wxSize
* resultptr
;
16147 resultptr
= new wxSize((wxSize
&) result
);
16148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16156 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 wxSize
* resultptr
;
16176 resultptr
= new wxSize((wxSize
&) result
);
16177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16185 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->base_InitDialog();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16209 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)(arg1
)->base_TransferDataToWindow();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16234 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16259 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16263 PyObject
* obj0
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (bool)(arg1
)->base_Validate();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16284 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16309 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16334 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 wxSize
* resultptr
;
16354 resultptr
= new wxSize((wxSize
&) result
);
16355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16363 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16366 wxWindow
*arg2
= (wxWindow
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "child", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->base_AddChild(arg2
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16393 wxWindow
*arg2
= (wxWindow
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "child", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 (arg1
)->base_RemoveChild(arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16420 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16422 return Py_BuildValue((char *)"");
16424 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
16425 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16430 static PyObject
*_wrap_PrintoutTitleStr_get() {
16435 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16437 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16444 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
16445 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16450 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16455 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16457 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16464 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPrintData
*result
;
16467 char *kwnames
[] = {
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (wxPrintData
*)new wxPrintData();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16486 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 Py_INCREF(Py_None
); resultobj
= Py_None
;
16510 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (int)(arg1
)->GetNoCopies();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_PyObj_FromInt((int)result
);
16535 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)(arg1
)->GetCollate();
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16560 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (int)(arg1
)->GetOrientation();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_PyObj_FromInt((int)result
);
16585 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (bool)(arg1
)->Ok();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16610 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16625 result
= (wxString
*) &_result_ref
;
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16644 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (bool)(arg1
)->GetColour();
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16669 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (int)(arg1
)->GetDuplex();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_PyObj_FromInt((int)result
);
16694 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (int)(arg1
)->GetPaperId();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= SWIG_PyObj_FromInt((int)result
);
16719 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16734 result
= (wxSize
*) &_result_ref
;
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16747 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (int)(arg1
)->GetQuality();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_PyObj_FromInt((int)result
);
16772 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "v", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16785 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetNoCopies(arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "flag", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16815 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 (arg1
)->SetCollate(arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "orient", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->SetOrientation(arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16865 wxString
*arg2
= 0 ;
16866 bool temp2
= False
;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "name", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16876 arg2
= wxString_in_helper(obj1
);
16877 if (arg2
== NULL
) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 Py_INCREF(Py_None
); resultobj
= Py_None
;
16902 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "colour", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16915 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 (arg1
)->SetColour(arg2
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self",(char *) "duplex", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16945 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "sizeId", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16975 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16992 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self",(char *) "sz", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17007 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 Py_INCREF(Py_None
); resultobj
= Py_None
;
17023 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self",(char *) "quality", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 (arg1
)->SetQuality(arg2
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17068 result
= (wxString
*) &_result_ref
;
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17087 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17102 result
= (wxString
*) &_result_ref
;
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17121 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17125 PyObject
* obj0
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17136 result
= (wxString
*) &_result_ref
;
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17155 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 wxString
const &_result_ref
= (arg1
)->GetFilename();
17170 result
= (wxString
*) &_result_ref
;
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17189 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17204 result
= (wxString
*) &_result_ref
;
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17223 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (double)(arg1
)->GetPrinterScaleX();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17248 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (double)(arg1
)->GetPrinterScaleY();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17273 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (long)(arg1
)->GetPrinterTranslateX();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_PyObj_FromLong((long)result
);
17298 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (long)(arg1
)->GetPrinterTranslateY();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= SWIG_PyObj_FromLong((long)result
);
17323 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (int)(arg1
)->GetPrintMode();
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_PyObj_FromInt((int)result
);
17348 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17351 wxString
*arg2
= 0 ;
17352 bool temp2
= False
;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "command", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17362 arg2
= wxString_in_helper(obj1
);
17363 if (arg2
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17391 wxString
*arg2
= 0 ;
17392 bool temp2
= False
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "options", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17402 arg2
= wxString_in_helper(obj1
);
17403 if (arg2
== NULL
) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17431 wxString
*arg2
= 0 ;
17432 bool temp2
= False
;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "self",(char *) "command", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17442 arg2
= wxString_in_helper(obj1
);
17443 if (arg2
== NULL
) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17471 wxString
*arg2
= 0 ;
17472 bool temp2
= False
;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "filename", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 arg2
= wxString_in_helper(obj1
);
17483 if (arg2
== NULL
) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 (arg1
)->SetFilename((wxString
const &)*arg2
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17511 wxString
*arg2
= 0 ;
17512 bool temp2
= False
;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "path", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17522 arg2
= wxString_in_helper(obj1
);
17523 if (arg2
== NULL
) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "x", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17561 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 (arg1
)->SetPrinterScaleX(arg2
);
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "y", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->SetPrinterScaleY(arg2
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "x",(char *) "y", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17623 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "x", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17657 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetPrinterTranslateX(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "y", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17687 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 (arg1
)->SetPrinterTranslateY(arg2
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 Py_INCREF(Py_None
); resultobj
= Py_None
;
17704 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "x",(char *) "y", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17719 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 Py_INCREF(Py_None
); resultobj
= Py_None
;
17740 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "printMode", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17753 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 Py_INCREF(Py_None
); resultobj
= Py_None
;
17770 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17773 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17775 return Py_BuildValue((char *)"");
17777 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 wxPageSetupDialogData
*result
;
17780 char *kwnames
[] = {
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17799 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "flag", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17836 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 (arg1
)->EnableHelp(arg2
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 Py_INCREF(Py_None
); resultobj
= Py_None
;
17853 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self",(char *) "flag", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17866 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 (arg1
)->EnableMargins(arg2
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 Py_INCREF(Py_None
); resultobj
= Py_None
;
17883 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 PyObject
* obj1
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "flag", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 (arg1
)->EnableOrientation(arg2
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 Py_INCREF(Py_None
); resultobj
= Py_None
;
17913 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "flag", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17926 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->EnablePaper(arg2
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "flag", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17956 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->EnablePrinter(arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 Py_INCREF(Py_None
); resultobj
= Py_None
;
17973 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (bool)(arg1
)->GetDefaultMinMargins();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17998 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (bool)(arg1
)->GetEnableMargins();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18023 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (bool)(arg1
)->GetEnableOrientation();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18048 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (bool)(arg1
)->GetEnablePaper();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18073 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (bool)(arg1
)->GetEnablePrinter();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18098 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (bool)(arg1
)->GetEnableHelp();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18123 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (bool)(arg1
)->GetDefaultInfo();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18148 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (arg1
)->GetMarginTopLeft();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 wxPoint
* resultptr
;
18168 resultptr
= new wxPoint((wxPoint
&) result
);
18169 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18177 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (arg1
)->GetMarginBottomRight();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 wxPoint
* resultptr
;
18197 resultptr
= new wxPoint((wxPoint
&) result
);
18198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18206 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (arg1
)->GetMinMarginTopLeft();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 wxPoint
* resultptr
;
18226 resultptr
= new wxPoint((wxPoint
&) result
);
18227 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18235 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (arg1
)->GetMinMarginBottomRight();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 wxPoint
* resultptr
;
18255 resultptr
= new wxPoint((wxPoint
&) result
);
18256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18264 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (int)(arg1
)->GetPaperId();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_PyObj_FromInt((int)result
);
18289 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (arg1
)->GetPaperSize();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 wxSize
* resultptr
;
18309 resultptr
= new wxSize((wxSize
&) result
);
18310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18318 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18321 wxPrintData
*result
;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18333 result
= (wxPrintData
*) &_result_ref
;
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18346 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)(arg1
)->Ok();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18371 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "flag", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18384 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetDefaultInfo(arg2
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "flag", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18414 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->SetDefaultMinMargins(arg2
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 Py_INCREF(Py_None
); resultobj
= Py_None
;
18431 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18434 wxPoint
*arg2
= 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "pt", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18462 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18465 wxPoint
*arg2
= 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "pt", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 Py_INCREF(Py_None
); resultobj
= Py_None
;
18493 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18496 wxPoint
*arg2
= 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "pt", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 Py_INCREF(Py_None
); resultobj
= Py_None
;
18524 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18527 wxPoint
*arg2
= 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "pt", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "id", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18568 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "size", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18619 wxPrintData
*arg2
= 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "printData", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18629 if (arg2
== NULL
) {
18630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18649 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18651 return Py_BuildValue((char *)"");
18653 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxWindow
*arg1
= (wxWindow
*) 0 ;
18656 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18657 wxPageSetupDialog
*result
;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "parent",(char *) "data", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18683 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18686 wxPageSetupDialogData
*result
;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18698 result
= (wxPageSetupDialogData
*) &_result_ref
;
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18711 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (int)(arg1
)->ShowModal();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_PyObj_FromInt((int)result
);
18736 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18739 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18741 return Py_BuildValue((char *)"");
18743 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxPrintDialogData
*result
;
18746 char *kwnames
[] = {
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18765 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_PyObj_FromInt((int)result
);
18814 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_PyObj_FromInt((int)result
);
18839 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_PyObj_FromInt((int)result
);
18864 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_PyObj_FromInt((int)result
);
18889 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_PyObj_FromInt((int)result
);
18914 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18939 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18964 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18989 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19014 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19039 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "v", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetFromPage(arg2
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self",(char *) "v", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19082 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->SetToPage(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "v", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetMinPage(arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "v", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->SetMaxPage(arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "v", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->SetNoCopies(arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 Py_INCREF(Py_None
); resultobj
= Py_None
;
19189 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "flag", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19202 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 (arg1
)->SetAllPages(arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "flag", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19232 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->SetSelection(arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "flag", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19262 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->SetCollate(arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self",(char *) "flag", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19292 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 (arg1
)->SetPrintToFile(arg2
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 Py_INCREF(Py_None
); resultobj
= Py_None
;
19309 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self",(char *) "flag", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19322 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 (arg1
)->SetSetupDialog(arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self",(char *) "flag", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19352 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->EnablePrintToFile(arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 Py_INCREF(Py_None
); resultobj
= Py_None
;
19369 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "flag", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19382 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 (arg1
)->EnableSelection(arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 Py_INCREF(Py_None
); resultobj
= Py_None
;
19399 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self",(char *) "flag", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19412 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 (arg1
)->EnablePageNumbers(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 Py_INCREF(Py_None
); resultobj
= Py_None
;
19429 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "flag", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19442 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->EnableHelp(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 Py_INCREF(Py_None
); resultobj
= Py_None
;
19459 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19484 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19509 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19534 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19559 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19584 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19587 wxPrintData
*result
;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19599 result
= (wxPrintData
*) &_result_ref
;
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19612 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19615 wxPrintData
*arg2
= 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "printData", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19625 if (arg2
== NULL
) {
19626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 Py_INCREF(Py_None
); resultobj
= Py_None
;
19642 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19645 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19647 return Py_BuildValue((char *)"");
19649 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxWindow
*arg1
= (wxWindow
*) 0 ;
19652 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19653 wxPrintDialog
*result
;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "parent",(char *) "data", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19679 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19682 wxPrintDialogData
*result
;
19683 PyObject
* obj0
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19694 result
= (wxPrintDialogData
*) &_result_ref
;
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19707 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxDC
*)(arg1
)->GetPrintDC();
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= wxPyMake_wxObject(result
);
19734 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)(arg1
)->ShowModal();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_PyObj_FromInt((int)result
);
19759 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19762 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19764 return Py_BuildValue((char *)"");
19766 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "data", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxPrinter
*)new wxPrinter(arg1
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19793 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19820 wxWindow
*arg2
= (wxWindow
*) 0 ;
19821 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 PyObject
* obj2
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self",(char *) "parent",(char *) "printout", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19832 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 Py_INCREF(Py_None
); resultobj
= Py_None
;
19847 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19850 wxPrintDialogData
*result
;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19862 result
= (wxPrintDialogData
*) &_result_ref
;
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19875 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19878 wxWindow
*arg2
= (wxWindow
*) 0 ;
19879 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19880 int arg4
= (int) True
;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 PyObject
* obj2
= 0 ;
19885 PyObject
* obj3
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19896 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19914 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19917 wxWindow
*arg2
= (wxWindow
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "parent", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= wxPyMake_wxObject(result
);
19944 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19947 wxWindow
*arg2
= (wxWindow
*) 0 ;
19948 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19949 wxString
*arg4
= 0 ;
19950 bool temp4
= False
;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 PyObject
* obj2
= 0 ;
19954 PyObject
* obj3
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19962 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19964 arg4
= wxString_in_helper(obj3
);
19965 if (arg4
== NULL
) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19993 wxWindow
*arg2
= (wxWindow
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "parent", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (bool)(arg1
)->Setup(arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20018 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)(arg1
)->GetAbort();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20043 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20046 char *kwnames
[] = {
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (int)wxPrinter::GetLastError();
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_PyObj_FromInt((int)result
);
20065 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
20067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20068 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20070 return Py_BuildValue((char *)"");
20072 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20075 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20076 wxPyPrintout
*result
;
20077 bool temp1
= False
;
20078 PyObject
* obj0
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "title", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20086 arg1
= wxString_in_helper(obj0
);
20087 if (arg1
== NULL
) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= wxPyMake_wxObject(result
);
20115 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20118 PyObject
*arg2
= (PyObject
*) 0 ;
20119 PyObject
*arg3
= (PyObject
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "self",(char *) "_class", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20176 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (wxDC
*)(arg1
)->GetDC();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= wxPyMake_wxObject(result
);
20203 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20206 wxDC
*arg2
= (wxDC
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "dc", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->SetDC(arg2
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 Py_INCREF(Py_None
); resultobj
= Py_None
;
20230 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 PyObject
* obj2
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "w",(char *) "h", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20269 int *arg2
= (int *) 0 ;
20270 int *arg3
= (int *) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20292 resultobj
= t_output_helper(resultobj
,o
);
20295 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20296 resultobj
= t_output_helper(resultobj
,o
);
20304 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 PyObject
* obj2
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "w",(char *) "h", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20340 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
;
20342 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20343 int *arg2
= (int *) 0 ;
20344 int *arg3
= (int *) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20366 resultobj
= t_output_helper(resultobj
,o
);
20369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20370 resultobj
= t_output_helper(resultobj
,o
);
20378 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 PyObject
* obj2
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "x",(char *) "y", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 (arg1
)->SetPPIScreen(arg2
,arg3
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 Py_INCREF(Py_None
); resultobj
= Py_None
;
20414 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20417 int *arg2
= (int *) 0 ;
20418 int *arg3
= (int *) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 (arg1
)->GetPPIScreen(arg2
,arg3
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20440 resultobj
= t_output_helper(resultobj
,o
);
20443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20444 resultobj
= t_output_helper(resultobj
,o
);
20452 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "x",(char *) "y", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20467 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20491 int *arg2
= (int *) 0 ;
20492 int *arg3
= (int *) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 Py_INCREF(Py_None
); resultobj
= Py_None
;
20513 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20514 resultobj
= t_output_helper(resultobj
,o
);
20517 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20518 resultobj
= t_output_helper(resultobj
,o
);
20526 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (bool)(arg1
)->IsPreview();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20551 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "p", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20564 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->SetIsPreview(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 PyObject
* obj2
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20618 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->base_OnEndDocument();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20642 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->base_OnBeginPrinting();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->base_OnEndPrinting();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 (arg1
)->base_OnPreparePrinting();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 Py_INCREF(Py_None
); resultobj
= Py_None
;
20714 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self",(char *) "page", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (bool)(arg1
)->base_HasPage(arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20745 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20748 int *arg2
= (int *) 0 ;
20749 int *arg3
= (int *) 0 ;
20750 int *arg4
= (int *) 0 ;
20751 int *arg5
= (int *) 0 ;
20756 PyObject
* obj0
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 Py_INCREF(Py_None
); resultobj
= Py_None
;
20776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20777 resultobj
= t_output_helper(resultobj
,o
);
20780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20781 resultobj
= t_output_helper(resultobj
,o
);
20784 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20785 resultobj
= t_output_helper(resultobj
,o
);
20788 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20789 resultobj
= t_output_helper(resultobj
,o
);
20797 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20800 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20802 return Py_BuildValue((char *)"");
20804 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20807 wxWindow
*arg2
= (wxWindow
*) 0 ;
20808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20812 long arg5
= (long) 0 ;
20813 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20814 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20815 wxPreviewCanvas
*result
;
20818 bool temp6
= False
;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 PyObject
* obj2
= 0 ;
20822 PyObject
* obj3
= 0 ;
20823 PyObject
* obj4
= 0 ;
20824 PyObject
* obj5
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20835 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20846 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20852 arg6
= wxString_in_helper(obj5
);
20853 if (arg6
== NULL
) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20879 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20882 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20884 return Py_BuildValue((char *)"");
20886 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20889 wxFrame
*arg2
= (wxFrame
*) 0 ;
20890 wxString
*arg3
= 0 ;
20891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20895 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20896 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20897 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20898 wxPreviewFrame
*result
;
20899 bool temp3
= False
;
20902 bool temp7
= False
;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 PyObject
* obj2
= 0 ;
20906 PyObject
* obj3
= 0 ;
20907 PyObject
* obj4
= 0 ;
20908 PyObject
* obj5
= 0 ;
20909 PyObject
* obj6
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20918 arg3
= wxString_in_helper(obj2
);
20919 if (arg3
== NULL
) SWIG_fail
;
20925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20936 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20942 arg7
= wxString_in_helper(obj6
);
20943 if (arg7
== NULL
) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20977 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->Initialize();
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21001 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->CreateControlBar();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->CreateCanvas();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21052 wxPreviewControlBar
*result
;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
21074 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21077 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21079 return Py_BuildValue((char *)"");
21081 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21085 wxWindow
*arg3
= (wxWindow
*) 0 ;
21086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21090 long arg6
= (long) wxTAB_TRAVERSAL
;
21091 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21093 wxPreviewControlBar
*result
;
21096 bool temp7
= False
;
21097 PyObject
* obj0
= 0 ;
21098 PyObject
* obj1
= 0 ;
21099 PyObject
* obj2
= 0 ;
21100 PyObject
* obj3
= 0 ;
21101 PyObject
* obj4
= 0 ;
21102 PyObject
* obj5
= 0 ;
21103 PyObject
* obj6
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21111 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21129 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21135 arg7
= wxString_in_helper(obj6
);
21136 if (arg7
== NULL
) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
21162 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (int)(arg1
)->GetZoomControl();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_PyObj_FromInt((int)result
);
21187 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self",(char *) "zoom", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21200 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetZoomControl(arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21220 wxPrintPreview
*result
;
21221 PyObject
* obj0
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
21242 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 Py_INCREF(Py_None
); resultobj
= Py_None
;
21266 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 (arg1
)->OnPrevious();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 Py_INCREF(Py_None
); resultobj
= Py_None
;
21290 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 Py_INCREF(Py_None
); resultobj
= Py_None
;
21314 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 Py_INCREF(Py_None
); resultobj
= Py_None
;
21338 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 Py_INCREF(Py_None
); resultobj
= Py_None
;
21362 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21365 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21367 return Py_BuildValue((char *)"");
21369 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21372 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21373 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21374 wxPrintPreview
*result
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21386 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
21402 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "pageNum", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21433 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (int)(arg1
)->GetCurrentPage();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_PyObj_FromInt((int)result
);
21458 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21461 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "printout", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetPrintout(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21488 wxPyPrintout
*result
;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= wxPyMake_wxObject(result
);
21512 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21515 wxPyPrintout
*result
;
21516 PyObject
* obj0
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= wxPyMake_wxObject(result
);
21539 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21542 wxFrame
*arg2
= (wxFrame
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "frame", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 (arg1
)->SetFrame(arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21569 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "canvas", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 (arg1
)->SetCanvas(arg2
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 Py_INCREF(Py_None
); resultobj
= Py_None
;
21593 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (wxFrame
*)(arg1
)->GetFrame();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= wxPyMake_wxObject(result
);
21620 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21623 wxPreviewCanvas
*result
;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21645 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21648 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21661 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21662 if (arg3
== NULL
) {
21663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21679 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21682 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21695 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21696 if (arg3
== NULL
) {
21697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21713 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "pageNum", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (bool)(arg1
)->RenderPage(arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21744 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21747 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "canvas", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->AdjustScrollbars(arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21774 wxPrintDialogData
*result
;
21775 PyObject
* obj0
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21786 result
= (wxPrintDialogData
*) &_result_ref
;
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21799 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "percent", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21812 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 (arg1
)->SetZoom(arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 Py_INCREF(Py_None
); resultobj
= Py_None
;
21829 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (int)(arg1
)->GetZoom();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_PyObj_FromInt((int)result
);
21854 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (int)(arg1
)->GetMaxPage();
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_PyObj_FromInt((int)result
);
21879 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (int)(arg1
)->GetMinPage();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_PyObj_FromInt((int)result
);
21904 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (bool)(arg1
)->Ok();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21929 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "ok", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21942 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 (arg1
)->SetOk(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 Py_INCREF(Py_None
); resultobj
= Py_None
;
21959 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "interactive", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21973 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (bool)(arg1
)->Print(arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21990 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->DetermineScaling();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22017 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22019 return Py_BuildValue((char *)"");
22021 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22024 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22025 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
22026 wxPyPrintPreview
*result
;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 PyObject
* obj2
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22038 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
22054 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22057 PyObject
*arg2
= (PyObject
*) 0 ;
22058 PyObject
*arg3
= (PyObject
*) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj2
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "self",(char *) "_class", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "pageNum", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22098 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22115 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22118 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 PyObject
* obj2
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22131 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22132 if (arg3
== NULL
) {
22133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22149 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22152 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 PyObject
* obj2
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22165 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22166 if (arg3
== NULL
) {
22167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22183 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "pageNum", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22197 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22214 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self",(char *) "percent", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 (arg1
)->base_SetZoom(arg2
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 Py_INCREF(Py_None
); resultobj
= Py_None
;
22244 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22249 PyObject
* obj0
= 0 ;
22250 PyObject
* obj1
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self",(char *) "interactive", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22258 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (bool)(arg1
)->base_Print(arg2
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22275 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->base_DetermineScaling();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22299 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22302 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22304 return Py_BuildValue((char *)"");
22306 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22309 wxFrame
*arg2
= (wxFrame
*) 0 ;
22310 wxString
*arg3
= 0 ;
22311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22315 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22316 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22317 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22318 wxPyPreviewFrame
*result
;
22319 bool temp3
= False
;
22322 bool temp7
= False
;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 PyObject
* obj2
= 0 ;
22326 PyObject
* obj3
= 0 ;
22327 PyObject
* obj4
= 0 ;
22328 PyObject
* obj5
= 0 ;
22329 PyObject
* obj6
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22338 arg3
= wxString_in_helper(obj2
);
22339 if (arg3
== NULL
) SWIG_fail
;
22345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22356 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22362 arg7
= wxString_in_helper(obj6
);
22363 if (arg7
== NULL
) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
22397 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22400 PyObject
*arg2
= (PyObject
*) 0 ;
22401 PyObject
*arg3
= (PyObject
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 PyObject
* obj2
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "self",(char *) "_class", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22430 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self",(char *) "canvas", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->SetPreviewCanvas(arg2
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22457 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self",(char *) "bar", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetControlBar(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 (arg1
)->base_Initialize();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 Py_INCREF(Py_None
); resultobj
= Py_None
;
22505 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 (arg1
)->base_CreateCanvas();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->base_CreateControlBar();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22556 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22558 return Py_BuildValue((char *)"");
22560 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22564 wxWindow
*arg3
= (wxWindow
*) 0 ;
22565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22569 long arg6
= (long) 0 ;
22570 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22571 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22572 wxPyPreviewControlBar
*result
;
22575 bool temp7
= False
;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 PyObject
* obj3
= 0 ;
22580 PyObject
* obj4
= 0 ;
22581 PyObject
* obj5
= 0 ;
22582 PyObject
* obj6
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22590 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22608 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22614 arg7
= wxString_in_helper(obj6
);
22615 if (arg7
== NULL
) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22641 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22644 PyObject
*arg2
= (PyObject
*) 0 ;
22645 PyObject
*arg3
= (PyObject
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "self",(char *) "_class", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 Py_INCREF(Py_None
); resultobj
= Py_None
;
22671 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22674 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "preview", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 (arg1
)->SetPrintPreview(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 Py_INCREF(Py_None
); resultobj
= Py_None
;
22698 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 (arg1
)->base_CreateButtons();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 Py_INCREF(Py_None
); resultobj
= Py_None
;
22722 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "zoom", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->base_SetZoomControl(arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22755 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22757 return Py_BuildValue((char *)"");
22759 static PyMethodDef SwigMethods
[] = {
22760 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22765 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22766 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22773 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22780 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22781 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22787 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22788 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22802 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22824 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22825 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22826 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22830 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22837 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22841 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22844 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22845 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22850 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22859 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22865 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22870 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22876 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22880 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22891 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22895 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22898 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22906 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22921 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22925 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22929 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22931 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22941 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22944 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22947 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22948 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22952 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22956 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22958 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22962 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22967 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22972 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22973 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22977 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22982 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22995 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
23006 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23010 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23012 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23016 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23021 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23023 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23025 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23028 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23034 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23036 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23038 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23040 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23044 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23047 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23051 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23052 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23059 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23063 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23065 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23077 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23081 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23084 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23087 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23092 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23105 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23108 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23112 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23113 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23115 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23119 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23128 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23137 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23143 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23158 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23165 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23169 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23190 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23211 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23255 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23278 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23287 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23291 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23294 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23302 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23312 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23320 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23325 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23326 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23327 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23328 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23329 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23330 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23331 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23332 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23333 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23334 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23335 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23336 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23337 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23338 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23341 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23342 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23344 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23346 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23349 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23351 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23352 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23357 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23358 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23360 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23364 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23365 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23366 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23367 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23371 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23372 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23374 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23375 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23379 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23382 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23386 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23391 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23393 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23394 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23396 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23400 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23401 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23402 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23403 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23406 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23409 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23412 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23414 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23415 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23416 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23417 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23418 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23419 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23420 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23421 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23422 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23423 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23424 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23425 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23426 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23427 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23428 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23429 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23434 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23436 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23437 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23439 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23442 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23443 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23445 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23446 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23448 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23449 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23451 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23452 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23454 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23455 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23457 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23458 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23460 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23461 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23463 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23466 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23469 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23470 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23472 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23475 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23476 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23478 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23479 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23481 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23484 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23485 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23487 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23488 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23490 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23491 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23493 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23494 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23496 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23497 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23499 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23500 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23502 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23503 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23505 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23506 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23508 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23511 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23512 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23514 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23515 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23517 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23518 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23520 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23521 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23523 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23524 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23526 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23527 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23529 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23532 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23535 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23536 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23538 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23539 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23541 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23542 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23544 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23545 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23547 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23548 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23550 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23551 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23553 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23554 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23556 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23557 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23559 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23560 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23562 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23563 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23565 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23568 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23571 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23574 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23575 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23577 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23578 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23580 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23581 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23583 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23584 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23586 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23589 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23592 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23595 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23598 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23601 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23604 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23607 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23608 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23610 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23611 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23613 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23616 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23619 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23622 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23623 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23625 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23628 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23631 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23634 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23637 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23638 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23640 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23643 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23644 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23646 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23647 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23649 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23652 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23655 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23658 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23661 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23662 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23664 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23667 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23670 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23673 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23676 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23679 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23682 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23685 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23686 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23688 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23691 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23694 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23697 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23700 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23703 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23706 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23709 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23712 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23713 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23715 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23716 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23718 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23719 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23721 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23722 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23724 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23725 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23727 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23728 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23730 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23731 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23733 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23734 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23736 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23737 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23739 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23740 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23742 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23745 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23748 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23749 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23751 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23752 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23754 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23757 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23758 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23760 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23761 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23763 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23764 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23766 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23767 return (void *)((wxObject
*) ((wxSizer
*) x
));
23769 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23770 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23772 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23775 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23778 static void *_p_wxEventTo_p_wxObject(void *x
) {
23779 return (void *)((wxObject
*) ((wxEvent
*) x
));
23781 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23782 return (void *)((wxObject
*) ((wxFontData
*) x
));
23784 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23785 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23787 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23788 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23790 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23791 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23793 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23794 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23796 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23797 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23799 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23802 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23805 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23806 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23808 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23809 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23815 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23818 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23821 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23823 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23826 static void *_p_wxControlTo_p_wxObject(void *x
) {
23827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23829 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23830 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23832 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23835 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23836 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23838 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23839 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23841 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23842 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23844 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23847 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23848 return (void *)((wxObject
*) ((wxColourData
*) x
));
23850 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23851 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23853 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23856 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23859 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23862 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23865 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23868 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23871 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23874 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23877 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23880 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23883 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23884 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23886 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23887 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23889 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23890 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23892 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23893 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23895 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23898 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23899 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23901 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23902 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23904 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23905 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23907 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23908 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23910 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23911 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23913 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23914 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23916 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23919 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23922 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23925 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23928 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23931 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23934 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23935 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23937 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23938 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23940 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23943 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23946 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23947 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23949 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23952 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23953 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23955 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23956 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23958 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23961 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23964 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23965 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23967 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23970 static void *_p_wxImageTo_p_wxObject(void *x
) {
23971 return (void *)((wxObject
*) ((wxImage
*) x
));
23973 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23976 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23977 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23979 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23980 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23982 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23983 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23985 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23988 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23991 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23994 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23995 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23997 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23998 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24000 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24001 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24003 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24006 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24009 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24012 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24015 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24018 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24021 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24024 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24027 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24030 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24033 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24036 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24039 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24042 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24045 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24046 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24048 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24049 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24051 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24054 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24057 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24060 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24063 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24066 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24069 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24072 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24073 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24075 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24078 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24079 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24081 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24082 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24084 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24085 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24087 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24088 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24090 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24091 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24093 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24096 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24097 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24099 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24102 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24105 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24106 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24108 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24109 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24111 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24114 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24117 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24118 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24120 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24121 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24123 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24126 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24127 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24129 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24130 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24132 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24133 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24135 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24136 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24138 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24139 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24141 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24142 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24144 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24145 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24147 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24148 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24150 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24151 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24153 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24154 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24156 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24157 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24159 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24160 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24162 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24163 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24165 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24166 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24168 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24169 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24171 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24172 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24174 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24175 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24177 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24178 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24180 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24181 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24183 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24184 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24186 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24189 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24190 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24192 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24193 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24195 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24196 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24198 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24199 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24201 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24202 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24204 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24205 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24207 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24210 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24211 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24213 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24214 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24216 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24217 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24219 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24222 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24225 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24228 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24231 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24234 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24237 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24240 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24241 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24243 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24244 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24246 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24247 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24249 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24250 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24252 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24253 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24255 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24256 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24258 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24259 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24261 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24262 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24264 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24265 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24267 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24268 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24270 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24271 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24273 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24274 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24276 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24277 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24279 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24280 return (void *)((wxWindow
*) ((wxControl
*) x
));
24282 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24285 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24288 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24291 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24292 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24294 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24295 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24297 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24298 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24300 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24301 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24303 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24304 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24306 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24307 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24309 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24310 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24312 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24313 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24315 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24316 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24318 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24321 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24322 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24324 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24325 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24327 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24328 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24330 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24331 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24333 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24334 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24336 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24337 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24339 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24340 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24342 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24343 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24345 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24346 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24348 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24349 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24351 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24352 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24354 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24355 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24357 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24358 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24360 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24361 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24363 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24364 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24366 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24367 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24369 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24370 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24372 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24373 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24375 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24376 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24378 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24379 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24381 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24382 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24384 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24385 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24387 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24388 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24390 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24391 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24393 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24394 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24396 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24397 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24399 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24400 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24402 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24403 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24405 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24406 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24408 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24409 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24411 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24412 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24414 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24415 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24417 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24418 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24420 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24421 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24423 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24424 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24426 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24427 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24429 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24430 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24432 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24433 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24435 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24436 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24437 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24438 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24439 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24440 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24441 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24442 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
24443 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24444 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24445 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24446 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24447 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24448 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24449 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24450 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24451 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24452 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24453 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24454 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24455 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24456 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24457 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24458 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24459 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24460 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24461 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24462 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24463 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24464 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24465 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24466 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24467 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24468 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24469 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24470 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
24471 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24472 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24473 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24474 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24475 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24476 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24477 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
24478 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24479 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24480 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24481 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24482 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24483 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24484 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
24485 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24486 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24487 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24488 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24489 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24490 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24491 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
},{0}};
24492 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
24493 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
},{0}};
24494 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24495 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
24496 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
24497 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24498 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24499 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24500 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24501 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24502 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24503 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24504 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24505 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24506 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24507 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
},{0}};
24508 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
24509 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24510 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24511 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{0}};
24512 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24513 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24514 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24515 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24516 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24517 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24519 static swig_type_info
*swig_types_initial
[] = {
24520 _swigt__p_wxQueryLayoutInfoEvent
,
24521 _swigt__p_wxPreviewFrame
,
24522 _swigt__p_wxPyPreviewFrame
,
24523 _swigt__p_wxPyPanel
,
24525 _swigt__p_wxPrintData
,
24526 _swigt__p_wxFontData
,
24528 _swigt__p_wxTaskBarIcon
,
24529 _swigt__p_wxIconBundle
,
24530 _swigt__p_wxLayoutAlgorithm
,
24531 _swigt__p_wxFindDialogEvent
,
24532 _swigt__p_wxPreviewCanvas
,
24534 _swigt__p_wxSplitterEvent
,
24535 _swigt__p_wxRegion
,
24536 _swigt__p_wxFindReplaceData
,
24541 _swigt__p_wxMDIChildFrame
,
24542 _swigt__p_wxColourData
,
24543 _swigt__p_wxNotifyEvent
,
24544 _swigt__p_wxPyWindow
,
24545 _swigt__p_wxSplashScreen
,
24546 _swigt__p_wxFindReplaceDialog
,
24547 _swigt__p_wxProgressDialog
,
24548 _swigt__p_wxMessageDialog
,
24549 _swigt__p_wxTextEntryDialog
,
24550 _swigt__p_wxSingleChoiceDialog
,
24551 _swigt__p_wxMultiChoiceDialog
,
24552 _swigt__p_wxFileDialog
,
24553 _swigt__p_wxPrinter
,
24554 _swigt__p_wxArrayInt
,
24555 _swigt__p_wxEvtHandler
,
24556 _swigt__p_wxCalculateLayoutEvent
,
24557 _swigt__p_wxPyHtmlListBox
,
24558 _swigt__p_wxPyVListBox
,
24561 _swigt__p_wxMiniFrame
,
24563 _swigt__p_wxPyPrintout
,
24564 _swigt__p_wxTaskBarIconEvent
,
24565 _swigt__p_wxScrollWinEvent
,
24566 _swigt__p_wxStatusBar
,
24567 _swigt__p_wxMDIParentFrame
,
24569 _swigt__p_wxObject
,
24570 _swigt__p_unsigned_long
,
24571 _swigt__p_wxMDIClientWindow
,
24572 _swigt__p_wxTipWindow
,
24573 _swigt__p_wxSashLayoutWindow
,
24574 _swigt__p_wxSplitterWindow
,
24575 _swigt__p_wxSplashScreenWindow
,
24576 _swigt__p_wxPyVScrolledWindow
,
24577 _swigt__p_wxPyPopupTransientWindow
,
24578 _swigt__p_wxPopupWindow
,
24579 _swigt__p_wxSashWindow
,
24580 _swigt__p_wxTopLevelWindow
,
24581 _swigt__p_wxWindow
,
24582 _swigt__p_wxScrolledWindow
,
24583 _swigt__p_wxMenuBar
,
24584 _swigt__p_wxPrintPreview
,
24585 _swigt__p_wxSashEvent
,
24586 _swigt__p_wxString
,
24587 _swigt__p_wxPyPrintPreview
,
24588 _swigt__p_wxPageSetupDialog
,
24589 _swigt__p_wxFontDialog
,
24590 _swigt__p_wxDirDialog
,
24591 _swigt__p_wxColourDialog
,
24592 _swigt__p_wxDialog
,
24594 _swigt__p_wxPrintDialog
,
24595 _swigt__p_wxBitmap
,
24596 _swigt__p_wxCommandEvent
,
24597 _swigt__p_wxPreviewControlBar
,
24598 _swigt__p_wxPyPreviewControlBar
,
24599 _swigt__p_wxColour
,
24600 _swigt__p_wxToolBar
,
24601 _swigt__p_wxPageSetupDialogData
,
24602 _swigt__p_wxPrintDialogData
,
24607 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24609 static swig_const_info swig_const_table
[] = {
24619 SWIGEXPORT(void) SWIG_init(void) {
24620 static PyObject
*SWIG_globals
= 0;
24621 static int typeinit
= 0;
24624 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24625 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24626 d
= PyModule_GetDict(m
);
24629 for (i
= 0; swig_types_initial
[i
]; i
++) {
24630 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24634 SWIG_InstallConstants(d
,swig_const_table
);
24636 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24637 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24638 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24639 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24640 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24641 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24642 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24643 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24644 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24645 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24646 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24647 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24648 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24649 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24650 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24651 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24652 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24653 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24654 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24655 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24656 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24657 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24658 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24659 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24660 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24661 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24662 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24663 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24664 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24665 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24666 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24667 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24668 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24669 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24670 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24671 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24672 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24673 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24674 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24675 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24676 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24677 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24678 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24679 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24680 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24681 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24682 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24683 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24684 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24685 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24686 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24687 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24688 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24689 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24690 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24691 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24692 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24693 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24694 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24695 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24696 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24697 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24698 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24699 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24700 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24701 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24702 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24704 // Map renamed classes back to their common name for OOR
24705 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24706 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24707 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24709 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24710 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24711 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24712 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24713 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24714 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24715 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24716 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24717 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24718 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24719 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24720 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24721 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24722 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24723 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24724 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24725 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24726 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24727 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24728 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24729 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24730 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24731 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24732 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24733 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24734 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24735 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24736 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24737 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24738 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24739 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24740 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24741 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24742 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24743 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24744 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24745 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24746 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24747 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24748 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24749 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24750 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24751 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24752 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24753 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24754 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24755 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24756 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24757 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24758 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24759 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24760 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24761 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24762 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24763 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24764 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24765 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24766 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24767 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24769 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");