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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
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
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info
*swig_types
[83];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
310 static const wxString
wxPyEmptyString(wxEmptyString
);
311 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
315 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
321 } else if (target
== Py_None
) {
325 if (!PyTuple_Check(target
)) {
327 target
= PyTuple_New(1);
328 PyTuple_SetItem(target
, 0, o2
);
331 PyTuple_SetItem(o3
, 0, o
);
334 target
= PySequence_Concat(o2
, o3
);
341 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
342 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
343 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
344 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
345 bool wxDialog_IsModalShowing(wxDialog
*self
){
349 return self
->IsModalShowing();
354 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
356 self
->GetFieldRect(i
, r
);
359 static const wxString
wxPySplitterNameStr(wxT(wxT("splitter")));
360 static const wxString
wxPySashNameStr(wxT(wxT("sashWindow")));
361 static const wxString
wxPySashLayoutNameStr(wxT(wxT("layoutWindow")));
363 #include <wx/popupwin.h>
366 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
371 : wxPopupTransientWindow(parent
, style
) {}
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
374 DEC_PYCALLBACK__(OnDismiss
);
375 DEC_PYCALLBACK_BOOL_(CanDismiss
);
380 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
381 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
382 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
385 #include <wx/tipwin.h>
387 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
388 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
391 #include <wx/tipwin.h>
394 #include <wx/vscroll.h>
397 class wxPyVScrolledWindow
: public wxVScrolledWindow
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
403 wxPyVScrolledWindow(wxWindow
*parent
,
404 wxWindowID id
= wxID_ANY
,
405 const wxPoint
& pos
= wxDefaultPosition
,
406 const wxSize
& size
= wxDefaultSize
,
408 const wxString
& name
= wxPyPanelNameStr
)
409 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
412 // Overridable virtuals
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
441 // this function should return the best guess for the total height it may
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
446 // Also expose some other interesting protected methods
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
451 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
463 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
465 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
466 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
467 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
470 #include <wx/vlbox.h>
472 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
474 class wxPyVListBox
: public wxVListBox
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
478 wxPyVListBox() : wxVListBox() {}
480 wxPyVListBox(wxWindow
*parent
,
481 wxWindowID id
= wxID_ANY
,
482 const wxPoint
& pos
= wxDefaultPosition
,
483 const wxSize
& size
= wxDefaultSize
,
485 const wxString
& name
= wxPyVListBoxNameStr
)
486 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
489 // Overridable virtuals
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
497 // the derived class must implement this method to return the height of the
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
512 // this method is used to draw the items background and, maybe, a border
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
526 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
528 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
529 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
530 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
531 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
535 #include <wx/htmllbox.h>
538 class wxPyHtmlListBox
: public wxHtmlListBox
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
542 wxPyHtmlListBox() : wxHtmlListBox() {}
544 wxPyHtmlListBox(wxWindow
*parent
,
545 wxWindowID id
= wxID_ANY
,
546 const wxPoint
& pos
= wxDefaultPosition
,
547 const wxSize
& size
= wxDefaultSize
,
549 const wxString
& name
= wxPyVListBoxNameStr
)
550 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
553 // Overridable virtuals
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
563 // // this method allows to customize the selection appearance: it may be used
564 // // to specify the colour of the text which normally has the given colour
565 // // colFg when it is inside the selection
567 // // by default, the original colour is not used at all and all text has the
568 // // same (default for this system) colour inside selection
569 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
571 // // this is the same as GetSelectedTextColour() but allows to customize the
572 // // background colour -- this is even more rarely used as you can change it
573 // // globally using SetSelectionBackground()
574 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
581 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
583 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
584 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
591 // implement dummy classes and such for wxMac
593 class wxTaskBarIcon
: public wxEvtHandler
596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
600 class wxTaskBarIconEvent
: public wxEvent
603 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
604 { wxPyRaiseNotImplemented(); }
605 virtual wxEvent
* Clone() const { return NULL
; }
609 wxEVT_TASKBAR_MOVE
= 0,
610 wxEVT_TASKBAR_LEFT_DOWN
= 0,
611 wxEVT_TASKBAR_LEFT_UP
= 0,
612 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
613 wxEVT_TASKBAR_RIGHT_UP
= 0,
614 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
619 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
620 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
621 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
622 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
623 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
624 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
625 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
627 self
->GetFilenames(arr
);
628 return wxArrayString2PyList_helper(arr
);
630 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
633 return wxArrayString2PyList_helper(arr
);
635 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
636 return wxArrayInt2PyList_helper(self
->GetSelections());
638 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
639 return new wxSingleChoiceDialog(parent
, message
, caption
,
640 choices
, choices_array
, NULL
, style
, pos
);
645 // C++ version of Python aware wxWindow
646 class wxPyWindow
: public wxWindow
648 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
652 const wxPoint
& pos
= wxDefaultPosition
,
653 const wxSize
& size
= wxDefaultSize
,
655 const wxString
& name
= wxPyPanelNameStr
)
656 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
671 DEC_PYCALLBACK__(InitDialog
);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
674 DEC_PYCALLBACK_BOOL_(Validate
);
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
686 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
688 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
689 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
690 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
691 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
693 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
694 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
695 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
697 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
698 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
700 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
701 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
702 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
703 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
705 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
706 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
709 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
710 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
713 // C++ version of Python aware wxPanel
714 class wxPyPanel
: public wxPanel
716 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
720 const wxPoint
& pos
= wxDefaultPosition
,
721 const wxSize
& size
= wxDefaultSize
,
723 const wxString
& name
= wxPyPanelNameStr
)
724 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
739 DEC_PYCALLBACK__(InitDialog
);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
742 DEC_PYCALLBACK_BOOL_(Validate
);
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
754 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
756 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
757 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
758 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
759 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
761 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
762 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
763 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
765 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
766 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
768 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
769 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
770 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
771 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
773 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
774 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
777 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
778 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
782 #include "wx/wxPython/printfw.h"
785 static const wxString
wxPyPrintoutTitleStr(wxT(wxT("Printout")));
786 static const wxString
wxPyPreviewCanvasNameStr(wxT(wxT("previewcanvas")));
790 // Since this one would be tough and ugly to do with the Macros...
791 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
795 wxPyBeginBlockThreads();
796 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
797 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
798 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
801 val
= PyTuple_GetItem(result
, 0);
802 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
805 val
= PyTuple_GetItem(result
, 1);
806 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
809 val
= PyTuple_GetItem(result
, 2);
810 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
813 val
= PyTuple_GetItem(result
, 3);
814 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
821 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
826 wxPyEndBlockThreads();
828 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
831 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
832 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
836 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
837 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
838 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
839 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
840 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
841 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
842 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
848 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
853 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
865 wxPyEndBlockThreads(); \
867 rval = PCLASS::CBNAME(a, b); \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
877 class wxPyPrintPreview
: public wxPrintPreview
879 DECLARE_CLASS(wxPyPrintPreview
)
881 wxPyPrintPreview(wxPyPrintout
* printout
,
882 wxPyPrintout
* printoutForPrinting
,
883 wxPrintData
* data
=NULL
)
884 : wxPrintPreview(printout
, printoutForPrinting
, data
)
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
891 DEC_PYCALLBACK_VOID_INT(SetZoom
);
892 DEC_PYCALLBACK_BOOL_BOOL(Print
);
893 DEC_PYCALLBACK_VOID_(DetermineScaling
);
898 // Stupid renamed classes... Fix this in 2.5...
899 #if defined(__WXMSW__)
900 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
901 #elif defined(__WXMAC__)
902 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
904 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
907 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
908 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
909 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
910 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
911 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
912 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
913 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
916 class wxPyPreviewFrame
: public wxPreviewFrame
918 DECLARE_CLASS(wxPyPreviewFrame
);
920 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
921 const wxString
& title
,
922 const wxPoint
& pos
= wxDefaultPosition
,
923 const wxSize
& size
= wxDefaultSize
,
924 long style
= wxDEFAULT_FRAME_STYLE
,
925 const wxString
& name
= wxPyFrameNameStr
)
926 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
929 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
930 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
932 DEC_PYCALLBACK_VOID_(Initialize
);
933 DEC_PYCALLBACK_VOID_(CreateCanvas
);
934 DEC_PYCALLBACK_VOID_(CreateControlBar
);
939 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
941 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
942 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
943 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
946 class wxPyPreviewControlBar
: public wxPreviewControlBar
948 DECLARE_CLASS(wxPyPreviewControlBar
);
950 wxPyPreviewControlBar(wxPrintPreview
*preview
,
953 const wxPoint
& pos
= wxDefaultPosition
,
954 const wxSize
& size
= wxDefaultSize
,
956 const wxString
& name
= wxPyPanelNameStr
)
957 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
960 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
962 DEC_PYCALLBACK_VOID_(CreateButtons
);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
968 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
969 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
970 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
975 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 wxWindow
*arg1
= (wxWindow
*) 0 ;
978 int arg2
= (int) (int)-1 ;
979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
983 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
984 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
985 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
990 PyObject
* obj0
= 0 ;
991 PyObject
* obj2
= 0 ;
992 PyObject
* obj3
= 0 ;
993 PyObject
* obj5
= 0 ;
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1014 arg6
= wxString_in_helper(obj5
);
1015 if (arg6
== NULL
) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1041 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= (wxPanel
*)new wxPanel();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1063 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
*resultobj
;
1065 wxPanel
*arg1
= (wxPanel
*) 0 ;
1066 wxWindow
*arg2
= (wxWindow
*) 0 ;
1068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1072 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1073 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1078 bool temp7
= False
;
1079 PyObject
* obj0
= 0 ;
1080 PyObject
* obj1
= 0 ;
1081 PyObject
* obj3
= 0 ;
1082 PyObject
* obj4
= 0 ;
1083 PyObject
* obj6
= 0 ;
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1105 arg7
= wxString_in_helper(obj6
);
1106 if (arg7
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= PyInt_FromLong((long)result
);
1132 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxPanel
*arg1
= (wxPanel
*) 0 ;
1135 PyObject
* obj0
= 0 ;
1137 (char *) "self", NULL
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 (arg1
)->InitDialog();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1161 return Py_BuildValue((char *)"");
1163 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxWindow
*arg1
= (wxWindow
*) 0 ;
1166 int arg2
= (int) (int)-1 ;
1167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1171 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1172 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1173 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1174 wxScrolledWindow
*result
;
1177 bool temp6
= False
;
1178 PyObject
* obj0
= 0 ;
1179 PyObject
* obj2
= 0 ;
1180 PyObject
* obj3
= 0 ;
1181 PyObject
* obj5
= 0 ;
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1202 arg6
= wxString_in_helper(obj5
);
1203 if (arg6
== NULL
) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1229 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
*resultobj
;
1231 wxScrolledWindow
*result
;
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1251 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
*resultobj
;
1253 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1254 wxWindow
*arg2
= (wxWindow
*) 0 ;
1255 int arg3
= (int) (int)-1 ;
1256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1260 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1261 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1266 bool temp7
= False
;
1267 PyObject
* obj0
= 0 ;
1268 PyObject
* obj1
= 0 ;
1269 PyObject
* obj3
= 0 ;
1270 PyObject
* obj4
= 0 ;
1271 PyObject
* obj6
= 0 ;
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1293 arg7
= wxString_in_helper(obj6
);
1294 if (arg7
== NULL
) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 resultobj
= PyInt_FromLong((long)result
);
1320 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1327 int arg6
= (int) 0 ;
1328 int arg7
= (int) 0 ;
1329 bool arg8
= (bool) False
;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj7
= 0 ;
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 arg8
= PyInt_AsLong(obj7
) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 Py_INCREF(Py_None
); resultobj
= Py_None
;
1356 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1361 PyObject
* obj0
= 0 ;
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 (arg1
)->Scroll(arg2
,arg3
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 Py_INCREF(Py_None
); resultobj
= Py_None
;
1382 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1387 PyObject
* obj0
= 0 ;
1389 (char *) "self",(char *) "orient", NULL
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= PyInt_FromLong((long)result
);
1408 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1413 PyObject
* obj0
= 0 ;
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1427 Py_INCREF(Py_None
); resultobj
= Py_None
;
1434 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1439 PyObject
* obj0
= 0 ;
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 (arg1
)->SetScrollRate(arg2
,arg3
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1453 Py_INCREF(Py_None
); resultobj
= Py_None
;
1460 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1463 int *arg2
= (int *) 0 ;
1464 int *arg3
= (int *) 0 ;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 Py_INCREF(Py_None
); resultobj
= Py_None
;
1485 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1486 resultobj
= t_output_helper(resultobj
,o
);
1489 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1490 resultobj
= t_output_helper(resultobj
,o
);
1498 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1505 PyObject
* obj2
= 0 ;
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1512 arg2
= PyInt_AsLong(obj1
) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail
;
1514 arg3
= PyInt_AsLong(obj2
) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 (arg1
)->EnableScrolling(arg2
,arg3
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 Py_INCREF(Py_None
); resultobj
= Py_None
;
1530 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1533 int *arg2
= (int *) 0 ;
1534 int *arg3
= (int *) 0 ;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "self", NULL
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 Py_INCREF(Py_None
); resultobj
= Py_None
;
1555 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1556 resultobj
= t_output_helper(resultobj
,o
);
1559 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1560 resultobj
= t_output_helper(resultobj
,o
);
1568 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 (arg1
)->SetScale(arg2
,arg3
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1598 PyObject
* obj0
= 0 ;
1600 (char *) "self", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 resultobj
= PyFloat_FromDouble(result
);
1619 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= PyFloat_FromDouble(result
);
1644 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1645 PyObject
*resultobj
;
1646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxPoint
* resultptr
;
1668 resultptr
= new wxPoint((wxPoint
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1677 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1678 PyObject
*resultobj
;
1679 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1682 int *arg4
= (int *) 0 ;
1683 int *arg5
= (int *) 0 ;
1686 PyObject
* obj0
= 0 ;
1690 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 Py_INCREF(Py_None
); resultobj
= Py_None
;
1701 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1702 resultobj
= t_output_helper(resultobj
,o
);
1705 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1706 resultobj
= t_output_helper(resultobj
,o
);
1714 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1719 argc
= PyObject_Length(args
);
1720 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1721 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1727 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1736 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1747 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1756 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1760 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1769 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1774 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1775 PyObject
*resultobj
;
1776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1780 PyObject
* obj0
= 0 ;
1781 PyObject
* obj1
= 0 ;
1783 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxPoint
* resultptr
;
1798 resultptr
= new wxPoint((wxPoint
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1807 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1808 PyObject
*resultobj
;
1809 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1812 int *arg4
= (int *) 0 ;
1813 int *arg5
= (int *) 0 ;
1816 PyObject
* obj0
= 0 ;
1820 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1832 resultobj
= t_output_helper(resultobj
,o
);
1835 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1836 resultobj
= t_output_helper(resultobj
,o
);
1844 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
1849 argc
= PyObject_Length(args
);
1850 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1851 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1857 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1866 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
1877 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1886 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
1890 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
1899 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1904 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 (arg1
)->AdjustScrollbars();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 Py_INCREF(Py_None
); resultobj
= Py_None
;
1928 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1931 wxScrollWinEvent
*arg2
= 0 ;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1936 (char *) "self",(char *) "event", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= PyInt_FromLong((long)result
);
1959 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1962 wxWindow
*arg2
= (wxWindow
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 (char *) "self",(char *) "target", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 (arg1
)->SetTargetWindow(arg2
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1992 (char *) "self", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= wxPyMake_wxObject(result
);
2013 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "rect", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2064 resultptr
= new wxRect((wxRect
&) result
);
2065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2073 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2078 return Py_BuildValue((char *)"");
2080 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2086 static PyObject
*_wrap_FrameNameStr_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2100 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2101 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2106 static PyObject
*_wrap_DialogNameStr_get() {
2111 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2113 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2120 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2121 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2126 static PyObject
*_wrap_StatusLineNameStr_get() {
2131 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2133 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2140 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2141 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2146 static PyObject
*_wrap_ToolBarNameStr_get() {
2151 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2153 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2160 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2163 bool arg2
= (bool) True
;
2164 PyObject
* obj0
= 0 ;
2165 PyObject
* obj1
= 0 ;
2167 (char *) "self",(char *) "maximize", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2173 arg2
= PyInt_AsLong(obj1
) ? true : false;
2174 if (PyErr_Occurred()) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->Maximize(arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2217 bool arg2
= (bool) True
;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "iconize", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 arg2
= PyInt_AsLong(obj1
) ? true : false;
2228 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->Iconize(arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= PyInt_FromLong((long)result
);
2269 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2275 (char *) "self", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= PyInt_FromLong((long)result
);
2294 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2300 (char *) "self", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2314 resultptr
= new wxIcon((wxIcon
&) result
);
2315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2323 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2328 PyObject
* obj1
= 0 ;
2330 (char *) "self",(char *) "icon", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2356 wxIconBundle
*arg2
= 0 ;
2357 PyObject
* obj0
= 0 ;
2358 PyObject
* obj1
= 0 ;
2360 (char *) "self",(char *) "icons", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2387 long arg3
= (long) wxFULLSCREEN_ALL
;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "show",(char *) "style", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2397 arg2
= PyInt_AsLong(obj1
) ? true : false;
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 resultobj
= PyInt_FromLong((long)result
);
2413 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2417 PyObject
* obj0
= 0 ;
2419 (char *) "self", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= PyInt_FromLong((long)result
);
2438 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2441 wxString
*arg2
= 0 ;
2442 bool temp2
= False
;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "title", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2452 arg2
= wxString_in_helper(obj1
);
2453 if (arg2
== NULL
) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 (arg1
)->SetTitle((wxString
const &)*arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2509 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2512 wxRegion
*arg2
= 0 ;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2517 (char *) "self",(char *) "region", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= PyInt_FromLong((long)result
);
2540 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2543 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2545 return Py_BuildValue((char *)"");
2547 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxWindow
*arg1
= (wxWindow
*) 0 ;
2551 wxString
*arg3
= 0 ;
2552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2556 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2557 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2560 bool temp3
= False
;
2563 bool temp7
= False
;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj2
= 0 ;
2566 PyObject
* obj3
= 0 ;
2567 PyObject
* obj4
= 0 ;
2568 PyObject
* obj6
= 0 ;
2570 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 arg3
= wxString_in_helper(obj2
);
2577 if (arg3
== NULL
) SWIG_fail
;
2583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2594 arg7
= wxString_in_helper(obj6
);
2595 if (arg7
== NULL
) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= wxPyMake_wxObject(result
);
2631 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (wxFrame
*)new wxFrame();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= wxPyMake_wxObject(result
);
2655 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxFrame
*arg1
= (wxFrame
*) 0 ;
2658 wxWindow
*arg2
= (wxWindow
*) 0 ;
2660 wxString
*arg4
= 0 ;
2661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2665 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2666 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2669 bool temp4
= False
;
2672 bool temp8
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2675 PyObject
* obj3
= 0 ;
2676 PyObject
* obj4
= 0 ;
2677 PyObject
* obj5
= 0 ;
2678 PyObject
* obj7
= 0 ;
2680 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 arg4
= wxString_in_helper(obj3
);
2688 if (arg4
== NULL
) SWIG_fail
;
2694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2705 arg8
= wxString_in_helper(obj7
);
2706 if (arg8
== NULL
) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= PyInt_FromLong((long)result
);
2740 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxFrame
*arg1
= (wxFrame
*) 0 ;
2744 PyObject
* obj0
= 0 ;
2746 (char *) "self", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 wxPoint
* resultptr
;
2760 resultptr
= new wxPoint((wxPoint
&) result
);
2761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2769 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxFrame
*arg1
= (wxFrame
*) 0 ;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "self", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SendSizeEvent();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxFrame
*arg1
= (wxFrame
*) 0 ;
2796 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "menubar", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 (arg1
)->SetMenuBar(arg2
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 Py_INCREF(Py_None
); resultobj
= Py_None
;
2820 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxFrame
*arg1
= (wxFrame
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "self", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 resultobj
= wxPyMake_wxObject(result
);
2847 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxFrame
*arg1
= (wxFrame
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self",(char *) "winid", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= (bool)(arg1
)->ProcessCommand(arg2
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= PyInt_FromLong((long)result
);
2873 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxFrame
*arg1
= (wxFrame
*) 0 ;
2876 int arg2
= (int) 1 ;
2877 long arg3
= (long) wxST_SIZEGRIP
;
2878 int arg4
= (int) 0 ;
2879 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
2880 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2881 wxStatusBar
*result
;
2882 bool temp5
= False
;
2883 PyObject
* obj0
= 0 ;
2884 PyObject
* obj4
= 0 ;
2886 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 arg5
= wxString_in_helper(obj4
);
2894 if (arg5
== NULL
) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= wxPyMake_wxObject(result
);
2922 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxFrame
*arg1
= (wxFrame
*) 0 ;
2925 wxStatusBar
*result
;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= wxPyMake_wxObject(result
);
2949 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxFrame
*arg1
= (wxFrame
*) 0 ;
2952 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2956 (char *) "self",(char *) "statBar", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 (arg1
)->SetStatusBar(arg2
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 Py_INCREF(Py_None
); resultobj
= Py_None
;
2976 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxFrame
*arg1
= (wxFrame
*) 0 ;
2979 wxString
*arg2
= 0 ;
2980 int arg3
= (int) 0 ;
2981 bool temp2
= False
;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "text",(char *) "number", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2991 arg2
= wxString_in_helper(obj1
);
2992 if (arg2
== NULL
) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxFrame
*arg1
= (wxFrame
*) 0 ;
3021 int *arg3
= (int *) 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3025 (char *) "self",(char *) "widths", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3031 arg2
= PyList_Size(obj1
);
3032 arg3
= int_LIST_helper(obj1
);
3033 if (arg3
== NULL
) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 if (arg3
) delete [] arg3
;
3049 if (arg3
) delete [] arg3
;
3055 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxFrame
*arg1
= (wxFrame
*) 0 ;
3058 wxString
*arg2
= 0 ;
3059 int arg3
= (int) 0 ;
3060 bool temp2
= False
;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "text",(char *) "number", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 arg2
= wxString_in_helper(obj1
);
3071 if (arg2
== NULL
) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxFrame
*arg1
= (wxFrame
*) 0 ;
3099 int arg2
= (int) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self",(char *) "number", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 (arg1
)->PopStatusText(arg2
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3114 Py_INCREF(Py_None
); resultobj
= Py_None
;
3121 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
*resultobj
;
3123 wxFrame
*arg1
= (wxFrame
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3127 (char *) "self",(char *) "n", NULL
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->SetStatusBarPane(arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxFrame
*arg1
= (wxFrame
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= PyInt_FromLong((long)result
);
3171 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxFrame
*arg1
= (wxFrame
*) 0 ;
3174 long arg2
= (long) -1 ;
3175 int arg3
= (int) -1 ;
3176 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3177 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3179 bool temp4
= False
;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj3
= 0 ;
3183 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3190 arg4
= wxString_in_helper(obj3
);
3191 if (arg4
== NULL
) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3203 resultobj
= wxPyMake_wxObject(result
);
3219 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxFrame
*arg1
= (wxFrame
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3225 (char *) "self", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= wxPyMake_wxObject(result
);
3246 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxFrame
*arg1
= (wxFrame
*) 0 ;
3249 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "toolbar", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetToolBar(arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxFrame
*arg1
= (wxFrame
*) 0 ;
3276 wxString
*arg2
= 0 ;
3278 bool temp2
= False
;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3281 PyObject
* obj2
= 0 ;
3283 (char *) "self",(char *) "text",(char *) "show", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3289 arg2
= wxString_in_helper(obj1
);
3290 if (arg2
== NULL
) SWIG_fail
;
3293 arg3
= PyInt_AsLong(obj2
) ? true : false;
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxFrame
*arg1
= (wxFrame
*) 0 ;
3320 wxMenu
*arg2
= (wxMenu
*) NULL
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "self",(char *) "menu", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->DoMenuUpdates(arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3351 return Py_BuildValue((char *)"");
3353 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxWindow
*arg1
= (wxWindow
*) 0 ;
3357 wxString
*arg3
= 0 ;
3358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3362 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3363 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3366 bool temp3
= False
;
3369 bool temp7
= False
;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj2
= 0 ;
3372 PyObject
* obj3
= 0 ;
3373 PyObject
* obj4
= 0 ;
3374 PyObject
* obj6
= 0 ;
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 arg3
= wxString_in_helper(obj2
);
3383 if (arg3
== NULL
) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3400 arg7
= wxString_in_helper(obj6
);
3401 if (arg7
== NULL
) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3435 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (wxDialog
*)new wxDialog();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3457 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxDialog
*arg1
= (wxDialog
*) 0 ;
3460 wxWindow
*arg2
= (wxWindow
*) 0 ;
3462 wxString
*arg4
= 0 ;
3463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3467 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3468 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3471 bool temp4
= False
;
3474 bool temp8
= False
;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3477 PyObject
* obj3
= 0 ;
3478 PyObject
* obj4
= 0 ;
3479 PyObject
* obj5
= 0 ;
3480 PyObject
* obj7
= 0 ;
3482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 arg4
= wxString_in_helper(obj3
);
3490 if (arg4
== NULL
) SWIG_fail
;
3496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3507 arg8
= wxString_in_helper(obj7
);
3508 if (arg8
== NULL
) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= PyInt_FromLong((long)result
);
3542 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxDialog
*arg1
= (wxDialog
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self",(char *) "returnCode", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 (arg1
)->SetReturnCode(arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxDialog
*arg1
= (wxDialog
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= PyInt_FromLong((long)result
);
3592 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxDialog
*arg1
= (wxDialog
*) 0 ;
3595 wxString
*arg2
= 0 ;
3597 bool temp2
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "self",(char *) "message", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= wxPyMake_wxSizer(result
);
3635 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxDialog
*arg1
= (wxDialog
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3642 (char *) "self",(char *) "flags", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= wxPyMake_wxSizer(result
);
3663 static PyObject
*_wrap_Dialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxDialog
*arg1
= (wxDialog
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "self",(char *) "flag", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetModal",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 arg2
= PyInt_AsLong(obj1
) ? true : false;
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetModal(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxDialog
*arg1
= (wxDialog
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3697 (char *) "self", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= PyInt_FromLong((long)result
);
3716 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxDialog
*arg1
= (wxDialog
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3722 (char *) "self", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (int)(arg1
)->ShowModal();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= PyInt_FromLong((long)result
);
3741 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxDialog
*arg1
= (wxDialog
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "self",(char *) "retCode", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->EndModal(arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxDialog
*arg1
= (wxDialog
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (bool)wxDialog_IsModalShowing(arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= PyInt_FromLong((long)result
);
3791 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3794 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3796 return Py_BuildValue((char *)"");
3798 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxWindow
*arg1
= (wxWindow
*) 0 ;
3802 wxString
*arg3
= 0 ;
3803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3807 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3808 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3810 wxMiniFrame
*result
;
3811 bool temp3
= False
;
3814 bool temp7
= False
;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj2
= 0 ;
3817 PyObject
* obj3
= 0 ;
3818 PyObject
* obj4
= 0 ;
3819 PyObject
* obj6
= 0 ;
3821 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3827 arg3
= wxString_in_helper(obj2
);
3828 if (arg3
== NULL
) SWIG_fail
;
3834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 arg7
= wxString_in_helper(obj6
);
3846 if (arg7
== NULL
) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3880 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxMiniFrame
*result
;
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (wxMiniFrame
*)new wxMiniFrame();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
3902 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
3905 wxWindow
*arg2
= (wxWindow
*) 0 ;
3907 wxString
*arg4
= 0 ;
3908 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3909 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3910 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3911 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3912 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3913 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3914 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3916 bool temp4
= False
;
3919 bool temp8
= False
;
3920 PyObject
* obj0
= 0 ;
3921 PyObject
* obj1
= 0 ;
3922 PyObject
* obj3
= 0 ;
3923 PyObject
* obj4
= 0 ;
3924 PyObject
* obj5
= 0 ;
3925 PyObject
* obj7
= 0 ;
3927 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3934 arg4
= wxString_in_helper(obj3
);
3935 if (arg4
== NULL
) SWIG_fail
;
3941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3952 arg8
= wxString_in_helper(obj7
);
3953 if (arg8
== NULL
) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= PyInt_FromLong((long)result
);
3987 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
3989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3990 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
3992 return Py_BuildValue((char *)"");
3994 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxBitmap
*arg1
= 0 ;
3997 wxWindow
*arg2
= (wxWindow
*) 0 ;
3999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4003 long arg6
= (long) wxNO_BORDER
;
4004 wxSplashScreenWindow
*result
;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4009 PyObject
* obj3
= 0 ;
4010 PyObject
* obj4
= 0 ;
4012 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4018 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4047 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4050 wxBitmap
*arg2
= 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "bitmap", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4092 result
= (wxBitmap
*) &_result_ref
;
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4105 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4108 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4110 return Py_BuildValue((char *)"");
4112 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxBitmap
*arg1
= 0 ;
4117 wxWindow
*arg4
= (wxWindow
*) 0 ;
4119 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4120 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4121 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4122 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4123 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4124 wxSplashScreen
*result
;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj3
= 0 ;
4129 PyObject
* obj5
= 0 ;
4130 PyObject
* obj6
= 0 ;
4132 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4140 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4144 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4150 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4167 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4171 PyObject
* obj0
= 0 ;
4173 (char *) "self", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= PyInt_FromLong((long)result
);
4192 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4195 wxSplashScreenWindow
*result
;
4196 PyObject
* obj0
= 0 ;
4198 (char *) "self", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4217 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= PyInt_FromLong((long)result
);
4242 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4247 return Py_BuildValue((char *)"");
4249 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxWindow
*arg1
= (wxWindow
*) 0 ;
4252 int arg2
= (int) -1 ;
4253 long arg3
= (long) wxST_SIZEGRIP
;
4254 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4256 wxStatusBar
*result
;
4257 bool temp4
= False
;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj3
= 0 ;
4261 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4268 arg4
= wxString_in_helper(obj3
);
4269 if (arg4
== NULL
) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= wxPyMake_wxObject(result
);
4297 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxStatusBar
*result
;
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (wxStatusBar
*)new wxStatusBar();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= wxPyMake_wxObject(result
);
4321 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4324 wxWindow
*arg2
= (wxWindow
*) 0 ;
4326 long arg4
= (long) wxST_SIZEGRIP
;
4327 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4328 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4330 bool temp5
= False
;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4333 PyObject
* obj4
= 0 ;
4335 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4343 arg5
= wxString_in_helper(obj4
);
4344 if (arg5
== NULL
) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= PyInt_FromLong((long)result
);
4370 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4373 int arg2
= (int) 1 ;
4374 PyObject
* obj0
= 0 ;
4376 (char *) "self",(char *) "number", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->SetFieldsCount(arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "self", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= PyInt_FromLong((long)result
);
4420 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4423 wxString
*arg2
= 0 ;
4424 int arg3
= (int) 0 ;
4425 bool temp2
= False
;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "text",(char *) "number", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4435 arg2
= wxString_in_helper(obj1
);
4436 if (arg2
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 Py_INCREF(Py_None
); resultobj
= Py_None
;
4461 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4464 int arg2
= (int) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self",(char *) "number", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4493 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4496 wxString
*arg2
= 0 ;
4497 int arg3
= (int) 0 ;
4498 bool temp2
= False
;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "text",(char *) "number", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4508 arg2
= wxString_in_helper(obj1
);
4509 if (arg2
== NULL
) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4534 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4537 int arg2
= (int) 0 ;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "self",(char *) "number", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 (arg1
)->PopStatusText(arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4563 int *arg3
= (int *) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "widths", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 arg2
= PyList_Size(obj1
);
4574 arg3
= int_LIST_helper(obj1
);
4575 if (arg3
== NULL
) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 Py_INCREF(Py_None
); resultobj
= Py_None
;
4586 if (arg3
) delete [] arg3
;
4591 if (arg3
) delete [] arg3
;
4597 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4604 (char *) "self",(char *) "i", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4618 resultptr
= new wxRect((wxRect
&) result
);
4619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4627 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self",(char *) "height", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 (arg1
)->SetMinHeight(arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 Py_INCREF(Py_None
); resultobj
= Py_None
;
4652 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4658 (char *) "self", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= PyInt_FromLong((long)result
);
4677 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= PyInt_FromLong((long)result
);
4702 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4705 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4707 return Py_BuildValue((char *)"");
4709 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
4710 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
4715 static PyObject
*_wrap_SplitterNameStr_get() {
4720 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4722 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4729 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxWindow
*arg1
= (wxWindow
*) 0 ;
4733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4737 long arg5
= (long) wxSP_3D
;
4738 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4740 wxSplitterWindow
*result
;
4743 bool temp6
= False
;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj2
= 0 ;
4746 PyObject
* obj3
= 0 ;
4747 PyObject
* obj5
= 0 ;
4749 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4763 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4768 arg6
= wxString_in_helper(obj5
);
4769 if (arg6
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4795 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxSplitterWindow
*result
;
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4817 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4820 wxWindow
*arg2
= (wxWindow
*) 0 ;
4822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4826 long arg6
= (long) wxSP_3D
;
4827 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
4828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4832 bool temp7
= False
;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj3
= 0 ;
4836 PyObject
* obj4
= 0 ;
4837 PyObject
* obj6
= 0 ;
4839 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4848 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4854 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4859 arg7
= wxString_in_helper(obj6
);
4860 if (arg7
== NULL
) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= PyInt_FromLong((long)result
);
4886 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= wxPyMake_wxObject(result
);
4913 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "self", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= wxPyMake_wxObject(result
);
4940 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self",(char *) "mode", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->SetSplitMode(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= PyInt_FromLong((long)result
);
4990 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4993 wxWindow
*arg2
= (wxWindow
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4997 (char *) "self",(char *) "window", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 (arg1
)->Initialize(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 Py_INCREF(Py_None
); resultobj
= Py_None
;
5017 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5020 wxWindow
*arg2
= (wxWindow
*) 0 ;
5021 wxWindow
*arg3
= (wxWindow
*) 0 ;
5022 int arg4
= (int) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 PyObject
* obj2
= 0 ;
5028 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5034 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= PyInt_FromLong((long)result
);
5049 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5052 wxWindow
*arg2
= (wxWindow
*) 0 ;
5053 wxWindow
*arg3
= (wxWindow
*) 0 ;
5054 int arg4
= (int) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5058 PyObject
* obj2
= 0 ;
5060 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= PyInt_FromLong((long)result
);
5081 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5084 wxWindow
*arg2
= (wxWindow
*) NULL
;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5089 (char *) "self",(char *) "toRemove", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (bool)(arg1
)->Unsplit(arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= PyInt_FromLong((long)result
);
5111 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5114 wxWindow
*arg2
= (wxWindow
*) 0 ;
5115 wxWindow
*arg3
= (wxWindow
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5121 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= PyInt_FromLong((long)result
);
5142 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= PyInt_FromLong((long)result
);
5167 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5173 (char *) "self",(char *) "width", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 (arg1
)->SetSashSize(arg2
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 Py_INCREF(Py_None
); resultobj
= Py_None
;
5192 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self",(char *) "width", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 (arg1
)->SetBorderSize(arg2
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 Py_INCREF(Py_None
); resultobj
= Py_None
;
5217 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= PyInt_FromLong((long)result
);
5242 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= PyInt_FromLong((long)result
);
5267 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5271 bool arg3
= (bool) True
;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj2
= 0 ;
5275 (char *) "self",(char *) "position",(char *) "redraw", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5281 arg3
= PyInt_AsLong(obj2
) ? true : false;
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->SetSashPosition(arg2
,arg3
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyInt_FromLong((long)result
);
5323 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self",(char *) "min", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetMinimumPaneSize(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= PyInt_FromLong((long)result
);
5373 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5378 int arg4
= (int) 5 ;
5380 PyObject
* obj0
= 0 ;
5382 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= PyInt_FromLong((long)result
);
5401 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 (arg1
)->SizeWindows();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 Py_INCREF(Py_None
); resultobj
= Py_None
;
5425 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "needUpdating", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5437 arg2
= PyInt_AsLong(obj1
) ? true : false;
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 (arg1
)->SetNeedUpdating(arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 Py_INCREF(Py_None
); resultobj
= Py_None
;
5453 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(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_GetNeedUpdating",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
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= PyInt_FromLong((long)result
);
5478 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5481 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5483 return Py_BuildValue((char *)"");
5485 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5488 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5489 wxSplitterEvent
*result
;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "type",(char *) "splitter", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5513 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "self",(char *) "pos", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetSashPosition(arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= PyInt_FromLong((long)result
);
5563 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= wxPyMake_wxObject(result
);
5590 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "self", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= PyInt_FromLong((long)result
);
5615 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= PyInt_FromLong((long)result
);
5640 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5643 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5645 return Py_BuildValue((char *)"");
5647 static int _wrap_SashNameStr_set(PyObject
*_val
) {
5648 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
5653 static PyObject
*_wrap_SashNameStr_get() {
5658 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5660 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5667 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
5668 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
5673 static PyObject
*_wrap_SashLayoutNameStr_get() {
5678 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5680 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5687 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxWindow
*arg1
= (wxWindow
*) 0 ;
5691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5695 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5696 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5697 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5698 wxSashWindow
*result
;
5701 bool temp6
= False
;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj2
= 0 ;
5704 PyObject
* obj3
= 0 ;
5705 PyObject
* obj5
= 0 ;
5707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5721 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5726 arg6
= wxString_in_helper(obj5
);
5727 if (arg6
== NULL
) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5753 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSashWindow
*result
;
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (wxSashWindow
*)new wxSashWindow();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5775 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5778 wxWindow
*arg2
= (wxWindow
*) 0 ;
5780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5784 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5785 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5786 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5790 bool temp7
= False
;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5793 PyObject
* obj3
= 0 ;
5794 PyObject
* obj4
= 0 ;
5795 PyObject
* obj6
= 0 ;
5797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5817 arg7
= wxString_in_helper(obj6
);
5818 if (arg7
== NULL
) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= PyInt_FromLong((long)result
);
5844 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj2
= 0 ;
5852 (char *) "self",(char *) "edge",(char *) "sash", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5857 arg3
= PyInt_AsLong(obj2
) ? true : false;
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self",(char *) "edge", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= PyInt_FromLong((long)result
);
5899 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj2
= 0 ;
5907 (char *) "self",(char *) "edge",(char *) "border", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5912 arg3
= PyInt_AsLong(obj2
) ? true : false;
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5928 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self",(char *) "edge", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= PyInt_FromLong((long)result
);
5954 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self",(char *) "edge", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= PyInt_FromLong((long)result
);
5980 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self",(char *) "width", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 (arg1
)->SetDefaultBorderSize(arg2
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 Py_INCREF(Py_None
); resultobj
= Py_None
;
6005 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= PyInt_FromLong((long)result
);
6030 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6036 (char *) "self",(char *) "width", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 (arg1
)->SetExtraBorderSize(arg2
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 Py_INCREF(Py_None
); resultobj
= Py_None
;
6055 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6059 PyObject
* obj0
= 0 ;
6061 (char *) "self", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 resultobj
= PyInt_FromLong((long)result
);
6080 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self",(char *) "min", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->SetMinimumSizeX(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self",(char *) "min", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->SetMinimumSizeY(arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= PyInt_FromLong((long)result
);
6155 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyInt_FromLong((long)result
);
6180 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self",(char *) "max", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->SetMaximumSizeX(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 Py_INCREF(Py_None
); resultobj
= Py_None
;
6205 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self",(char *) "max", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->SetMaximumSizeY(arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= PyInt_FromLong((long)result
);
6255 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= PyInt_FromLong((long)result
);
6280 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6285 int arg4
= (int) 2 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= PyInt_FromLong((long)result
);
6308 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->SizeWindows();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6337 return Py_BuildValue((char *)"");
6339 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 int arg1
= (int) 0 ;
6342 int arg2
= (int) wxSASH_NONE
;
6343 wxSashEvent
*result
;
6345 (char *) "id",(char *) "edge", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6363 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self",(char *) "edge", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= PyInt_FromLong((long)result
);
6413 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "rect", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6428 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 Py_INCREF(Py_None
); resultobj
= Py_None
;
6444 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6464 resultptr
= new wxRect((wxRect
&) result
);
6465 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6473 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6479 (char *) "self",(char *) "status", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= PyInt_FromLong((long)result
);
6523 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6528 return Py_BuildValue((char *)"");
6530 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 int arg1
= (int) 0 ;
6533 wxQueryLayoutInfoEvent
*result
;
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6553 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self",(char *) "length", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->SetRequestedLength(arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6578 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6584 (char *) "self", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= PyInt_FromLong((long)result
);
6603 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self",(char *) "flags", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 (arg1
)->SetFlags(arg2
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "self", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= PyInt_FromLong((long)result
);
6653 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6659 PyObject
* obj1
= 0 ;
6661 (char *) "self",(char *) "size", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 (arg1
)->SetSize((wxSize
const &)*arg2
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 Py_INCREF(Py_None
); resultobj
= Py_None
;
6684 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6704 resultptr
= new wxSize((wxSize
&) result
);
6705 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6713 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "self",(char *) "orient", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "self", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= PyInt_FromLong((long)result
);
6763 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self",(char *) "align", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6794 (char *) "self", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= PyInt_FromLong((long)result
);
6813 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6816 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
6818 return Py_BuildValue((char *)"");
6820 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 int arg1
= (int) 0 ;
6823 wxCalculateLayoutEvent
*result
;
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
6843 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6847 PyObject
* obj0
= 0 ;
6849 (char *) "self",(char *) "flags", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 (arg1
)->SetFlags(arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 Py_INCREF(Py_None
); resultobj
= Py_None
;
6868 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6874 (char *) "self", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= PyInt_FromLong((long)result
);
6893 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "rect", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6908 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetRect((wxRect
const &)*arg2
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 Py_INCREF(Py_None
); resultobj
= Py_None
;
6924 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6930 (char *) "self", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6944 resultptr
= new wxRect((wxRect
&) result
);
6945 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6953 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6956 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
6958 return Py_BuildValue((char *)"");
6960 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxWindow
*arg1
= (wxWindow
*) 0 ;
6964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6968 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6969 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
6970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6971 wxSashLayoutWindow
*result
;
6974 bool temp6
= False
;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj2
= 0 ;
6977 PyObject
* obj3
= 0 ;
6978 PyObject
* obj5
= 0 ;
6980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6999 arg6
= wxString_in_helper(obj5
);
7000 if (arg6
== NULL
) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7026 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxSashLayoutWindow
*result
;
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7048 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7051 wxWindow
*arg2
= (wxWindow
*) 0 ;
7053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7057 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7058 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7063 bool temp7
= False
;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 PyObject
* obj3
= 0 ;
7067 PyObject
* obj4
= 0 ;
7068 PyObject
* obj6
= 0 ;
7070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7090 arg7
= wxString_in_helper(obj6
);
7091 if (arg7
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= PyInt_FromLong((long)result
);
7117 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (int)(arg1
)->GetAlignment();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyInt_FromLong((long)result
);
7142 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (int)(arg1
)->GetOrientation();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= PyInt_FromLong((long)result
);
7167 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self",(char *) "alignment", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "size", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self",(char *) "orientation", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7253 return Py_BuildValue((char *)"");
7255 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxLayoutAlgorithm
*result
;
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7277 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7304 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7305 wxRect
*arg3
= (wxRect
*) NULL
;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7311 (char *) "self",(char *) "frame",(char *) "rect", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= PyInt_FromLong((long)result
);
7334 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7337 wxFrame
*arg2
= (wxFrame
*) 0 ;
7338 wxWindow
*arg3
= (wxWindow
*) NULL
;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7342 PyObject
* obj2
= 0 ;
7344 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7351 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= PyInt_FromLong((long)result
);
7367 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7370 wxWindow
*arg2
= (wxWindow
*) 0 ;
7371 wxWindow
*arg3
= (wxWindow
*) NULL
;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7375 PyObject
* obj2
= 0 ;
7377 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7384 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= PyInt_FromLong((long)result
);
7400 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7405 return Py_BuildValue((char *)"");
7407 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxWindow
*arg1
= (wxWindow
*) 0 ;
7410 int arg2
= (int) wxBORDER_NONE
;
7411 wxPopupWindow
*result
;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "parent",(char *) "flags", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7433 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxPopupWindow
*result
;
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxPopupWindow
*)new wxPopupWindow();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7455 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7458 wxWindow
*arg2
= (wxWindow
*) 0 ;
7459 int arg3
= (int) wxBORDER_NONE
;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7464 (char *) "self",(char *) "parent",(char *) "flags", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (bool)(arg1
)->Create(arg2
,arg3
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= PyInt_FromLong((long)result
);
7484 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7495 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 Py_INCREF(Py_None
); resultobj
= Py_None
;
7522 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7527 return Py_BuildValue((char *)"");
7529 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxWindow
*arg1
= (wxWindow
*) 0 ;
7532 int arg2
= (int) wxBORDER_NONE
;
7533 wxPyPopupTransientWindow
*result
;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "parent",(char *) "style", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7555 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxPyPopupTransientWindow
*result
;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7577 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7580 PyObject
*arg2
= (PyObject
*) 0 ;
7581 PyObject
*arg3
= (PyObject
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 PyObject
* obj2
= 0 ;
7586 (char *) "self",(char *) "self",(char *) "_class", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7610 wxWindow
*arg2
= (wxWindow
*) NULL
;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "focus", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 (arg1
)->Popup(arg2
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7663 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7665 return Py_BuildValue((char *)"");
7667 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxWindow
*arg1
= (wxWindow
*) 0 ;
7670 wxString
*arg2
= 0 ;
7671 int arg3
= (int) 100 ;
7672 wxRect
*arg4
= (wxRect
*) NULL
;
7673 wxTipWindow
*result
;
7674 bool temp2
= False
;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 PyObject
* obj3
= 0 ;
7679 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7685 arg2
= wxString_in_helper(obj1
);
7686 if (arg2
== NULL
) SWIG_fail
;
7690 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7714 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7722 (char *) "self",(char *) "rectBound", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 Py_INCREF(Py_None
); resultobj
= Py_None
;
7769 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7774 return Py_BuildValue((char *)"");
7776 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxWindow
*arg1
= (wxWindow
*) 0 ;
7779 int arg2
= (int) wxID_ANY
;
7780 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7781 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7782 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7783 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7784 long arg5
= (long) 0 ;
7785 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7786 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7787 wxPyVScrolledWindow
*result
;
7790 bool temp6
= False
;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj2
= 0 ;
7793 PyObject
* obj3
= 0 ;
7794 PyObject
* obj5
= 0 ;
7796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7815 arg6
= wxString_in_helper(obj5
);
7816 if (arg6
== NULL
) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7842 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxPyVScrolledWindow
*result
;
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7864 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7867 PyObject
*arg2
= (PyObject
*) 0 ;
7868 PyObject
*arg3
= (PyObject
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7873 (char *) "self",(char *) "self",(char *) "_class", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7897 wxWindow
*arg2
= (wxWindow
*) 0 ;
7898 int arg3
= (int) wxID_ANY
;
7899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7903 long arg6
= (long) 0 ;
7904 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7909 bool temp7
= False
;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 PyObject
* obj4
= 0 ;
7914 PyObject
* obj6
= 0 ;
7916 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7936 arg7
= wxString_in_helper(obj6
);
7937 if (arg7
== NULL
) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= PyInt_FromLong((long)result
);
7963 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7970 (char *) "self",(char *) "count", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7975 arg2
= (size_t) PyInt_AsLong(obj1
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->SetLineCount(arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7999 (char *) "self",(char *) "line", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8004 arg2
= (size_t) PyInt_AsLong(obj1
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= PyInt_FromLong((long)result
);
8020 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self",(char *) "lines", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (bool)(arg1
)->ScrollLines(arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= PyInt_FromLong((long)result
);
8046 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self",(char *) "pages", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (bool)(arg1
)->ScrollPages(arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyInt_FromLong((long)result
);
8072 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "line", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8084 arg2
= (size_t) PyInt_AsLong(obj1
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 (arg1
)->RefreshLine(arg2
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 Py_INCREF(Py_None
); resultobj
= Py_None
;
8100 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8109 (char *) "self",(char *) "from",(char *) "to", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 arg2
= (size_t) PyInt_AsLong(obj1
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8116 arg3
= (size_t) PyInt_AsLong(obj2
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->RefreshLines(arg2
,arg3
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "self",(char *) "x",(char *) "y", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= PyInt_FromLong((long)result
);
8159 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "self",(char *) "pt", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= PyInt_FromLong((long)result
);
8191 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 (arg1
)->RefreshAll();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= PyInt_FromLong((long)result
);
8240 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyInt_FromLong((long)result
);
8265 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= PyInt_FromLong((long)result
);
8290 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8298 (char *) "self",(char *) "line", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 arg2
= (size_t) PyInt_AsLong(obj1
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= PyInt_FromLong((long)result
);
8319 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8322 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8324 return Py_BuildValue((char *)"");
8326 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
8327 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
8332 static PyObject
*_wrap_VListBoxNameStr_get() {
8337 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8339 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8346 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxWindow
*arg1
= (wxWindow
*) 0 ;
8349 int arg2
= (int) wxID_ANY
;
8350 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8351 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8352 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8353 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8354 long arg5
= (long) 0 ;
8355 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8356 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8357 wxPyVListBox
*result
;
8360 bool temp6
= False
;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj2
= 0 ;
8363 PyObject
* obj3
= 0 ;
8364 PyObject
* obj5
= 0 ;
8366 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8385 arg6
= wxString_in_helper(obj5
);
8386 if (arg6
== NULL
) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8412 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxPyVListBox
*result
;
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxPyVListBox
*)new wxPyVListBox();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8434 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyVListBox
*arg1
= (wxPyVListBox
*) 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:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,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_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8467 wxWindow
*arg2
= (wxWindow
*) 0 ;
8468 int arg3
= (int) wxID_ANY
;
8469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8473 long arg6
= (long) 0 ;
8474 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8479 bool temp7
= False
;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8482 PyObject
* obj3
= 0 ;
8483 PyObject
* obj4
= 0 ;
8484 PyObject
* obj6
= 0 ;
8486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8501 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8506 arg7
= wxString_in_helper(obj6
);
8507 if (arg7
== NULL
) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= PyInt_FromLong((long)result
);
8533 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= PyInt_FromLong((long)result
);
8558 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8562 PyObject
* obj0
= 0 ;
8564 (char *) "self", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= PyInt_FromLong((long)result
);
8583 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8589 (char *) "self", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= PyInt_FromLong((long)result
);
8608 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8616 (char *) "self",(char *) "item", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 arg2
= (size_t) PyInt_AsLong(obj1
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= PyInt_FromLong((long)result
);
8637 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8645 (char *) "self",(char *) "item", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8650 arg2
= (size_t) PyInt_AsLong(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= PyInt_FromLong((long)result
);
8666 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8672 (char *) "self", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= PyInt_FromLong((long)result
);
8691 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8694 unsigned long *arg2
= 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8699 (char *) "self",(char *) "cookie", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= PyInt_FromLong((long)result
);
8722 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8725 unsigned long *arg2
= 0 ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8730 (char *) "self",(char *) "cookie", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= PyInt_FromLong((long)result
);
8753 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 wxPoint
* resultptr
;
8773 resultptr
= new wxPoint((wxPoint
&) result
);
8774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8782 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8797 result
= (wxColour
*) &_result_ref
;
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8810 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "count", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 arg2
= (size_t) PyInt_AsLong(obj1
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 (arg1
)->SetItemCount(arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8841 PyObject
* obj0
= 0 ;
8843 (char *) "self", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self",(char *) "selection", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->SetSelection(arg2
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8891 bool arg3
= (bool) True
;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "item",(char *) "select", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 arg2
= (size_t) PyInt_AsLong(obj1
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 arg3
= PyInt_AsLong(obj2
) ? true : false;
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= PyInt_FromLong((long)result
);
8922 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8932 (char *) "self",(char *) "from",(char *) "to", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8937 arg2
= (size_t) PyInt_AsLong(obj1
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8939 arg3
= (size_t) PyInt_AsLong(obj2
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= PyInt_FromLong((long)result
);
8955 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "item", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 arg2
= (size_t) PyInt_AsLong(obj1
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->Toggle(arg2
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8989 (char *) "self", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (bool)(arg1
)->SelectAll();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= PyInt_FromLong((long)result
);
9008 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (bool)(arg1
)->DeselectAll();
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= PyInt_FromLong((long)result
);
9033 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9039 PyObject
* obj1
= 0 ;
9041 (char *) "self",(char *) "pt", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self",(char *) "x",(char *) "y", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 (arg1
)->SetMargins(arg2
,arg3
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9093 wxColour
*arg2
= 0 ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9098 (char *) "self",(char *) "col", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9124 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9126 return Py_BuildValue((char *)"");
9128 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxWindow
*arg1
= (wxWindow
*) 0 ;
9131 int arg2
= (int) wxID_ANY
;
9132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9136 long arg5
= (long) 0 ;
9137 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9138 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9139 wxPyHtmlListBox
*result
;
9142 bool temp6
= False
;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj2
= 0 ;
9145 PyObject
* obj3
= 0 ;
9146 PyObject
* obj5
= 0 ;
9148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9162 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9167 arg6
= wxString_in_helper(obj5
);
9168 if (arg6
== NULL
) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9194 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxPyHtmlListBox
*result
;
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9216 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9219 PyObject
*arg2
= (PyObject
*) 0 ;
9220 PyObject
*arg3
= (PyObject
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9225 (char *) "self",(char *) "self",(char *) "_class", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9249 wxWindow
*arg2
= (wxWindow
*) 0 ;
9250 int arg3
= (int) wxID_ANY
;
9251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9255 long arg6
= (long) 0 ;
9256 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9261 bool temp7
= False
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj3
= 0 ;
9265 PyObject
* obj4
= 0 ;
9266 PyObject
* obj6
= 0 ;
9268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9288 arg7
= wxString_in_helper(obj6
);
9289 if (arg7
== NULL
) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= PyInt_FromLong((long)result
);
9315 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->RefreshAll();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9346 (char *) "self",(char *) "count", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9351 arg2
= (size_t) PyInt_AsLong(obj1
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 (arg1
)->SetItemCount(arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 Py_INCREF(Py_None
); resultobj
= Py_None
;
9367 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9372 return Py_BuildValue((char *)"");
9374 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxTaskBarIcon
*result
;
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9396 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 Py_INCREF(Py_None
); resultobj
= Py_None
;
9420 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= PyInt_FromLong((long)result
);
9445 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= PyInt_FromLong((long)result
);
9470 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9477 bool temp3
= False
;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9480 PyObject
* obj2
= 0 ;
9482 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9493 arg3
= wxString_in_helper(obj2
);
9494 if (arg3
== NULL
) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= PyInt_FromLong((long)result
);
9520 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->RemoveIcon();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= PyInt_FromLong((long)result
);
9545 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9548 wxMenu
*arg2
= (wxMenu
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "self",(char *) "menu", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)(arg1
)->PopupMenu(arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= PyInt_FromLong((long)result
);
9573 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9578 return Py_BuildValue((char *)"");
9580 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9583 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9584 wxTaskBarIconEvent
*result
;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "evtType",(char *) "tbIcon", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9606 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9611 return Py_BuildValue((char *)"");
9613 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
9614 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
9619 static PyObject
*_wrap_FileSelectorPromptStr_get() {
9624 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9626 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9633 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
9634 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
9639 static PyObject
*_wrap_DirSelectorPromptStr_get() {
9644 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9646 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9653 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
9654 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
9659 static PyObject
*_wrap_DirDialogNameStr_get() {
9664 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9666 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9673 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
9674 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
9679 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
9684 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9686 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9693 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
9694 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
9699 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
9704 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9706 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9713 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
9714 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
9719 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
9724 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9726 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9733 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxColourData
*result
;
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (wxColourData
*)new wxColourData();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9755 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxColourData
*arg1
= (wxColourData
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9760 (char *) "self", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxColourData
*arg1
= (wxColourData
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)(arg1
)->GetChooseFull();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= PyInt_FromLong((long)result
);
9804 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxColourData
*arg1
= (wxColourData
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9810 (char *) "self", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (arg1
)->GetColour();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9823 wxColour
* resultptr
;
9824 resultptr
= new wxColour((wxColour
&) result
);
9825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9833 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxColourData
*arg1
= (wxColourData
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self",(char *) "i", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (arg1
)->GetCustomColour(arg2
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 wxColour
* resultptr
;
9854 resultptr
= new wxColour((wxColour
&) result
);
9855 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9863 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxColourData
*arg1
= (wxColourData
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self",(char *) "flag", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 (arg1
)->SetChooseFull(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxColourData
*arg1
= (wxColourData
*) 0 ;
9891 wxColour
*arg2
= 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "colour", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 (arg1
)->SetColour((wxColour
const &)*arg2
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 Py_INCREF(Py_None
); resultobj
= Py_None
;
9919 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxColourData
*arg1
= (wxColourData
*) 0 ;
9923 wxColour
*arg3
= 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj2
= 0 ;
9928 (char *) "self",(char *) "i",(char *) "colour", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9935 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9954 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9956 return Py_BuildValue((char *)"");
9958 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxWindow
*arg1
= (wxWindow
*) 0 ;
9961 wxColourData
*arg2
= (wxColourData
*) NULL
;
9962 wxColourDialog
*result
;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9966 (char *) "parent",(char *) "data", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9988 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9991 wxColourData
*result
;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10003 result
= (wxColourData
*) &_result_ref
;
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10016 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (int)(arg1
)->ShowModal();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= PyInt_FromLong((long)result
);
10041 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10044 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10046 return Py_BuildValue((char *)"");
10048 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxWindow
*arg1
= (wxWindow
*) 0 ;
10051 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10052 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10055 long arg4
= (long) 0 ;
10056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10060 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10062 wxDirDialog
*result
;
10063 bool temp2
= False
;
10064 bool temp3
= False
;
10067 bool temp7
= False
;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 PyObject
* obj4
= 0 ;
10072 PyObject
* obj5
= 0 ;
10073 PyObject
* obj6
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10082 arg2
= wxString_in_helper(obj1
);
10083 if (arg2
== NULL
) SWIG_fail
;
10089 arg3
= wxString_in_helper(obj2
);
10090 if (arg3
== NULL
) SWIG_fail
;
10097 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10103 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10108 arg7
= wxString_in_helper(obj6
);
10109 if (arg7
== NULL
) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10151 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (arg1
)->GetPath();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10182 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (arg1
)->GetMessage();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10213 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (long)(arg1
)->GetStyle();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= PyInt_FromLong((long)result
);
10238 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10241 wxString
*arg2
= 0 ;
10242 bool temp2
= False
;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "message", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10252 arg2
= wxString_in_helper(obj1
);
10253 if (arg2
== NULL
) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 (arg1
)->SetMessage((wxString
const &)*arg2
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 Py_INCREF(Py_None
); resultobj
= Py_None
;
10278 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10281 wxString
*arg2
= 0 ;
10282 bool temp2
= False
;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self",(char *) "path", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10292 arg2
= wxString_in_helper(obj1
);
10293 if (arg2
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 (arg1
)->SetPath((wxString
const &)*arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10318 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (int)(arg1
)->ShowModal();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= PyInt_FromLong((long)result
);
10343 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10346 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10348 return Py_BuildValue((char *)"");
10350 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxWindow
*arg1
= (wxWindow
*) 0 ;
10353 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10354 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10359 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10360 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10361 long arg6
= (long) 0 ;
10362 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10363 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10364 wxFileDialog
*result
;
10365 bool temp2
= False
;
10366 bool temp3
= False
;
10367 bool temp4
= False
;
10368 bool temp5
= False
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 PyObject
* obj3
= 0 ;
10374 PyObject
* obj4
= 0 ;
10375 PyObject
* obj6
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10384 arg2
= wxString_in_helper(obj1
);
10385 if (arg2
== NULL
) SWIG_fail
;
10391 arg3
= wxString_in_helper(obj2
);
10392 if (arg3
== NULL
) SWIG_fail
;
10398 arg4
= wxString_in_helper(obj3
);
10399 if (arg4
== NULL
) SWIG_fail
;
10405 arg5
= wxString_in_helper(obj4
);
10406 if (arg5
== NULL
) SWIG_fail
;
10413 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10462 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10465 wxString
*arg2
= 0 ;
10466 bool temp2
= False
;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "message", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10476 arg2
= wxString_in_helper(obj1
);
10477 if (arg2
== NULL
) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 (arg1
)->SetMessage((wxString
const &)*arg2
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 Py_INCREF(Py_None
); resultobj
= Py_None
;
10502 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10505 wxString
*arg2
= 0 ;
10506 bool temp2
= False
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "path", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 arg2
= wxString_in_helper(obj1
);
10517 if (arg2
== NULL
) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetPath((wxString
const &)*arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10542 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10545 wxString
*arg2
= 0 ;
10546 bool temp2
= False
;
10547 PyObject
* obj0
= 0 ;
10548 PyObject
* obj1
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "dir", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10556 arg2
= wxString_in_helper(obj1
);
10557 if (arg2
== NULL
) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 Py_INCREF(Py_None
); resultobj
= Py_None
;
10582 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10585 wxString
*arg2
= 0 ;
10586 bool temp2
= False
;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self",(char *) "name", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10596 arg2
= wxString_in_helper(obj1
);
10597 if (arg2
== NULL
) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 (arg1
)->SetFilename((wxString
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10625 wxString
*arg2
= 0 ;
10626 bool temp2
= False
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "wildCard", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 arg2
= wxString_in_helper(obj1
);
10637 if (arg2
== NULL
) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "style", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetStyle(arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "filterIndex", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->SetFilterIndex(arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10743 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10774 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10805 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10836 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10867 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= PyInt_FromLong((long)result
);
10892 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= PyInt_FromLong((long)result
);
10917 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
;
10942 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= result
;
10967 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10970 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10972 return Py_BuildValue((char *)"");
10974 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxWindow
*arg1
= (wxWindow
*) 0 ;
10977 wxString
*arg2
= 0 ;
10978 wxString
*arg3
= 0 ;
10980 wxString
*arg5
= (wxString
*) 0 ;
10981 long arg6
= (long) wxCHOICEDLG_STYLE
;
10982 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10983 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10984 wxMultiChoiceDialog
*result
;
10985 bool temp2
= False
;
10986 bool temp3
= False
;
10987 bool temp5
= False
;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 PyObject
* obj2
= 0 ;
10992 PyObject
* obj4
= 0 ;
10993 PyObject
* obj6
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11001 arg2
= wxString_in_helper(obj1
);
11002 if (arg2
== NULL
) SWIG_fail
;
11006 arg3
= wxString_in_helper(obj2
);
11007 if (arg3
== NULL
) SWIG_fail
;
11011 arg5
= wxString_in_helper(obj4
);
11012 if (arg5
== NULL
) SWIG_fail
;
11018 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11059 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11062 wxArrayInt
*arg2
= 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "selections", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11072 if (! PySequence_Check(obj1
)) {
11073 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11076 arg2
= new wxArrayInt
;
11077 int i
, len
=PySequence_Length(obj1
);
11078 for (i
=0; i
<len
; i
++) {
11079 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11080 PyObject
* number
= PyNumber_Int(item
);
11081 arg2
->Add(PyInt_AS_LONG(number
));
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 if (arg2
) delete arg2
;
11100 if (arg2
) delete arg2
;
11106 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= result
;
11131 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11136 return Py_BuildValue((char *)"");
11138 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxWindow
*arg1
= (wxWindow
*) 0 ;
11141 wxString
*arg2
= 0 ;
11142 wxString
*arg3
= 0 ;
11144 wxString
*arg5
= (wxString
*) 0 ;
11145 long arg6
= (long) wxCHOICEDLG_STYLE
;
11146 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11147 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11148 wxSingleChoiceDialog
*result
;
11149 bool temp2
= False
;
11150 bool temp3
= False
;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 PyObject
* obj3
= 0 ;
11156 PyObject
* obj5
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11164 arg2
= wxString_in_helper(obj1
);
11165 if (arg2
== NULL
) SWIG_fail
;
11169 arg3
= wxString_in_helper(obj2
);
11170 if (arg3
== NULL
) SWIG_fail
;
11174 arg4
= PyList_Size(obj3
);
11175 arg5
= wxString_LIST_helper(obj3
);
11176 if (arg5
== NULL
) SWIG_fail
;
11181 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11201 if (arg5
) delete [] arg5
;
11214 if (arg5
) delete [] arg5
;
11220 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (int)(arg1
)->GetSelection();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= PyInt_FromLong((long)result
);
11245 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (arg1
)->GetStringSelection();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11276 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "sel", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 (arg1
)->SetSelection(arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11301 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (int)(arg1
)->ShowModal();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= PyInt_FromLong((long)result
);
11326 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11331 return Py_BuildValue((char *)"");
11333 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxWindow
*arg1
= (wxWindow
*) 0 ;
11336 wxString
*arg2
= 0 ;
11337 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11339 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11340 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11341 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11342 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11343 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11344 wxTextEntryDialog
*result
;
11345 bool temp2
= False
;
11346 bool temp3
= False
;
11347 bool temp4
= False
;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 PyObject
* obj2
= 0 ;
11352 PyObject
* obj3
= 0 ;
11353 PyObject
* obj5
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11361 arg2
= wxString_in_helper(obj1
);
11362 if (arg2
== NULL
) SWIG_fail
;
11367 arg3
= wxString_in_helper(obj2
);
11368 if (arg3
== NULL
) SWIG_fail
;
11374 arg4
= wxString_in_helper(obj3
);
11375 if (arg4
== NULL
) SWIG_fail
;
11382 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11423 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (arg1
)->GetValue();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11454 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11457 wxString
*arg2
= 0 ;
11458 bool temp2
= False
;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "value", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11468 arg2
= wxString_in_helper(obj1
);
11469 if (arg2
== NULL
) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 (arg1
)->SetValue((wxString
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (int)(arg1
)->ShowModal();
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= PyInt_FromLong((long)result
);
11519 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11522 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11524 return Py_BuildValue((char *)"");
11526 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxFontData
*result
;
11529 char *kwnames
[] = {
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (wxFontData
*)new wxFontData();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11548 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxFontData
*arg1
= (wxFontData
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxFontData
*arg1
= (wxFontData
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "enable", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11584 arg2
= PyInt_AsLong(obj1
) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->EnableEffects(arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 Py_INCREF(Py_None
); resultobj
= Py_None
;
11600 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxFontData
*arg1
= (wxFontData
*) 0 ;
11604 PyObject
* obj0
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->GetAllowSymbols();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= PyInt_FromLong((long)result
);
11625 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxFontData
*arg1
= (wxFontData
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (arg1
)->GetColour();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 wxColour
* resultptr
;
11645 resultptr
= new wxColour((wxColour
&) result
);
11646 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11654 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxFontData
*arg1
= (wxFontData
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (arg1
)->GetChosenFont();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 wxFont
* resultptr
;
11674 resultptr
= new wxFont((wxFont
&) result
);
11675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11683 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxFontData
*arg1
= (wxFontData
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (bool)(arg1
)->GetEnableEffects();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= PyInt_FromLong((long)result
);
11708 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxFontData
*arg1
= (wxFontData
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (arg1
)->GetInitialFont();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 wxFont
* resultptr
;
11728 resultptr
= new wxFont((wxFont
&) result
);
11729 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11737 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxFontData
*arg1
= (wxFontData
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (bool)(arg1
)->GetShowHelp();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= PyInt_FromLong((long)result
);
11762 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFontData
*arg1
= (wxFontData
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "allowSymbols", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11774 arg2
= PyInt_AsLong(obj1
) ? true : false;
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->SetAllowSymbols(arg2
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 Py_INCREF(Py_None
); resultobj
= Py_None
;
11790 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxFontData
*arg1
= (wxFontData
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "font", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 if (arg2
== NULL
) {
11804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 Py_INCREF(Py_None
); resultobj
= Py_None
;
11820 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxFontData
*arg1
= (wxFontData
*) 0 ;
11823 wxColour
*arg2
= 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self",(char *) "colour", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11835 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->SetColour((wxColour
const &)*arg2
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 Py_INCREF(Py_None
); resultobj
= Py_None
;
11851 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxFontData
*arg1
= (wxFontData
*) 0 ;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "font", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 if (arg2
== NULL
) {
11865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxFontData
*arg1
= (wxFontData
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "min",(char *) "max", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetRange(arg2
,arg3
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxFontData
*arg1
= (wxFontData
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "showHelp", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11919 arg2
= PyInt_AsLong(obj1
) ? true : false;
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetShowHelp(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11938 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11940 return Py_BuildValue((char *)"");
11942 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxWindow
*arg1
= (wxWindow
*) 0 ;
11945 wxFontData
*arg2
= 0 ;
11946 wxFontDialog
*result
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "parent",(char *) "data", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11956 if (arg2
== NULL
) {
11957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11973 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11976 wxFontData
*result
;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11988 result
= (wxFontData
*) &_result_ref
;
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
12001 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (int)(arg1
)->ShowModal();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= PyInt_FromLong((long)result
);
12026 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12029 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12031 return Py_BuildValue((char *)"");
12033 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxWindow
*arg1
= (wxWindow
*) 0 ;
12036 wxString
*arg2
= 0 ;
12037 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12038 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12039 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12040 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12041 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12042 wxMessageDialog
*result
;
12043 bool temp2
= False
;
12044 bool temp3
= False
;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 PyObject
* obj2
= 0 ;
12049 PyObject
* obj4
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 arg2
= wxString_in_helper(obj1
);
12058 if (arg2
== NULL
) SWIG_fail
;
12063 arg3
= wxString_in_helper(obj2
);
12064 if (arg3
== NULL
) SWIG_fail
;
12071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12104 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (int)(arg1
)->ShowModal();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= PyInt_FromLong((long)result
);
12129 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12132 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12134 return Py_BuildValue((char *)"");
12136 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxString
*arg1
= 0 ;
12139 wxString
*arg2
= 0 ;
12140 int arg3
= (int) 100 ;
12141 wxWindow
*arg4
= (wxWindow
*) NULL
;
12142 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12143 wxProgressDialog
*result
;
12144 bool temp1
= False
;
12145 bool temp2
= False
;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 PyObject
* obj3
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12155 arg1
= wxString_in_helper(obj0
);
12156 if (arg1
== NULL
) SWIG_fail
;
12160 arg2
= wxString_in_helper(obj1
);
12161 if (arg2
== NULL
) SWIG_fail
;
12165 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12197 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12204 bool temp3
= False
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj2
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 arg3
= wxString_in_helper(obj2
);
12216 if (arg3
== NULL
) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= PyInt_FromLong((long)result
);
12242 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 Py_INCREF(Py_None
); resultobj
= Py_None
;
12266 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12269 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12271 return Py_BuildValue((char *)"");
12273 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12276 int arg2
= (int) 0 ;
12277 wxFindDialogEvent
*result
;
12278 char *kwnames
[] = {
12279 (char *) "commandType",(char *) "id", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12297 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)(arg1
)->GetFlags();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= PyInt_FromLong((long)result
);
12322 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 wxString
const &_result_ref
= (arg1
)->GetFindString();
12337 result
= (wxString
*) &_result_ref
;
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12347 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12356 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12371 result
= (wxString
*) &_result_ref
;
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12381 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12390 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12393 wxFindReplaceDialog
*result
;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12415 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "flags", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetFlags(arg2
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12443 wxString
*arg2
= 0 ;
12444 bool temp2
= False
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "str", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 arg2
= wxString_in_helper(obj1
);
12455 if (arg2
== NULL
) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetFindString((wxString
const &)*arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 Py_INCREF(Py_None
); resultobj
= Py_None
;
12480 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12483 wxString
*arg2
= 0 ;
12484 bool temp2
= False
;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self",(char *) "str", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12494 arg2
= wxString_in_helper(obj1
);
12495 if (arg2
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12523 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12525 return Py_BuildValue((char *)"");
12527 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 int arg1
= (int) 0 ;
12530 wxFindReplaceData
*result
;
12531 char *kwnames
[] = {
12532 (char *) "flags", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12550 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12574 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 wxString
const &_result_ref
= (arg1
)->GetFindString();
12589 result
= (wxString
*) &_result_ref
;
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12599 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12608 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12623 result
= (wxString
*) &_result_ref
;
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12642 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (int)(arg1
)->GetFlags();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= PyInt_FromLong((long)result
);
12667 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "flags", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->SetFlags(arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 Py_INCREF(Py_None
); resultobj
= Py_None
;
12692 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12695 wxString
*arg2
= 0 ;
12696 bool temp2
= False
;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self",(char *) "str", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12706 arg2
= wxString_in_helper(obj1
);
12707 if (arg2
== NULL
) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->SetFindString((wxString
const &)*arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12732 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12735 wxString
*arg2
= 0 ;
12736 bool temp2
= False
;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "str", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12746 arg2
= wxString_in_helper(obj1
);
12747 if (arg2
== NULL
) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxWindow
*arg1
= (wxWindow
*) 0 ;
12782 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12783 wxString
*arg3
= 0 ;
12784 int arg4
= (int) 0 ;
12785 wxFindReplaceDialog
*result
;
12786 bool temp3
= False
;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 PyObject
* obj2
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12798 arg3
= wxString_in_helper(obj2
);
12799 if (arg3
== NULL
) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12824 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxFindReplaceDialog
*result
;
12827 char *kwnames
[] = {
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12846 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12849 wxWindow
*arg2
= (wxWindow
*) 0 ;
12850 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12851 wxString
*arg4
= 0 ;
12852 int arg5
= (int) 0 ;
12854 bool temp4
= False
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 PyObject
* obj3
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 arg4
= wxString_in_helper(obj3
);
12869 if (arg4
== NULL
) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= PyInt_FromLong((long)result
);
12894 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12897 wxFindReplaceData
*result
;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12919 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12922 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self",(char *) "data", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 (arg1
)->SetData(arg2
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 Py_INCREF(Py_None
); resultobj
= Py_None
;
12946 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12949 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12951 return Py_BuildValue((char *)"");
12953 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxWindow
*arg1
= (wxWindow
*) 0 ;
12957 wxString
*arg3
= 0 ;
12958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12962 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12963 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12965 wxMDIParentFrame
*result
;
12966 bool temp3
= False
;
12969 bool temp7
= False
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 PyObject
* obj3
= 0 ;
12973 PyObject
* obj4
= 0 ;
12974 PyObject
* obj6
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12982 arg3
= wxString_in_helper(obj2
);
12983 if (arg3
== NULL
) SWIG_fail
;
12989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13000 arg7
= wxString_in_helper(obj6
);
13001 if (arg7
== NULL
) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13035 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxMDIParentFrame
*result
;
13038 char *kwnames
[] = {
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13057 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13060 wxWindow
*arg2
= (wxWindow
*) 0 ;
13062 wxString
*arg4
= 0 ;
13063 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13064 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13065 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13066 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13067 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13068 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13071 bool temp4
= False
;
13074 bool temp8
= False
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 PyObject
* obj3
= 0 ;
13078 PyObject
* obj4
= 0 ;
13079 PyObject
* obj5
= 0 ;
13080 PyObject
* obj7
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 arg4
= wxString_in_helper(obj3
);
13090 if (arg4
== NULL
) SWIG_fail
;
13096 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13102 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13107 arg8
= wxString_in_helper(obj7
);
13108 if (arg8
== NULL
) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= PyInt_FromLong((long)result
);
13142 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->ActivateNext();
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->ActivatePrevious();
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 Py_INCREF(Py_None
); resultobj
= Py_None
;
13190 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->ArrangeIcons();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13238 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13241 wxMDIChildFrame
*result
;
13242 PyObject
* obj0
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= wxPyMake_wxObject(result
);
13265 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13268 wxMDIClientWindow
*result
;
13269 PyObject
* obj0
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= wxPyMake_wxObject(result
);
13292 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (wxWindow
*)(arg1
)->GetToolBar();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= wxPyMake_wxObject(result
);
13319 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= wxPyMake_wxObject(result
);
13346 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13349 wxMenu
*arg2
= (wxMenu
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "menu", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->SetWindowMenu(arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13376 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "toolbar", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 (arg1
)->SetToolBar(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 Py_INCREF(Py_None
); resultobj
= Py_None
;
13424 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13427 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13429 return Py_BuildValue((char *)"");
13431 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13435 wxString
*arg3
= 0 ;
13436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13440 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13441 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13443 wxMDIChildFrame
*result
;
13444 bool temp3
= False
;
13447 bool temp7
= False
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj2
= 0 ;
13450 PyObject
* obj3
= 0 ;
13451 PyObject
* obj4
= 0 ;
13452 PyObject
* obj6
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13460 arg3
= wxString_in_helper(obj2
);
13461 if (arg3
== NULL
) SWIG_fail
;
13467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13478 arg7
= wxString_in_helper(obj6
);
13479 if (arg7
== NULL
) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= wxPyMake_wxObject(result
);
13515 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxMDIChildFrame
*result
;
13518 char *kwnames
[] = {
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= wxPyMake_wxObject(result
);
13539 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13542 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13544 wxString
*arg4
= 0 ;
13545 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13546 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13547 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13548 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13549 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13550 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13551 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13553 bool temp4
= False
;
13556 bool temp8
= False
;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 PyObject
* obj3
= 0 ;
13560 PyObject
* obj4
= 0 ;
13561 PyObject
* obj5
= 0 ;
13562 PyObject
* obj7
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13571 arg4
= wxString_in_helper(obj3
);
13572 if (arg4
== NULL
) SWIG_fail
;
13578 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13584 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13589 arg8
= wxString_in_helper(obj7
);
13590 if (arg8
== NULL
) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= PyInt_FromLong((long)result
);
13624 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->Activate();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "maximize", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13660 arg2
= PyInt_AsLong(obj1
) ? true : false;
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 (arg1
)->Maximize(arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 Py_INCREF(Py_None
); resultobj
= Py_None
;
13676 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 Py_INCREF(Py_None
); resultobj
= Py_None
;
13700 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13705 return Py_BuildValue((char *)"");
13707 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13710 long arg2
= (long) 0 ;
13711 wxMDIClientWindow
*result
;
13712 PyObject
* obj0
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "parent",(char *) "style", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= wxPyMake_wxObject(result
);
13735 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxMDIClientWindow
*result
;
13738 char *kwnames
[] = {
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= wxPyMake_wxObject(result
);
13759 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13762 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13763 long arg3
= (long) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "parent",(char *) "style", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= PyInt_FromLong((long)result
);
13788 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13791 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13793 return Py_BuildValue((char *)"");
13795 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxWindow
*arg1
= (wxWindow
*) 0 ;
13799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13803 long arg5
= (long) 0 ;
13804 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13805 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13806 wxPyWindow
*result
;
13809 bool temp6
= False
;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 PyObject
* obj3
= 0 ;
13813 PyObject
* obj5
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13834 arg6
= wxString_in_helper(obj5
);
13835 if (arg6
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13861 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13864 PyObject
*arg2
= (PyObject
*) 0 ;
13865 PyObject
*arg3
= (PyObject
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self",(char *) "self",(char *) "_class", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13919 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13926 int arg6
= (int) wxSIZE_AUTO
;
13927 PyObject
* obj0
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "width",(char *) "height", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13974 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "x",(char *) "y", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 Py_INCREF(Py_None
); resultobj
= Py_None
;
14000 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14003 int *arg2
= (int *) 0 ;
14004 int *arg3
= (int *) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14026 resultobj
= t_output_helper(resultobj
,o
);
14029 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14030 resultobj
= t_output_helper(resultobj
,o
);
14038 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14041 int *arg2
= (int *) 0 ;
14042 int *arg3
= (int *) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14064 resultobj
= t_output_helper(resultobj
,o
);
14067 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14068 resultobj
= t_output_helper(resultobj
,o
);
14076 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14079 int *arg2
= (int *) 0 ;
14080 int *arg3
= (int *) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14101 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14102 resultobj
= t_output_helper(resultobj
,o
);
14105 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14106 resultobj
= t_output_helper(resultobj
,o
);
14114 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14133 wxSize
* resultptr
;
14134 resultptr
= new wxSize((wxSize
&) result
);
14135 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14143 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
;
14145 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 wxSize
* resultptr
;
14163 resultptr
= new wxSize((wxSize
&) result
);
14164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14172 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->base_InitDialog();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14196 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)(arg1
)->base_TransferDataToWindow();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= PyInt_FromLong((long)result
);
14221 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= PyInt_FromLong((long)result
);
14246 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (bool)(arg1
)->base_Validate();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= PyInt_FromLong((long)result
);
14271 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= PyInt_FromLong((long)result
);
14296 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= PyInt_FromLong((long)result
);
14321 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14340 wxSize
* resultptr
;
14341 resultptr
= new wxSize((wxSize
&) result
);
14342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14350 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14353 wxWindow
*arg2
= (wxWindow
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "child", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->base_AddChild(arg2
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14380 wxWindow
*arg2
= (wxWindow
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "child", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->base_RemoveChild(arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14407 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14409 return Py_BuildValue((char *)"");
14411 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxWindow
*arg1
= (wxWindow
*) 0 ;
14415 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14416 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14417 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14418 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14419 long arg5
= (long) 0 ;
14420 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14421 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14425 bool temp6
= False
;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj2
= 0 ;
14428 PyObject
* obj3
= 0 ;
14429 PyObject
* obj5
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14450 arg6
= wxString_in_helper(obj5
);
14451 if (arg6
== NULL
) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14477 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14480 PyObject
*arg2
= (PyObject
*) 0 ;
14481 PyObject
*arg3
= (PyObject
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 PyObject
* obj2
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "self",(char *) "_class", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14507 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14542 int arg6
= (int) wxSIZE_AUTO
;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 Py_INCREF(Py_None
); resultobj
= Py_None
;
14564 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "width",(char *) "height", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 Py_INCREF(Py_None
); resultobj
= Py_None
;
14590 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self",(char *) "x",(char *) "y", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14619 int *arg2
= (int *) 0 ;
14620 int *arg3
= (int *) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14642 resultobj
= t_output_helper(resultobj
,o
);
14645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14646 resultobj
= t_output_helper(resultobj
,o
);
14654 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14657 int *arg2
= (int *) 0 ;
14658 int *arg3
= (int *) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14680 resultobj
= t_output_helper(resultobj
,o
);
14683 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14684 resultobj
= t_output_helper(resultobj
,o
);
14692 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14695 int *arg2
= (int *) 0 ;
14696 int *arg3
= (int *) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14718 resultobj
= t_output_helper(resultobj
,o
);
14721 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14722 resultobj
= t_output_helper(resultobj
,o
);
14730 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 wxSize
* resultptr
;
14750 resultptr
= new wxSize((wxSize
&) result
);
14751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14759 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 wxSize
* resultptr
;
14779 resultptr
= new wxSize((wxSize
&) result
);
14780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14788 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 (arg1
)->base_InitDialog();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 Py_INCREF(Py_None
); resultobj
= Py_None
;
14812 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (bool)(arg1
)->base_TransferDataToWindow();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= PyInt_FromLong((long)result
);
14837 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= PyInt_FromLong((long)result
);
14862 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (bool)(arg1
)->base_Validate();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= PyInt_FromLong((long)result
);
14887 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= PyInt_FromLong((long)result
);
14912 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= PyInt_FromLong((long)result
);
14937 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 wxSize
* resultptr
;
14957 resultptr
= new wxSize((wxSize
&) result
);
14958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14966 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14969 wxWindow
*arg2
= (wxWindow
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self",(char *) "child", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->base_AddChild(arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 Py_INCREF(Py_None
); resultobj
= Py_None
;
14993 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14996 wxWindow
*arg2
= (wxWindow
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "child", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 (arg1
)->base_RemoveChild(arg2
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 Py_INCREF(Py_None
); resultobj
= Py_None
;
15020 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
15022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15023 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
15025 return Py_BuildValue((char *)"");
15027 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
15028 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
15033 static PyObject
*_wrap_PrintoutTitleStr_get() {
15038 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15040 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15047 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
15048 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
15053 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
15058 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15060 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15067 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxPrintData
*result
;
15070 char *kwnames
[] = {
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (wxPrintData
*)new wxPrintData();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
15089 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 Py_INCREF(Py_None
); resultobj
= Py_None
;
15113 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (int)(arg1
)->GetNoCopies();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= PyInt_FromLong((long)result
);
15138 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)(arg1
)->GetCollate();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= PyInt_FromLong((long)result
);
15163 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (int)(arg1
)->GetOrientation();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= PyInt_FromLong((long)result
);
15188 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (bool)(arg1
)->Ok();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= PyInt_FromLong((long)result
);
15213 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15228 result
= (wxString
*) &_result_ref
;
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15238 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15247 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (bool)(arg1
)->GetColour();
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= PyInt_FromLong((long)result
);
15272 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (int)(arg1
)->GetDuplex();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= PyInt_FromLong((long)result
);
15297 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (int)(arg1
)->GetPaperId();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= PyInt_FromLong((long)result
);
15322 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15337 result
= (wxSize
*) &_result_ref
;
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15350 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (int)(arg1
)->GetQuality();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= PyInt_FromLong((long)result
);
15375 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "v", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetNoCopies(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "flag", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15412 arg2
= PyInt_AsLong(obj1
) ? true : false;
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetCollate(arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 Py_INCREF(Py_None
); resultobj
= Py_None
;
15428 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self",(char *) "orient", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 (arg1
)->SetOrientation(arg2
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 Py_INCREF(Py_None
); resultobj
= Py_None
;
15453 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15456 wxString
*arg2
= 0 ;
15457 bool temp2
= False
;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "name", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15467 arg2
= wxString_in_helper(obj1
);
15468 if (arg2
== NULL
) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "colour", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15505 arg2
= PyInt_AsLong(obj1
) ? true : false;
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 (arg1
)->SetColour(arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "duplex", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "sizeId", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "sz", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self",(char *) "quality", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
15612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetQuality(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15642 result
= (wxString
*) &_result_ref
;
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15652 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15661 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15676 result
= (wxString
*) &_result_ref
;
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15695 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15710 result
= (wxString
*) &_result_ref
;
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15720 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15729 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 wxString
const &_result_ref
= (arg1
)->GetFilename();
15744 result
= (wxString
*) &_result_ref
;
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15754 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15763 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15778 result
= (wxString
*) &_result_ref
;
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15797 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (double)(arg1
)->GetPrinterScaleX();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= PyFloat_FromDouble(result
);
15822 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (double)(arg1
)->GetPrinterScaleY();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= PyFloat_FromDouble(result
);
15847 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (long)(arg1
)->GetPrinterTranslateX();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= PyInt_FromLong((long)result
);
15872 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (long)(arg1
)->GetPrinterTranslateY();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= PyInt_FromLong((long)result
);
15897 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (int)(arg1
)->GetPrintMode();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= PyInt_FromLong((long)result
);
15922 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15925 wxString
*arg2
= 0 ;
15926 bool temp2
= False
;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self",(char *) "command", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15936 arg2
= wxString_in_helper(obj1
);
15937 if (arg2
== NULL
) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15965 wxString
*arg2
= 0 ;
15966 bool temp2
= False
;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self",(char *) "options", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15976 arg2
= wxString_in_helper(obj1
);
15977 if (arg2
== NULL
) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16005 wxString
*arg2
= 0 ;
16006 bool temp2
= False
;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "command", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16016 arg2
= wxString_in_helper(obj1
);
16017 if (arg2
== NULL
) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 Py_INCREF(Py_None
); resultobj
= Py_None
;
16042 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16045 wxString
*arg2
= 0 ;
16046 bool temp2
= False
;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "filename", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16056 arg2
= wxString_in_helper(obj1
);
16057 if (arg2
== NULL
) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 (arg1
)->SetFilename((wxString
const &)*arg2
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 Py_INCREF(Py_None
); resultobj
= Py_None
;
16082 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16085 wxString
*arg2
= 0 ;
16086 bool temp2
= False
;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self",(char *) "path", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16096 arg2
= wxString_in_helper(obj1
);
16097 if (arg2
== NULL
) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self",(char *) "x", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 (arg1
)->SetPrinterScaleX(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "y", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetPrinterScaleY(arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "x",(char *) "y", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 Py_INCREF(Py_None
); resultobj
= Py_None
;
16198 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "x", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetPrinterTranslateX(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self",(char *) "y", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 (arg1
)->SetPrinterTranslateY(arg2
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 Py_INCREF(Py_None
); resultobj
= Py_None
;
16248 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "x",(char *) "y", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "printMode", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 Py_INCREF(Py_None
); resultobj
= Py_None
;
16299 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16302 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16304 return Py_BuildValue((char *)"");
16306 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxPageSetupDialogData
*result
;
16309 char *kwnames
[] = {
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16328 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "flag", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16364 arg2
= PyInt_AsLong(obj1
) ? true : false;
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->EnableHelp(arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "flag", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16392 arg2
= PyInt_AsLong(obj1
) ? true : false;
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 (arg1
)->EnableMargins(arg2
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "flag", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16420 arg2
= PyInt_AsLong(obj1
) ? true : false;
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->EnableOrientation(arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "flag", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16448 arg2
= PyInt_AsLong(obj1
) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->EnablePaper(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self",(char *) "flag", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16476 arg2
= PyInt_AsLong(obj1
) ? true : false;
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->EnablePrinter(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)(arg1
)->GetDefaultMinMargins();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= PyInt_FromLong((long)result
);
16517 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (bool)(arg1
)->GetEnableMargins();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= PyInt_FromLong((long)result
);
16542 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->GetEnableOrientation();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyInt_FromLong((long)result
);
16567 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (bool)(arg1
)->GetEnablePaper();
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= PyInt_FromLong((long)result
);
16592 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (bool)(arg1
)->GetEnablePrinter();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= PyInt_FromLong((long)result
);
16617 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)(arg1
)->GetEnableHelp();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= PyInt_FromLong((long)result
);
16642 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (bool)(arg1
)->GetDefaultInfo();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyInt_FromLong((long)result
);
16667 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (arg1
)->GetMarginTopLeft();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 wxPoint
* resultptr
;
16687 resultptr
= new wxPoint((wxPoint
&) result
);
16688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16696 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (arg1
)->GetMarginBottomRight();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 wxPoint
* resultptr
;
16716 resultptr
= new wxPoint((wxPoint
&) result
);
16717 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16725 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (arg1
)->GetMinMarginTopLeft();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 wxPoint
* resultptr
;
16745 resultptr
= new wxPoint((wxPoint
&) result
);
16746 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16754 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (arg1
)->GetMinMarginBottomRight();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 wxPoint
* resultptr
;
16774 resultptr
= new wxPoint((wxPoint
&) result
);
16775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16783 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (int)(arg1
)->GetPaperId();
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= PyInt_FromLong((long)result
);
16808 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (arg1
)->GetPaperSize();
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 wxSize
* resultptr
;
16828 resultptr
= new wxSize((wxSize
&) result
);
16829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16837 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16840 wxPrintData
*result
;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16852 result
= (wxPrintData
*) &_result_ref
;
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16865 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (bool)(arg1
)->Ok();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= PyInt_FromLong((long)result
);
16890 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "flag", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16902 arg2
= PyInt_AsLong(obj1
) ? true : false;
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetDefaultInfo(arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "flag", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16930 arg2
= PyInt_AsLong(obj1
) ? true : false;
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->SetDefaultMinMargins(arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16949 wxPoint
*arg2
= 0 ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "pt", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16980 wxPoint
*arg2
= 0 ;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "pt", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17011 wxPoint
*arg2
= 0 ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "pt", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 Py_INCREF(Py_None
); resultobj
= Py_None
;
17039 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17042 wxPoint
*arg2
= 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "pt", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 Py_INCREF(Py_None
); resultobj
= Py_None
;
17070 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "id", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "size", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17110 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17129 wxPrintData
*arg2
= 0 ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self",(char *) "printData", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17139 if (arg2
== NULL
) {
17140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17159 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17161 return Py_BuildValue((char *)"");
17163 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxWindow
*arg1
= (wxWindow
*) 0 ;
17166 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17167 wxPageSetupDialog
*result
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "parent",(char *) "data", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17193 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17196 wxPageSetupDialogData
*result
;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17208 result
= (wxPageSetupDialogData
*) &_result_ref
;
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17221 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 result
= (int)(arg1
)->ShowModal();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= PyInt_FromLong((long)result
);
17246 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17249 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17251 return Py_BuildValue((char *)"");
17253 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxPrintDialogData
*result
;
17256 char *kwnames
[] = {
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17275 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 Py_INCREF(Py_None
); resultobj
= Py_None
;
17299 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= PyInt_FromLong((long)result
);
17324 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= PyInt_FromLong((long)result
);
17349 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= PyInt_FromLong((long)result
);
17374 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= PyInt_FromLong((long)result
);
17399 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= PyInt_FromLong((long)result
);
17424 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= PyInt_FromLong((long)result
);
17449 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= PyInt_FromLong((long)result
);
17474 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= PyInt_FromLong((long)result
);
17499 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= PyInt_FromLong((long)result
);
17524 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= PyInt_FromLong((long)result
);
17549 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "v", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetFromPage(arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "v", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetToPage(arg2
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self",(char *) "v", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 (arg1
)->SetMinPage(arg2
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 Py_INCREF(Py_None
); resultobj
= Py_None
;
17624 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self",(char *) "v", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->SetMaxPage(arg2
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 Py_INCREF(Py_None
); resultobj
= Py_None
;
17649 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "v", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetNoCopies(arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "flag", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17686 arg2
= PyInt_AsLong(obj1
) ? true : false;
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->SetAllPages(arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "flag", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17714 arg2
= PyInt_AsLong(obj1
) ? true : false;
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->SetSelection(arg2
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 Py_INCREF(Py_None
); resultobj
= Py_None
;
17730 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "flag", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 arg2
= PyInt_AsLong(obj1
) ? true : false;
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->SetCollate(arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "flag", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 arg2
= PyInt_AsLong(obj1
) ? true : false;
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->SetPrintToFile(arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "flag", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 arg2
= PyInt_AsLong(obj1
) ? true : false;
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->SetSetupDialog(arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "flag", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17826 arg2
= PyInt_AsLong(obj1
) ? true : false;
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->EnablePrintToFile(arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "flag", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 arg2
= PyInt_AsLong(obj1
) ? true : false;
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 (arg1
)->EnableSelection(arg2
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 Py_INCREF(Py_None
); resultobj
= Py_None
;
17870 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "flag", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 arg2
= PyInt_AsLong(obj1
) ? true : false;
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->EnablePageNumbers(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "flag", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 arg2
= PyInt_AsLong(obj1
) ? true : false;
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 (arg1
)->EnableHelp(arg2
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 Py_INCREF(Py_None
); resultobj
= Py_None
;
17926 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= PyInt_FromLong((long)result
);
17951 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= PyInt_FromLong((long)result
);
17976 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= PyInt_FromLong((long)result
);
18001 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= PyInt_FromLong((long)result
);
18026 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= PyInt_FromLong((long)result
);
18051 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18054 wxPrintData
*result
;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18066 result
= (wxPrintData
*) &_result_ref
;
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18079 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18082 wxPrintData
*arg2
= 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "printData", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18092 if (arg2
== NULL
) {
18093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 Py_INCREF(Py_None
); resultobj
= Py_None
;
18109 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18112 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
18114 return Py_BuildValue((char *)"");
18116 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxWindow
*arg1
= (wxWindow
*) 0 ;
18119 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
18120 wxPrintDialog
*result
;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "parent",(char *) "data", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18146 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18149 wxPrintDialogData
*result
;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18161 result
= (wxPrintDialogData
*) &_result_ref
;
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18174 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (wxDC
*)(arg1
)->GetPrintDC();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= wxPyMake_wxObject(result
);
18201 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (int)(arg1
)->ShowModal();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= PyInt_FromLong((long)result
);
18226 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18231 return Py_BuildValue((char *)"");
18233 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "data", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (wxPrinter
*)new wxPrinter(arg1
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18260 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18287 wxWindow
*arg2
= (wxWindow
*) 0 ;
18288 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 PyObject
* obj2
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "parent",(char *) "printout", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18317 wxPrintDialogData
*result
;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18329 result
= (wxPrintDialogData
*) &_result_ref
;
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18342 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18345 wxWindow
*arg2
= (wxWindow
*) 0 ;
18346 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18347 int arg4
= (int) True
;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 PyObject
* obj2
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= PyInt_FromLong((long)result
);
18374 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18377 wxWindow
*arg2
= (wxWindow
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self",(char *) "parent", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= wxPyMake_wxObject(result
);
18404 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18407 wxWindow
*arg2
= (wxWindow
*) 0 ;
18408 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18409 wxString
*arg4
= 0 ;
18410 bool temp4
= False
;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 PyObject
* obj2
= 0 ;
18414 PyObject
* obj3
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18424 arg4
= wxString_in_helper(obj3
);
18425 if (arg4
== NULL
) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 Py_INCREF(Py_None
); resultobj
= Py_None
;
18450 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18453 wxWindow
*arg2
= (wxWindow
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "parent", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (bool)(arg1
)->Setup(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= PyInt_FromLong((long)result
);
18478 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (bool)(arg1
)->GetAbort();
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= PyInt_FromLong((long)result
);
18503 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18506 char *kwnames
[] = {
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (int)wxPrinter::GetLastError();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= PyInt_FromLong((long)result
);
18525 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18528 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18530 return Py_BuildValue((char *)"");
18532 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18534 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18535 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18536 wxPyPrintout
*result
;
18537 bool temp1
= False
;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "title", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18546 arg1
= wxString_in_helper(obj0
);
18547 if (arg1
== NULL
) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= wxPyMake_wxObject(result
);
18575 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18578 PyObject
*arg2
= (PyObject
*) 0 ;
18579 PyObject
*arg3
= (PyObject
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 PyObject
* obj2
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "self",(char *) "_class", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18605 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18636 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (wxDC
*)(arg1
)->GetDC();
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= wxPyMake_wxObject(result
);
18663 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18666 wxDC
*arg2
= (wxDC
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self",(char *) "dc", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->SetDC(arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18690 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self",(char *) "w",(char *) "h", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18719 int *arg2
= (int *) 0 ;
18720 int *arg3
= (int *) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 Py_INCREF(Py_None
); resultobj
= Py_None
;
18741 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18742 resultobj
= t_output_helper(resultobj
,o
);
18745 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18746 resultobj
= t_output_helper(resultobj
,o
);
18754 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "w",(char *) "h", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 Py_INCREF(Py_None
); resultobj
= Py_None
;
18780 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18783 int *arg2
= (int *) 0 ;
18784 int *arg3
= (int *) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 Py_INCREF(Py_None
); resultobj
= Py_None
;
18805 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18806 resultobj
= t_output_helper(resultobj
,o
);
18809 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18810 resultobj
= t_output_helper(resultobj
,o
);
18818 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "x",(char *) "y", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->SetPPIScreen(arg2
,arg3
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18847 int *arg2
= (int *) 0 ;
18848 int *arg3
= (int *) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->GetPPIScreen(arg2
,arg3
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18870 resultobj
= t_output_helper(resultobj
,o
);
18873 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18874 resultobj
= t_output_helper(resultobj
,o
);
18882 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self",(char *) "x",(char *) "y", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 Py_INCREF(Py_None
); resultobj
= Py_None
;
18908 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18911 int *arg2
= (int *) 0 ;
18912 int *arg3
= (int *) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18934 resultobj
= t_output_helper(resultobj
,o
);
18937 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18938 resultobj
= t_output_helper(resultobj
,o
);
18946 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (bool)(arg1
)->IsPreview();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= PyInt_FromLong((long)result
);
18971 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "p", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18983 arg2
= PyInt_AsLong(obj1
) ? true : false;
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->SetIsPreview(arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= PyInt_FromLong((long)result
);
19026 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->base_OnEndDocument();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 Py_INCREF(Py_None
); resultobj
= Py_None
;
19050 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->base_OnBeginPrinting();
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->base_OnEndPrinting();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 Py_INCREF(Py_None
); resultobj
= Py_None
;
19098 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->base_OnPreparePrinting();
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "page", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (bool)(arg1
)->base_HasPage(arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= PyInt_FromLong((long)result
);
19148 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19151 int *arg2
= (int *) 0 ;
19152 int *arg3
= (int *) 0 ;
19153 int *arg4
= (int *) 0 ;
19154 int *arg5
= (int *) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19180 resultobj
= t_output_helper(resultobj
,o
);
19183 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19184 resultobj
= t_output_helper(resultobj
,o
);
19187 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19188 resultobj
= t_output_helper(resultobj
,o
);
19191 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19192 resultobj
= t_output_helper(resultobj
,o
);
19200 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19203 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19205 return Py_BuildValue((char *)"");
19207 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19210 wxWindow
*arg2
= (wxWindow
*) 0 ;
19211 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19212 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19213 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19214 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19215 long arg5
= (long) 0 ;
19216 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19217 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19218 wxPreviewCanvas
*result
;
19221 bool temp6
= False
;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 PyObject
* obj2
= 0 ;
19225 PyObject
* obj3
= 0 ;
19226 PyObject
* obj5
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19243 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19248 arg6
= wxString_in_helper(obj5
);
19249 if (arg6
== NULL
) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19275 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19278 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19280 return Py_BuildValue((char *)"");
19282 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19285 wxFrame
*arg2
= (wxFrame
*) 0 ;
19286 wxString
*arg3
= 0 ;
19287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19291 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19292 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19294 wxPreviewFrame
*result
;
19295 bool temp3
= False
;
19298 bool temp7
= False
;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 PyObject
* obj3
= 0 ;
19303 PyObject
* obj4
= 0 ;
19304 PyObject
* obj6
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19313 arg3
= wxString_in_helper(obj2
);
19314 if (arg3
== NULL
) SWIG_fail
;
19320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19331 arg7
= wxString_in_helper(obj6
);
19332 if (arg7
== NULL
) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19366 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->Initialize();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->CreateControlBar();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->CreateCanvas();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19441 wxPreviewControlBar
*result
;
19442 PyObject
* obj0
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19463 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19468 return Py_BuildValue((char *)"");
19470 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19474 wxWindow
*arg3
= (wxWindow
*) 0 ;
19475 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19476 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19477 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19478 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19479 long arg6
= (long) wxTAB_TRAVERSAL
;
19480 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19481 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19482 wxPreviewControlBar
*result
;
19485 bool temp7
= False
;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 PyObject
* obj3
= 0 ;
19489 PyObject
* obj4
= 0 ;
19490 PyObject
* obj6
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19497 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19512 arg7
= wxString_in_helper(obj6
);
19513 if (arg7
== NULL
) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19539 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (int)(arg1
)->GetZoomControl();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= PyInt_FromLong((long)result
);
19564 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "zoom", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->SetZoomControl(arg2
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 Py_INCREF(Py_None
); resultobj
= Py_None
;
19589 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19592 wxPrintPreview
*result
;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19614 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 Py_INCREF(Py_None
); resultobj
= Py_None
;
19638 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->OnPrevious();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19662 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 Py_INCREF(Py_None
); resultobj
= Py_None
;
19710 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 Py_INCREF(Py_None
); resultobj
= Py_None
;
19734 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19737 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19739 return Py_BuildValue((char *)"");
19741 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19744 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19745 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19746 wxPrintPreview
*result
;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 PyObject
* obj2
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19758 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19774 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "pageNum", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= PyInt_FromLong((long)result
);
19800 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)(arg1
)->GetCurrentPage();
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= PyInt_FromLong((long)result
);
19825 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19828 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self",(char *) "printout", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 (arg1
)->SetPrintout(arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 Py_INCREF(Py_None
); resultobj
= Py_None
;
19852 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19855 wxPyPrintout
*result
;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= wxPyMake_wxObject(result
);
19879 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19882 wxPyPrintout
*result
;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= wxPyMake_wxObject(result
);
19906 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19909 wxFrame
*arg2
= (wxFrame
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self",(char *) "frame", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 (arg1
)->SetFrame(arg2
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19936 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "canvas", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetCanvas(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 Py_INCREF(Py_None
); resultobj
= Py_None
;
19960 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (wxFrame
*)(arg1
)->GetFrame();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= wxPyMake_wxObject(result
);
19987 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19990 wxPreviewCanvas
*result
;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
20012 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20015 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 PyObject
* obj2
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20028 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20029 if (arg3
== NULL
) {
20030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= PyInt_FromLong((long)result
);
20046 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20049 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 PyObject
* obj2
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20062 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20063 if (arg3
== NULL
) {
20064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= PyInt_FromLong((long)result
);
20080 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self",(char *) "pageNum", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (bool)(arg1
)->RenderPage(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= PyInt_FromLong((long)result
);
20106 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20109 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self",(char *) "canvas", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->AdjustScrollbars(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20136 wxPrintDialogData
*result
;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20148 result
= (wxPrintDialogData
*) &_result_ref
;
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20161 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self",(char *) "percent", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 (arg1
)->SetZoom(arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 Py_INCREF(Py_None
); resultobj
= Py_None
;
20186 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (int)(arg1
)->GetZoom();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= PyInt_FromLong((long)result
);
20211 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->GetMaxPage();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= PyInt_FromLong((long)result
);
20236 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (int)(arg1
)->GetMinPage();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= PyInt_FromLong((long)result
);
20261 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)(arg1
)->Ok();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= PyInt_FromLong((long)result
);
20286 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self",(char *) "ok", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20298 arg2
= PyInt_AsLong(obj1
) ? true : false;
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 (arg1
)->SetOk(arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 Py_INCREF(Py_None
); resultobj
= Py_None
;
20314 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self",(char *) "interactive", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20327 arg2
= PyInt_AsLong(obj1
) ? true : false;
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)(arg1
)->Print(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= PyInt_FromLong((long)result
);
20343 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "self", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 (arg1
)->DetermineScaling();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 Py_INCREF(Py_None
); resultobj
= Py_None
;
20367 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20370 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20372 return Py_BuildValue((char *)"");
20374 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20377 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20378 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20379 wxPyPrintPreview
*result
;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20391 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20407 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20410 PyObject
*arg2
= (PyObject
*) 0 ;
20411 PyObject
*arg3
= (PyObject
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 PyObject
* obj2
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self",(char *) "self",(char *) "_class", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self",(char *) "pageNum", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= PyInt_FromLong((long)result
);
20463 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20466 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 PyObject
* obj2
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20479 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20480 if (arg3
== NULL
) {
20481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= PyInt_FromLong((long)result
);
20497 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20500 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 PyObject
* obj2
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20513 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20514 if (arg3
== NULL
) {
20515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= PyInt_FromLong((long)result
);
20531 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "pageNum", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= PyInt_FromLong((long)result
);
20557 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "percent", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 (arg1
)->base_SetZoom(arg2
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 Py_INCREF(Py_None
); resultobj
= Py_None
;
20582 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "interactive", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20595 arg2
= PyInt_AsLong(obj1
) ? true : false;
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (bool)(arg1
)->base_Print(arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= PyInt_FromLong((long)result
);
20611 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 (arg1
)->base_DetermineScaling();
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20638 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20640 return Py_BuildValue((char *)"");
20642 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20645 wxFrame
*arg2
= (wxFrame
*) 0 ;
20646 wxString
*arg3
= 0 ;
20647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20651 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20652 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20654 wxPyPreviewFrame
*result
;
20655 bool temp3
= False
;
20658 bool temp7
= False
;
20659 PyObject
* obj0
= 0 ;
20660 PyObject
* obj1
= 0 ;
20661 PyObject
* obj2
= 0 ;
20662 PyObject
* obj3
= 0 ;
20663 PyObject
* obj4
= 0 ;
20664 PyObject
* obj6
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20673 arg3
= wxString_in_helper(obj2
);
20674 if (arg3
== NULL
) SWIG_fail
;
20680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20691 arg7
= wxString_in_helper(obj6
);
20692 if (arg7
== NULL
) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20726 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20729 PyObject
*arg2
= (PyObject
*) 0 ;
20730 PyObject
*arg3
= (PyObject
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 PyObject
* obj2
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "self",(char *) "_class", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 Py_INCREF(Py_None
); resultobj
= Py_None
;
20756 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20759 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "canvas", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 (arg1
)->SetPreviewCanvas(arg2
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 Py_INCREF(Py_None
); resultobj
= Py_None
;
20783 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20786 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "bar", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 (arg1
)->SetControlBar(arg2
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 Py_INCREF(Py_None
); resultobj
= Py_None
;
20810 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 (arg1
)->base_Initialize();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 (arg1
)->base_CreateCanvas();
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 Py_INCREF(Py_None
); resultobj
= Py_None
;
20858 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 (arg1
)->base_CreateControlBar();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 Py_INCREF(Py_None
); resultobj
= Py_None
;
20882 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20885 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20887 return Py_BuildValue((char *)"");
20889 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20893 wxWindow
*arg3
= (wxWindow
*) 0 ;
20894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20898 long arg6
= (long) 0 ;
20899 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20901 wxPyPreviewControlBar
*result
;
20904 bool temp7
= False
;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj2
= 0 ;
20907 PyObject
* obj3
= 0 ;
20908 PyObject
* obj4
= 0 ;
20909 PyObject
* obj6
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20916 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20931 arg7
= wxString_in_helper(obj6
);
20932 if (arg7
== NULL
) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20958 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20961 PyObject
*arg2
= (PyObject
*) 0 ;
20962 PyObject
*arg3
= (PyObject
*) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 PyObject
* obj2
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self",(char *) "self",(char *) "_class", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 Py_INCREF(Py_None
); resultobj
= Py_None
;
20988 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20991 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self",(char *) "preview", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->SetPrintPreview(arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->base_CreateButtons();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self",(char *) "zoom", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->base_SetZoomControl(arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21064 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
21069 return Py_BuildValue((char *)"");
21071 static PyMethodDef SwigMethods
[] = {
21072 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
21077 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
21086 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
21092 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
21093 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
21100 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
21114 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
21116 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21124 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21136 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21137 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21142 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"Dialog_SetModal", (PyCFunction
) _wrap_Dialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21150 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21151 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21154 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21157 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21158 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21160 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21163 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21167 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21178 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21185 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21204 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21211 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21218 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21221 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21223 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21232 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21234 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21236 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21242 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21244 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21254 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21260 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21262 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21266 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21269 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21272 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21275 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21277 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21280 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21286 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21290 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21293 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21297 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21300 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21304 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21308 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21313 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21322 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21328 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21334 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21340 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21341 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
21347 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21349 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21351 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21360 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21364 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21372 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21390 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21393 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21394 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21400 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21405 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21412 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21421 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21425 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21428 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21432 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21437 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21441 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21450 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21453 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21456 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
21468 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21469 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21471 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21473 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21474 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21478 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21482 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21495 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21503 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21507 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21512 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21523 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21524 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21536 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21546 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21548 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21554 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21564 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21568 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21586 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21587 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21588 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21597 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21598 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21600 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21604 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21605 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21606 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21609 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21611 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21612 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21613 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21614 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21615 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21616 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21617 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21618 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21619 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21620 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21621 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21622 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21623 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21624 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21625 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21626 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21627 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21628 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21629 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21630 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21631 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21632 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21633 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21634 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21635 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21636 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21637 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21638 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21639 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21640 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21641 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21642 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21643 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21644 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21645 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21646 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21647 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21648 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21649 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21650 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21651 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21652 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21653 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21654 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21655 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21656 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21657 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21658 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21659 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21660 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21661 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21662 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21663 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21664 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21665 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21666 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21667 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21668 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21669 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21670 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21671 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21672 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21673 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21674 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21675 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21676 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21677 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21678 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21679 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21680 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21681 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21682 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21683 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21684 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21685 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21686 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21687 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21688 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21689 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21690 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21691 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21692 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21693 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21694 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21695 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21696 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21697 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21698 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21699 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21700 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21701 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21702 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21703 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21704 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21705 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21706 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21707 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21708 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21709 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21710 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21711 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21712 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21713 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21714 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21715 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21716 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21717 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21718 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21719 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21720 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21721 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21722 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21723 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21724 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21725 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21726 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21727 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21728 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21729 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21730 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21731 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21732 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21733 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21734 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21735 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21736 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21737 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21738 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21739 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21740 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21741 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21742 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21749 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21750 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21752 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21755 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21756 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21758 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21759 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21761 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21762 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21764 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21765 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21767 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21768 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21770 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21771 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21773 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21774 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21776 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21779 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21782 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21783 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21785 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21788 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21789 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21791 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21792 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21794 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21797 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21798 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21800 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21801 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21803 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21804 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21806 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21807 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21809 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21810 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21812 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21813 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21815 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21816 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21818 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21819 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21821 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21824 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21825 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21827 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21828 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21830 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21831 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21833 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21834 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21836 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21837 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21839 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21840 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21842 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21845 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21848 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21849 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21851 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21852 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21854 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21855 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21857 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21858 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21860 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21863 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21864 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21866 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21867 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21869 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21870 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21872 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21873 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21875 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21876 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21878 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21881 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21884 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21887 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21888 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21890 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21891 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21893 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21894 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21896 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21897 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21911 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21914 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21917 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21920 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21921 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21923 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21924 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21926 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21929 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
21932 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21935 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21938 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21941 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21942 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21944 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21945 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21947 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21950 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21951 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21953 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21956 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21959 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21960 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21962 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21963 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21965 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21968 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21971 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21974 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21975 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21977 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21980 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21981 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21983 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21986 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21989 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21992 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21995 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21998 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21999 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22001 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
22002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22004 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
22005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22007 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
22008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22010 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
22011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22013 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
22014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22016 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
22017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22019 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
22020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22022 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
22023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22025 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
22026 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22028 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
22029 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
22031 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
22032 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
22034 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
22035 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
22037 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
22038 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22040 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
22041 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
22043 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
22044 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
22046 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
22047 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
22049 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22050 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22052 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
22053 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
22055 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
22056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22058 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
22059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22061 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22062 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22064 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22065 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22067 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22070 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22071 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22073 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22074 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22076 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22077 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22079 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22080 return (void *)((wxObject
*) ((wxSizer
*) x
));
22082 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22083 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22085 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22088 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
22089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
22091 static void *_p_wxEventTo_p_wxObject(void *x
) {
22092 return (void *)((wxObject
*) ((wxEvent
*) x
));
22094 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
22095 return (void *)((wxObject
*) ((wxFontData
*) x
));
22097 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
22098 return (void *)((wxObject
*) ((wxPrintData
*) x
));
22100 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22101 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22103 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22104 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22106 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22107 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22109 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
22110 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
22112 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
22113 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
22115 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
22116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22118 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22119 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22121 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22122 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22124 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22125 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22127 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22128 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22130 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22131 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22133 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22134 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22136 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22139 static void *_p_wxControlTo_p_wxObject(void *x
) {
22140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22142 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22143 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22145 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22146 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22148 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22149 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22151 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22152 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22154 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22155 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22157 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22160 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22161 return (void *)((wxObject
*) ((wxColourData
*) x
));
22163 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22164 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22166 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22169 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22172 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22175 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22178 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22181 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22184 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22187 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22190 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22193 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22196 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22197 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22199 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22200 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22202 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22203 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22205 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22206 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22212 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22215 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22217 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22218 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22220 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22221 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22223 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22224 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22226 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22227 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22229 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22232 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22235 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22238 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22241 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22244 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22247 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22248 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22250 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22251 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22253 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22254 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22256 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22259 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22260 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22262 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22265 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22266 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22268 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22269 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22271 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22274 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22277 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22278 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22280 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22283 static void *_p_wxImageTo_p_wxObject(void *x
) {
22284 return (void *)((wxObject
*) ((wxImage
*) x
));
22286 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22289 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22290 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22292 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22293 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22295 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22296 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22298 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22301 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22304 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22307 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22308 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22310 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22311 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22313 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22314 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22316 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22317 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22319 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22322 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22325 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22328 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22331 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22334 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22337 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22340 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22343 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22346 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22349 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22352 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22355 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22358 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22359 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22361 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22362 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22364 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22367 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22370 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22373 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22376 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22379 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22382 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22385 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22386 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22388 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22391 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22392 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22394 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22395 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22397 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22398 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22400 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22401 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22403 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22404 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22406 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22409 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22410 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22412 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22415 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22418 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22419 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22421 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22422 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22424 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22427 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22430 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22431 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22433 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22434 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22436 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22439 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22440 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22442 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22443 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22445 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22446 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22448 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
22449 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22451 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22452 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22454 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
22455 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22457 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22458 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22460 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22461 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22463 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22464 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22466 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22467 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22469 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22470 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22472 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22473 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22475 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22476 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22478 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22479 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22481 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22482 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22484 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22485 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22487 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22488 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22490 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22491 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22493 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22494 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22496 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22497 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22499 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22500 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22502 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22503 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22505 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22506 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22508 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22509 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22511 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22512 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22514 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22515 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22517 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22518 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22520 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22521 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22523 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22524 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22526 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22527 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22529 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22530 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22532 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22533 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22535 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22538 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22541 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22544 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22547 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22550 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22553 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22554 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22556 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22557 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22559 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22560 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22562 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22563 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22565 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22566 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
22568 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22569 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22571 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22572 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22574 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22575 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22577 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22578 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22580 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22581 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22583 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22584 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22586 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22587 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22589 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22590 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22592 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22593 return (void *)((wxWindow
*) ((wxControl
*) x
));
22595 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22598 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22601 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22602 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22604 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22605 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22607 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22608 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22610 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22611 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22613 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22614 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22616 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22617 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22619 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22620 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22622 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22623 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22625 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22626 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22628 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22629 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22631 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22632 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22634 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22635 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22637 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22638 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22640 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22641 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22643 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22644 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22646 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22647 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22649 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22650 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22652 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22653 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22655 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22656 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22658 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22659 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22661 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22662 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22664 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22665 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22667 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22668 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22670 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22671 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22673 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22674 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22676 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22677 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22679 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22680 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22682 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22683 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22685 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22686 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22688 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22689 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22691 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22692 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22694 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22695 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22697 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22698 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22700 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22701 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22703 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22704 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22706 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22707 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22709 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22710 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22712 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22713 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22715 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22716 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22718 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22719 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22721 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22722 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22724 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22725 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22727 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22728 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22730 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22731 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22733 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22734 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22736 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22737 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22739 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22740 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22742 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22743 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22745 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22746 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22748 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22749 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22750 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22751 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22752 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22753 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22754 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22755 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}};
22756 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22757 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22758 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22759 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22760 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22761 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22762 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22763 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22764 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22765 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22766 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22767 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22768 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22769 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22770 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22771 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22772 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22773 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22774 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22775 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22776 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22777 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22778 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22779 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22780 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22781 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22782 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22783 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}};
22784 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22785 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22786 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22787 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22788 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22789 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}};
22790 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22791 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22792 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22793 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22794 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22795 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22796 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}};
22797 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22798 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22799 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22800 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22801 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22802 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}};
22803 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
22804 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}};
22805 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22806 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}};
22807 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}};
22808 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22809 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22810 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22811 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22812 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22813 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22814 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22815 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22816 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22817 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22818 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22819 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}};
22820 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}};
22821 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22822 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22823 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}};
22824 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22825 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22826 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22827 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22828 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22829 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22831 static swig_type_info
*swig_types_initial
[] = {
22832 _swigt__p_wxQueryLayoutInfoEvent
,
22833 _swigt__p_wxPreviewFrame
,
22834 _swigt__p_wxPyPreviewFrame
,
22835 _swigt__p_wxPyPanel
,
22837 _swigt__p_wxPrintData
,
22838 _swigt__p_wxFontData
,
22840 _swigt__p_wxTaskBarIcon
,
22841 _swigt__p_wxIconBundle
,
22842 _swigt__p_wxLayoutAlgorithm
,
22843 _swigt__p_wxFindDialogEvent
,
22844 _swigt__p_wxPreviewCanvas
,
22846 _swigt__p_wxSplitterEvent
,
22847 _swigt__p_wxRegion
,
22848 _swigt__p_wxFindReplaceData
,
22853 _swigt__p_wxMDIChildFrame
,
22854 _swigt__p_wxColourData
,
22855 _swigt__p_wxNotifyEvent
,
22856 _swigt__p_wxPyWindow
,
22857 _swigt__p_wxSplashScreen
,
22858 _swigt__p_wxFindReplaceDialog
,
22859 _swigt__p_wxProgressDialog
,
22860 _swigt__p_wxMessageDialog
,
22861 _swigt__p_wxTextEntryDialog
,
22862 _swigt__p_wxSingleChoiceDialog
,
22863 _swigt__p_wxMultiChoiceDialog
,
22864 _swigt__p_wxFileDialog
,
22865 _swigt__p_wxPrinter
,
22866 _swigt__p_wxArrayInt
,
22867 _swigt__p_wxEvtHandler
,
22868 _swigt__p_wxCalculateLayoutEvent
,
22869 _swigt__p_wxPyHtmlListBox
,
22870 _swigt__p_wxPyVListBox
,
22872 _swigt__p_wxMiniFrame
,
22874 _swigt__p_wxPyPrintout
,
22875 _swigt__p_wxTaskBarIconEvent
,
22876 _swigt__p_wxScrollWinEvent
,
22877 _swigt__p_wxStatusBar
,
22878 _swigt__p_wxMDIParentFrame
,
22880 _swigt__p_wxObject
,
22881 _swigt__p_unsigned_long
,
22882 _swigt__p_wxMDIClientWindow
,
22883 _swigt__p_wxTipWindow
,
22884 _swigt__p_wxSashLayoutWindow
,
22885 _swigt__p_wxSplitterWindow
,
22886 _swigt__p_wxPyVScrolledWindow
,
22887 _swigt__p_wxPyPopupTransientWindow
,
22888 _swigt__p_wxPopupWindow
,
22889 _swigt__p_wxSashWindow
,
22890 _swigt__p_wxTopLevelWindow
,
22891 _swigt__p_wxWindow
,
22892 _swigt__p_wxScrolledWindow
,
22893 _swigt__p_wxSplashScreenWindow
,
22894 _swigt__p_wxMenuBar
,
22895 _swigt__p_wxPrintPreview
,
22896 _swigt__p_wxSashEvent
,
22897 _swigt__p_wxString
,
22898 _swigt__p_wxPyPrintPreview
,
22899 _swigt__p_wxPageSetupDialog
,
22900 _swigt__p_wxFontDialog
,
22901 _swigt__p_wxDirDialog
,
22902 _swigt__p_wxColourDialog
,
22903 _swigt__p_wxDialog
,
22905 _swigt__p_wxPrintDialog
,
22906 _swigt__p_wxBitmap
,
22907 _swigt__p_wxCommandEvent
,
22908 _swigt__p_wxPreviewControlBar
,
22909 _swigt__p_wxPyPreviewControlBar
,
22910 _swigt__p_wxColour
,
22911 _swigt__p_wxToolBar
,
22912 _swigt__p_wxPrintDialogData
,
22913 _swigt__p_wxPageSetupDialogData
,
22918 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22920 static swig_const_info swig_const_table
[] = {
22921 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22922 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22923 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22924 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22925 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22926 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22927 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22928 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22929 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22930 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22931 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22932 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22933 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22934 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22935 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22936 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22937 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22938 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22939 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22940 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22941 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22942 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22943 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22944 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22945 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22946 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22947 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22948 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22949 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22950 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22951 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22952 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22953 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22954 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22955 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22956 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22957 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22958 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22959 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22960 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22961 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22962 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22963 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22964 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22965 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22966 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22967 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22968 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22969 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22970 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22971 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22972 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22973 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22974 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22975 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22976 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22977 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22978 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22979 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22980 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22981 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22982 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22983 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22984 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22985 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22986 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22987 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22988 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22989 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22990 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22991 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22992 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22993 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22994 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22995 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22996 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22997 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22998 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22999 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23000 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23001 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23002 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23003 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23004 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23005 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23006 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23007 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
23008 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
23009 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
23010 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
23011 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
23012 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
23013 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
23014 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
23015 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
23016 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
23017 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
23018 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
23019 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
23020 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
23021 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
23022 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
23023 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
23024 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
23025 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
23026 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
23027 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
23028 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
23029 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
23039 SWIGEXPORT(void) SWIG_init(void) {
23040 static PyObject
*SWIG_globals
= 0;
23041 static int typeinit
= 0;
23044 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23045 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23046 d
= PyModule_GetDict(m
);
23049 for (i
= 0; swig_types_initial
[i
]; i
++) {
23050 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23054 SWIG_InstallConstants(d
,swig_const_table
);
23056 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23057 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
23058 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
23059 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
23060 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
23061 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
23062 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
23063 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
23064 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
23065 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
23066 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
23067 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
23068 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
23069 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
23070 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
23071 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
23073 // Map renamed classes back to their common name for OOR
23074 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23075 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23076 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23078 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
23079 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
23080 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
23081 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
23082 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
23083 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
23084 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
23085 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
23086 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
23087 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
23088 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
23089 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
23090 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
23091 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
23092 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
23093 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
23094 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
23095 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
23096 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
23097 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
23099 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");