2 * FILE : src/mac/windows3.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindows3c
55 #define SWIG_name "windows3c"
58 #include <wx/sashwin.h>
59 #include <wx/laywin.h>
60 #include <wx/popupwin.h>
61 #include <wx/tipwin.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxChar
* wxSashNameStr
= wxT("sashWindow");
92 DECLARE_DEF_STRING(SashNameStr
);
93 static const wxChar
* wxSashLayoutNameStr
= wxT("layoutWindow");
94 DECLARE_DEF_STRING(SashLayoutNameStr
);
96 #include <wx/vscroll.h>
97 DECLARE_DEF_STRING(PanelNameStr
);
99 class wxPyVScrolledWindow
: public wxVScrolledWindow
101 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
103 wxPyVScrolledWindow() : wxVScrolledWindow() {}
105 wxPyVScrolledWindow(wxWindow
*parent
,
106 wxWindowID id
= wxID_ANY
,
107 const wxPoint
& pos
= wxDefaultPosition
,
108 const wxSize
& size
= wxDefaultSize
,
110 const wxString
& name
= wxPyPanelNameStr
)
111 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
114 // Overridable virtuals
116 // this function must be overridden in the derived class and it should
117 // return the height of the given line in pixels
118 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
121 // this function doesn't have to be overridden but it may be useful to do
122 // it if calculating the lines heights is a relatively expensive operation
123 // as it gives the user code a possibility to calculate several of them at
126 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
127 // shouldn't rely on the latter being called for all lines in the interval
128 // specified here. It is also possible that OnGetLineHeight() will be
129 // called for the lines outside of this interval, so this is really just a
130 // hint, not a promise.
132 // finally note that lineMin is inclusive, while lineMax is exclusive, as
134 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
137 // when the number of lines changes, we try to estimate the total height
138 // of all lines which is a rather expensive operation in terms of lines
139 // access, so if the user code may estimate the average height
140 // better/faster than we do, it should override this function to implement
143 // this function should return the best guess for the total height it may
145 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
148 // Also expose some other interesting protected methods
151 // find the index of the line we need to show at the top of the window such
152 // that the last (fully or partially) visible line is the given one
153 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
154 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
156 // get the total height of the lines between lineMin (inclusive) and
157 // lineMax (exclusive)
158 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
159 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
165 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
167 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
168 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
169 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
171 #include <wx/vlbox.h>
172 DECLARE_DEF_STRING(VListBoxNameStr
);
174 class wxPyVListBox
: public wxVListBox
176 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
178 wxPyVListBox() : wxVListBox() {}
180 wxPyVListBox(wxWindow
*parent
,
181 wxWindowID id
= wxID_ANY
,
182 const wxPoint
& pos
= wxDefaultPosition
,
183 const wxSize
& size
= wxDefaultSize
,
185 const wxString
& name
= wxPyVListBoxNameStr
)
186 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
189 // Overridable virtuals
191 // the derived class must implement this function to actually draw the item
192 // with the given index on the provided DC
193 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
194 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
197 // the derived class must implement this method to return the height of the
199 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
200 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
203 // this method may be used to draw separators between the lines; note that
204 // the rectangle may be modified, typically to deflate it a bit before
205 // passing to OnDrawItem()
207 // the base class version doesn't do anything
208 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
209 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
212 // this method is used to draw the items background and, maybe, a border
215 // the base class version implements a reasonable default behaviour which
216 // consists in drawing the selected item with the standard background
217 // colour and drawing a border around the item if it is either selected or
219 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
220 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
226 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
228 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
229 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
230 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
231 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
234 #include <wx/htmllbox.h>
236 class wxPyHtmlListBox
: public wxHtmlListBox
238 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
240 wxPyHtmlListBox() : wxHtmlListBox() {}
242 wxPyHtmlListBox(wxWindow
*parent
,
243 wxWindowID id
= wxID_ANY
,
244 const wxPoint
& pos
= wxDefaultPosition
,
245 const wxSize
& size
= wxDefaultSize
,
247 const wxString
& name
= wxPyVListBoxNameStr
)
248 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
251 // Overridable virtuals
253 // this method must be implemented in the derived class and should return
254 // the body (i.e. without <html>) of the HTML for the given item
255 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
257 // this function may be overridden to decorate HTML returned by OnGetItem()
258 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
261 // // this method allows to customize the selection appearance: it may be used
262 // // to specify the colour of the text which normally has the given colour
263 // // colFg when it is inside the selection
265 // // by default, the original colour is not used at all and all text has the
266 // // same (default for this system) colour inside selection
267 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
269 // // this is the same as GetSelectedTextColour() but allows to customize the
270 // // background colour -- this is even more rarely used as you can change it
271 // // globally using SetSelectionBackground()
272 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
279 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
281 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
282 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
287 static void *SwigwxSashEventTowxCommandEvent(void *ptr
) {
289 wxCommandEvent
*dest
;
290 src
= (wxSashEvent
*) ptr
;
291 dest
= (wxCommandEvent
*) src
;
292 return (void *) dest
;
295 static void *SwigwxSashEventTowxEvent(void *ptr
) {
298 src
= (wxSashEvent
*) ptr
;
299 dest
= (wxEvent
*) src
;
300 return (void *) dest
;
303 static void *SwigwxSashEventTowxObject(void *ptr
) {
306 src
= (wxSashEvent
*) ptr
;
307 dest
= (wxObject
*) src
;
308 return (void *) dest
;
311 #define new_wxSashEvent(_swigarg0,_swigarg1) (new wxSashEvent(_swigarg0,_swigarg1))
312 static PyObject
*_wrap_new_wxSashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxSashEvent
* _result
;
315 int _arg0
= (int ) 0;
316 wxSashEdgePosition _arg1
= (wxSashEdgePosition
) (wxSASH_NONE
);
317 char *_kwnames
[] = { "id","edge", NULL
};
321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSashEvent",_kwnames
,&_arg0
,&_arg1
))
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 _result
= (wxSashEvent
*)new_wxSashEvent(_arg0
,_arg1
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashEvent_p");
331 _resultobj
= Py_BuildValue("s",_ptemp
);
334 _resultobj
= Py_None
;
339 #define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
340 static PyObject
*_wrap_wxSashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
343 wxSashEdgePosition _arg1
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self","edge", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetEdge",_kwnames
,&_argo0
,&_arg1
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetEdge. Expected _wxSashEvent_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 wxSashEvent_SetEdge(_arg0
,_arg1
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
369 static PyObject
*_wrap_wxSashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxSashEdgePosition _result
;
373 PyObject
* _argo0
= 0;
374 char *_kwnames
[] = { "self", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetEdge",_kwnames
,&_argo0
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetEdge. Expected _wxSashEvent_p.");
387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
388 _result
= (wxSashEdgePosition
)wxSashEvent_GetEdge(_arg0
);
390 wxPyEndAllowThreads(__tstate
);
391 if (PyErr_Occurred()) return NULL
;
392 } _resultobj
= Py_BuildValue("i",_result
);
396 #define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
397 static PyObject
*_wrap_wxSashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
401 PyObject
* _argo0
= 0;
403 PyObject
* _obj1
= 0;
404 char *_kwnames
[] = { "self","rect", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashEvent_SetDragRect",_kwnames
,&_argo0
,&_obj1
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragRect. Expected _wxSashEvent_p.");
418 if (! wxRect_helper(_obj1
, &_arg1
))
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 wxSashEvent_SetDragRect(_arg0
,*_arg1
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 #define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
433 static PyObject
*_wrap_wxSashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragRect",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragRect. Expected _wxSashEvent_p.");
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 _result
= new wxRect (wxSashEvent_GetDragRect(_arg0
));
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
458 _resultobj
= Py_BuildValue("s",_ptemp
);
462 #define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
463 static PyObject
*_wrap_wxSashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
466 wxSashDragStatus _arg1
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self","status", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashEvent_SetDragStatus",_kwnames
,&_argo0
,&_arg1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_SetDragStatus. Expected _wxSashEvent_p.");
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 wxSashEvent_SetDragStatus(_arg0
,_arg1
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 #define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
492 static PyObject
*_wrap_wxSashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
494 wxSashDragStatus _result
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashEvent_GetDragStatus",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashEvent_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashEvent_GetDragStatus. Expected _wxSashEvent_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 _result
= (wxSashDragStatus
)wxSashEvent_GetDragStatus(_arg0
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 static void *SwigwxSashWindowTowxWindow(void *ptr
) {
522 src
= (wxSashWindow
*) ptr
;
523 dest
= (wxWindow
*) src
;
524 return (void *) dest
;
527 static void *SwigwxSashWindowTowxEvtHandler(void *ptr
) {
530 src
= (wxSashWindow
*) ptr
;
531 dest
= (wxEvtHandler
*) src
;
532 return (void *) dest
;
535 static void *SwigwxSashWindowTowxObject(void *ptr
) {
538 src
= (wxSashWindow
*) ptr
;
539 dest
= (wxObject
*) src
;
540 return (void *) dest
;
543 #define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
544 static PyObject
*_wrap_new_wxSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxSashWindow
* _result
;
549 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
550 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
551 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
552 wxString
* _arg5
= (wxString
*) &wxPySashNameStr
;
553 PyObject
* _argo0
= 0;
555 PyObject
* _obj2
= 0;
557 PyObject
* _obj3
= 0;
558 PyObject
* _obj5
= 0;
559 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashWindow. Expected _wxWindow_p.");
575 if (! wxPoint_helper(_obj2
, &_arg2
))
581 if (! wxSize_helper(_obj3
, &_arg3
))
586 _arg5
= wxString_in_helper(_obj5
);
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxSashWindow
*)new_wxSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
610 #define new_wxPreSashWindow() (new wxSashWindow())
611 static PyObject
*_wrap_new_wxPreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
613 wxSashWindow
* _result
;
614 char *_kwnames
[] = { NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashWindow",_kwnames
))
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 _result
= (wxSashWindow
*)new_wxPreSashWindow();
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashWindow_p");
628 _resultobj
= Py_BuildValue("s",_ptemp
);
631 _resultobj
= Py_None
;
636 #define wxSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
637 static PyObject
*_wrap_wxSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
640 wxSashWindow
* _arg0
;
643 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
644 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
645 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
646 wxString
* _arg6
= (wxString
*) &wxPySashNameStr
;
647 PyObject
* _argo0
= 0;
648 PyObject
* _argo1
= 0;
650 PyObject
* _obj3
= 0;
652 PyObject
* _obj4
= 0;
653 PyObject
* _obj6
= 0;
654 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_Create. Expected _wxSashWindow_p.");
667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashWindow_Create. Expected _wxWindow_p.");
676 if (! wxPoint_helper(_obj3
, &_arg3
))
682 if (! wxSize_helper(_obj4
, &_arg4
))
687 _arg6
= wxString_in_helper(_obj6
);
692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
693 _result
= (bool )wxSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
695 wxPyEndAllowThreads(__tstate
);
696 if (PyErr_Occurred()) return NULL
;
697 } _resultobj
= Py_BuildValue("i",_result
);
705 #define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
706 static PyObject
*_wrap_wxSashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
709 wxSashWindow
* _arg0
;
710 wxSashEdgePosition _arg1
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self","edge", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetSashVisible",_kwnames
,&_argo0
,&_arg1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetSashVisible. Expected _wxSashWindow_p.");
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (bool )wxSashWindow_GetSashVisible(_arg0
,_arg1
);
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
735 static PyObject
*_wrap_wxSashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 wxSashWindow
* _arg0
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetDefaultBorderSize",_kwnames
,&_argo0
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetDefaultBorderSize. Expected _wxSashWindow_p.");
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 _result
= (int )wxSashWindow_GetDefaultBorderSize(_arg0
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } _resultobj
= Py_BuildValue("i",_result
);
762 #define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
763 static PyObject
*_wrap_wxSashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxSashWindow
* _arg0
;
767 wxSashEdgePosition _arg1
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self","edge", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_GetEdgeMargin",_kwnames
,&_argo0
,&_arg1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetEdgeMargin. Expected _wxSashWindow_p.");
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 _result
= (int )wxSashWindow_GetEdgeMargin(_arg0
,_arg1
);
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
792 static PyObject
*_wrap_wxSashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
795 wxSashWindow
* _arg0
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "self", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetExtraBorderSize",_kwnames
,&_argo0
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetExtraBorderSize. Expected _wxSashWindow_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 _result
= (int )wxSashWindow_GetExtraBorderSize(_arg0
);
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } _resultobj
= Py_BuildValue("i",_result
);
819 #define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
820 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
823 wxSashWindow
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeX",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeX. Expected _wxSashWindow_p.");
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 _result
= (int )wxSashWindow_GetMaximumSizeX(_arg0
);
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
843 } _resultobj
= Py_BuildValue("i",_result
);
847 #define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
848 static PyObject
*_wrap_wxSashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 wxSashWindow
* _arg0
;
852 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMaximumSizeY",_kwnames
,&_argo0
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMaximumSizeY. Expected _wxSashWindow_p.");
866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 _result
= (int )wxSashWindow_GetMaximumSizeY(_arg0
);
869 wxPyEndAllowThreads(__tstate
);
870 if (PyErr_Occurred()) return NULL
;
871 } _resultobj
= Py_BuildValue("i",_result
);
875 #define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
876 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 wxSashWindow
* _arg0
;
880 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeX",_kwnames
,&_argo0
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeX. Expected _wxSashWindow_p.");
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 _result
= (int )wxSashWindow_GetMinimumSizeX(_arg0
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
899 } _resultobj
= Py_BuildValue("i",_result
);
903 #define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
904 static PyObject
*_wrap_wxSashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxSashWindow
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashWindow_GetMinimumSizeY",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_GetMinimumSizeY. Expected _wxSashWindow_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= (int )wxSashWindow_GetMinimumSizeY(_arg0
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } _resultobj
= Py_BuildValue("i",_result
);
931 #define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
932 static PyObject
*_wrap_wxSashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
935 wxSashWindow
* _arg0
;
936 wxSashEdgePosition _arg1
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self","edge", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_HasBorder",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_HasBorder. Expected _wxSashWindow_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 _result
= (bool )wxSashWindow_HasBorder(_arg0
,_arg1
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } _resultobj
= Py_BuildValue("i",_result
);
960 #define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
961 static PyObject
*_wrap_wxSashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
963 wxSashWindow
* _arg0
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self","width", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames
,&_argo0
,&_arg1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetDefaultBorderSize. Expected _wxSashWindow_p.");
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 wxSashWindow_SetDefaultBorderSize(_arg0
,_arg1
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
990 static PyObject
*_wrap_wxSashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
992 wxSashWindow
* _arg0
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self","width", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames
,&_argo0
,&_arg1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetExtraBorderSize. Expected _wxSashWindow_p.");
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 wxSashWindow_SetExtraBorderSize(_arg0
,_arg1
);
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) return NULL
;
1013 } Py_INCREF(Py_None
);
1014 _resultobj
= Py_None
;
1018 #define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
1019 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1021 wxSashWindow
* _arg0
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self","min", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames
,&_argo0
,&_arg1
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeX. Expected _wxSashWindow_p.");
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 wxSashWindow_SetMaximumSizeX(_arg0
,_arg1
);
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) return NULL
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1047 #define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
1048 static PyObject
*_wrap_wxSashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1050 wxSashWindow
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self","min", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames
,&_argo0
,&_arg1
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMaximumSizeY. Expected _wxSashWindow_p.");
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 wxSashWindow_SetMaximumSizeY(_arg0
,_arg1
);
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) return NULL
;
1071 } Py_INCREF(Py_None
);
1072 _resultobj
= Py_None
;
1076 #define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
1077 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1079 wxSashWindow
* _arg0
;
1081 PyObject
* _argo0
= 0;
1082 char *_kwnames
[] = { "self","min", NULL
};
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames
,&_argo0
,&_arg1
))
1088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeX. Expected _wxSashWindow_p.");
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxSashWindow_SetMinimumSizeX(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1105 #define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
1106 static PyObject
*_wrap_wxSashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxSashWindow
* _arg0
;
1110 PyObject
* _argo0
= 0;
1111 char *_kwnames
[] = { "self","min", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames
,&_argo0
,&_arg1
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetMinimumSizeY. Expected _wxSashWindow_p.");
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 wxSashWindow_SetMinimumSizeY(_arg0
,_arg1
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } Py_INCREF(Py_None
);
1130 _resultobj
= Py_None
;
1134 #define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
1135 static PyObject
*_wrap_wxSashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1137 wxSashWindow
* _arg0
;
1138 wxSashEdgePosition _arg1
;
1140 PyObject
* _argo0
= 0;
1142 char *_kwnames
[] = { "self","edge","visible", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashVisible. Expected _wxSashWindow_p.");
1154 _arg2
= (bool ) tempbool2
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 wxSashWindow_SetSashVisible(_arg0
,_arg1
,_arg2
);
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) return NULL
;
1161 } Py_INCREF(Py_None
);
1162 _resultobj
= Py_None
;
1166 #define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
1167 static PyObject
*_wrap_wxSashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxSashWindow
* _arg0
;
1170 wxSashEdgePosition _arg1
;
1172 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self","edge","hasBorder", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSashWindow_SetSashBorder",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashWindow_SetSashBorder. Expected _wxSashWindow_p.");
1186 _arg2
= (bool ) tempbool2
;
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 wxSashWindow_SetSashBorder(_arg0
,_arg1
,_arg2
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } Py_INCREF(Py_None
);
1194 _resultobj
= Py_None
;
1198 static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr
) {
1199 wxQueryLayoutInfoEvent
*src
;
1201 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1202 dest
= (wxEvent
*) src
;
1203 return (void *) dest
;
1206 static void *SwigwxQueryLayoutInfoEventTowxObject(void *ptr
) {
1207 wxQueryLayoutInfoEvent
*src
;
1209 src
= (wxQueryLayoutInfoEvent
*) ptr
;
1210 dest
= (wxObject
*) src
;
1211 return (void *) dest
;
1214 #define new_wxQueryLayoutInfoEvent(_swigarg0) (new wxQueryLayoutInfoEvent(_swigarg0))
1215 static PyObject
*_wrap_new_wxQueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1217 wxQueryLayoutInfoEvent
* _result
;
1218 wxWindowID _arg0
= (wxWindowID
) 0;
1219 char *_kwnames
[] = { "id", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryLayoutInfoEvent",_kwnames
,&_arg0
))
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 _result
= (wxQueryLayoutInfoEvent
*)new_wxQueryLayoutInfoEvent(_arg0
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) return NULL
;
1232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryLayoutInfoEvent_p");
1233 _resultobj
= Py_BuildValue("s",_ptemp
);
1236 _resultobj
= Py_None
;
1241 #define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
1242 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1244 wxQueryLayoutInfoEvent
* _arg0
;
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self","length", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames
,&_argo0
,&_arg1
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 wxQueryLayoutInfoEvent_SetRequestedLength(_arg0
,_arg1
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1270 #define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
1271 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 wxQueryLayoutInfoEvent
* _arg0
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetRequestedLength. Expected _wxQueryLayoutInfoEvent_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 _result
= (int )wxQueryLayoutInfoEvent_GetRequestedLength(_arg0
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } _resultobj
= Py_BuildValue("i",_result
);
1298 #define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1299 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxQueryLayoutInfoEvent
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self","flags", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxQueryLayoutInfoEvent_SetFlags(_arg0
,_arg1
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1328 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 wxQueryLayoutInfoEvent
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames
,&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetFlags. Expected _wxQueryLayoutInfoEvent_p.");
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 _result
= (int )wxQueryLayoutInfoEvent_GetFlags(_arg0
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1351 } _resultobj
= Py_BuildValue("i",_result
);
1355 #define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1356 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1358 wxQueryLayoutInfoEvent
* _arg0
;
1360 PyObject
* _argo0
= 0;
1362 PyObject
* _obj1
= 0;
1363 char *_kwnames
[] = { "self","size", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames
,&_argo0
,&_obj1
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetSize. Expected _wxQueryLayoutInfoEvent_p.");
1377 if (! wxSize_helper(_obj1
, &_arg1
))
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 wxQueryLayoutInfoEvent_SetSize(_arg0
,*_arg1
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) return NULL
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1391 #define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
1392 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1395 wxQueryLayoutInfoEvent
* _arg0
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames
,&_argo0
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetSize. Expected _wxQueryLayoutInfoEvent_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 _result
= new wxSize (wxQueryLayoutInfoEvent_GetSize(_arg0
));
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1417 _resultobj
= Py_BuildValue("s",_ptemp
);
1421 #define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
1422 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxQueryLayoutInfoEvent
* _arg0
;
1425 wxLayoutOrientation _arg1
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self","orient", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 wxQueryLayoutInfoEvent_SetOrientation(_arg0
,_arg1
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) return NULL
;
1445 } Py_INCREF(Py_None
);
1446 _resultobj
= Py_None
;
1450 #define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1451 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1453 wxLayoutOrientation _result
;
1454 wxQueryLayoutInfoEvent
* _arg0
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetOrientation. Expected _wxQueryLayoutInfoEvent_p.");
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (wxLayoutOrientation
)wxQueryLayoutInfoEvent_GetOrientation(_arg0
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1479 static PyObject
*_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1481 wxQueryLayoutInfoEvent
* _arg0
;
1482 wxLayoutAlignment _arg1
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self","align", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_SetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 wxQueryLayoutInfoEvent_SetAlignment(_arg0
,_arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1507 #define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1508 static PyObject
*_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1510 wxLayoutAlignment _result
;
1511 wxQueryLayoutInfoEvent
* _arg0
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryLayoutInfoEvent_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryLayoutInfoEvent_GetAlignment. Expected _wxQueryLayoutInfoEvent_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (wxLayoutAlignment
)wxQueryLayoutInfoEvent_GetAlignment(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr
) {
1536 wxCalculateLayoutEvent
*src
;
1538 src
= (wxCalculateLayoutEvent
*) ptr
;
1539 dest
= (wxEvent
*) src
;
1540 return (void *) dest
;
1543 static void *SwigwxCalculateLayoutEventTowxObject(void *ptr
) {
1544 wxCalculateLayoutEvent
*src
;
1546 src
= (wxCalculateLayoutEvent
*) ptr
;
1547 dest
= (wxObject
*) src
;
1548 return (void *) dest
;
1551 #define new_wxCalculateLayoutEvent(_swigarg0) (new wxCalculateLayoutEvent(_swigarg0))
1552 static PyObject
*_wrap_new_wxCalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxCalculateLayoutEvent
* _result
;
1555 wxWindowID _arg0
= (wxWindowID
) 0;
1556 char *_kwnames
[] = { "id", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxCalculateLayoutEvent",_kwnames
,&_arg0
))
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 _result
= (wxCalculateLayoutEvent
*)new_wxCalculateLayoutEvent(_arg0
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) return NULL
;
1569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalculateLayoutEvent_p");
1570 _resultobj
= Py_BuildValue("s",_ptemp
);
1573 _resultobj
= Py_None
;
1578 #define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
1579 static PyObject
*_wrap_wxCalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1581 wxCalculateLayoutEvent
* _arg0
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","flags", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetFlags. Expected _wxCalculateLayoutEvent_p.");
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 wxCalculateLayoutEvent_SetFlags(_arg0
,_arg1
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) return NULL
;
1602 } Py_INCREF(Py_None
);
1603 _resultobj
= Py_None
;
1607 #define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
1608 static PyObject
*_wrap_wxCalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxCalculateLayoutEvent
* _arg0
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetFlags",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetFlags. Expected _wxCalculateLayoutEvent_p.");
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 _result
= (int )wxCalculateLayoutEvent_GetFlags(_arg0
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) return NULL
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
1636 static PyObject
*_wrap_wxCalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxCalculateLayoutEvent
* _arg0
;
1640 PyObject
* _argo0
= 0;
1642 PyObject
* _obj1
= 0;
1643 char *_kwnames
[] = { "self","rect", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalculateLayoutEvent_SetRect",_kwnames
,&_argo0
,&_obj1
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_SetRect. Expected _wxCalculateLayoutEvent_p.");
1657 if (! wxRect_helper(_obj1
, &_arg1
))
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 wxCalculateLayoutEvent_SetRect(_arg0
,*_arg1
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) return NULL
;
1666 } Py_INCREF(Py_None
);
1667 _resultobj
= Py_None
;
1671 #define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
1672 static PyObject
*_wrap_wxCalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1675 wxCalculateLayoutEvent
* _arg0
;
1676 PyObject
* _argo0
= 0;
1677 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalculateLayoutEvent_GetRect",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalculateLayoutEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalculateLayoutEvent_GetRect. Expected _wxCalculateLayoutEvent_p.");
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 _result
= new wxRect (wxCalculateLayoutEvent_GetRect(_arg0
));
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1697 _resultobj
= Py_BuildValue("s",_ptemp
);
1701 static void *SwigwxSashLayoutWindowTowxSashWindow(void *ptr
) {
1702 wxSashLayoutWindow
*src
;
1704 src
= (wxSashLayoutWindow
*) ptr
;
1705 dest
= (wxSashWindow
*) src
;
1706 return (void *) dest
;
1709 static void *SwigwxSashLayoutWindowTowxWindow(void *ptr
) {
1710 wxSashLayoutWindow
*src
;
1712 src
= (wxSashLayoutWindow
*) ptr
;
1713 dest
= (wxWindow
*) src
;
1714 return (void *) dest
;
1717 static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr
) {
1718 wxSashLayoutWindow
*src
;
1720 src
= (wxSashLayoutWindow
*) ptr
;
1721 dest
= (wxEvtHandler
*) src
;
1722 return (void *) dest
;
1725 static void *SwigwxSashLayoutWindowTowxObject(void *ptr
) {
1726 wxSashLayoutWindow
*src
;
1728 src
= (wxSashLayoutWindow
*) ptr
;
1729 dest
= (wxObject
*) src
;
1730 return (void *) dest
;
1733 #define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1734 static PyObject
*_wrap_new_wxSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1736 wxSashLayoutWindow
* _result
;
1739 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1740 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1741 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1742 wxString
* _arg5
= (wxString
*) &wxPySashLayoutNameStr
;
1743 PyObject
* _argo0
= 0;
1745 PyObject
* _obj2
= 0;
1747 PyObject
* _obj3
= 0;
1748 PyObject
* _obj5
= 0;
1749 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSashLayoutWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSashLayoutWindow. Expected _wxWindow_p.");
1765 if (! wxPoint_helper(_obj2
, &_arg2
))
1771 if (! wxSize_helper(_obj3
, &_arg3
))
1776 _arg5
= wxString_in_helper(_obj5
);
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (wxSashLayoutWindow
*)new_wxSashLayoutWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1788 _resultobj
= Py_BuildValue("s",_ptemp
);
1791 _resultobj
= Py_None
;
1800 #define new_wxPreSashLayoutWindow() (new wxSashLayoutWindow())
1801 static PyObject
*_wrap_new_wxPreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 wxSashLayoutWindow
* _result
;
1804 char *_kwnames
[] = { NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSashLayoutWindow",_kwnames
))
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (wxSashLayoutWindow
*)new_wxPreSashLayoutWindow();
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSashLayoutWindow_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1821 _resultobj
= Py_None
;
1826 #define wxSashLayoutWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1827 static PyObject
*_wrap_wxSashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1830 wxSashLayoutWindow
* _arg0
;
1833 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1834 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1835 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxSW_3D
);
1836 wxString
* _arg6
= (wxString
*) &wxPySashLayoutNameStr
;
1837 PyObject
* _argo0
= 0;
1838 PyObject
* _argo1
= 0;
1840 PyObject
* _obj3
= 0;
1842 PyObject
* _obj4
= 0;
1843 PyObject
* _obj6
= 0;
1844 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSashLayoutWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_Create. Expected _wxSashLayoutWindow_p.");
1857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSashLayoutWindow_Create. Expected _wxWindow_p.");
1866 if (! wxPoint_helper(_obj3
, &_arg3
))
1872 if (! wxSize_helper(_obj4
, &_arg4
))
1877 _arg6
= wxString_in_helper(_obj6
);
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 _result
= (bool )wxSashLayoutWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) return NULL
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1895 #define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1896 static PyObject
*_wrap_wxSashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1898 wxLayoutAlignment _result
;
1899 wxSashLayoutWindow
* _arg0
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetAlignment",_kwnames
,&_argo0
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetAlignment. Expected _wxSashLayoutWindow_p.");
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 _result
= (wxLayoutAlignment
)wxSashLayoutWindow_GetAlignment(_arg0
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 #define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1924 static PyObject
*_wrap_wxSashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1926 wxLayoutOrientation _result
;
1927 wxSashLayoutWindow
* _arg0
;
1928 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSashLayoutWindow_GetOrientation",_kwnames
,&_argo0
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_GetOrientation. Expected _wxSashLayoutWindow_p.");
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 _result
= (wxLayoutOrientation
)wxSashLayoutWindow_GetOrientation(_arg0
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1947 } _resultobj
= Py_BuildValue("i",_result
);
1951 #define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
1952 static PyObject
*_wrap_wxSashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1954 wxSashLayoutWindow
* _arg0
;
1955 wxLayoutAlignment _arg1
;
1956 PyObject
* _argo0
= 0;
1957 char *_kwnames
[] = { "self","alignment", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
1963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetAlignment. Expected _wxSashLayoutWindow_p.");
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 wxSashLayoutWindow_SetAlignment(_arg0
,_arg1
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) return NULL
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
1981 static PyObject
*_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1983 wxSashLayoutWindow
* _arg0
;
1985 PyObject
* _argo0
= 0;
1987 PyObject
* _obj1
= 0;
1988 char *_kwnames
[] = { "self","size", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames
,&_argo0
,&_obj1
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetDefaultSize. Expected _wxSashLayoutWindow_p.");
2002 if (! wxSize_helper(_obj1
, &_arg1
))
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxSashLayoutWindow_SetDefaultSize(_arg0
,*_arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } Py_INCREF(Py_None
);
2012 _resultobj
= Py_None
;
2016 #define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2017 static PyObject
*_wrap_wxSashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2019 wxSashLayoutWindow
* _arg0
;
2020 wxLayoutOrientation _arg1
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self","orientation", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSashLayoutWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSashLayoutWindow_SetOrientation. Expected _wxSashLayoutWindow_p.");
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 wxSashLayoutWindow_SetOrientation(_arg0
,_arg1
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2045 static void *SwigwxLayoutAlgorithmTowxObject(void *ptr
) {
2046 wxLayoutAlgorithm
*src
;
2048 src
= (wxLayoutAlgorithm
*) ptr
;
2049 dest
= (wxObject
*) src
;
2050 return (void *) dest
;
2053 #define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
2054 static PyObject
*_wrap_new_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2056 wxLayoutAlgorithm
* _result
;
2057 char *_kwnames
[] = { NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutAlgorithm",_kwnames
))
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 _result
= (wxLayoutAlgorithm
*)new_wxLayoutAlgorithm();
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) return NULL
;
2070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutAlgorithm_p");
2071 _resultobj
= Py_BuildValue("s",_ptemp
);
2074 _resultobj
= Py_None
;
2079 #define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
2080 static PyObject
*_wrap_delete_wxLayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxLayoutAlgorithm
* _arg0
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLayoutAlgorithm",_kwnames
,&_argo0
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLayoutAlgorithm. Expected _wxLayoutAlgorithm_p.");
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 delete_wxLayoutAlgorithm(_arg0
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) return NULL
;
2102 } Py_INCREF(Py_None
);
2103 _resultobj
= Py_None
;
2107 #define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
2108 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2111 wxLayoutAlgorithm
* _arg0
;
2112 wxMDIParentFrame
* _arg1
;
2113 wxRect
* _arg2
= (wxRect
*) NULL
;
2114 PyObject
* _argo0
= 0;
2115 PyObject
* _argo1
= 0;
2117 PyObject
* _obj2
= 0;
2118 char *_kwnames
[] = { "self","frame","rect", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxLayoutAlgorithm_p.");
2131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutMDIFrame. Expected _wxMDIParentFrame_p.");
2140 if (! wxRect_helper(_obj2
, &_arg2
))
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (bool )wxLayoutAlgorithm_LayoutMDIFrame(_arg0
,_arg1
,_arg2
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2149 } _resultobj
= Py_BuildValue("i",_result
);
2153 #define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
2154 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 wxLayoutAlgorithm
* _arg0
;
2159 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo1
= 0;
2162 PyObject
* _argo2
= 0;
2163 char *_kwnames
[] = { "self","frame","mainWindow", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutFrame. Expected _wxLayoutAlgorithm_p.");
2176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutFrame. Expected _wxFrame_p.");
2183 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutFrame. Expected _wxWindow_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 _result
= (bool )wxLayoutAlgorithm_LayoutFrame(_arg0
,_arg1
,_arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
2200 static PyObject
*_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2203 wxLayoutAlgorithm
* _arg0
;
2205 wxWindow
* _arg2
= (wxWindow
*) NULL
;
2206 PyObject
* _argo0
= 0;
2207 PyObject
* _argo1
= 0;
2208 PyObject
* _argo2
= 0;
2209 char *_kwnames
[] = { "self","parent","mainWindow", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutAlgorithm_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutAlgorithm_LayoutWindow. Expected _wxLayoutAlgorithm_p.");
2222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2229 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxLayoutAlgorithm_LayoutWindow. Expected _wxWindow_p.");
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 _result
= (bool )wxLayoutAlgorithm_LayoutWindow(_arg0
,_arg1
,_arg2
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) return NULL
;
2241 } _resultobj
= Py_BuildValue("i",_result
);
2245 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2248 src
= (wxTipWindow
*) ptr
;
2249 dest
= (wxFrame
*) src
;
2250 return (void *) dest
;
2253 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2255 wxTopLevelWindow
*dest
;
2256 src
= (wxTipWindow
*) ptr
;
2257 dest
= (wxTopLevelWindow
*) src
;
2258 return (void *) dest
;
2261 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2264 src
= (wxTipWindow
*) ptr
;
2265 dest
= (wxWindow
*) src
;
2266 return (void *) dest
;
2269 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2272 src
= (wxTipWindow
*) ptr
;
2273 dest
= (wxEvtHandler
*) src
;
2274 return (void *) dest
;
2277 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2280 src
= (wxTipWindow
*) ptr
;
2281 dest
= (wxObject
*) src
;
2282 return (void *) dest
;
2285 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,const wxString
*text
,wxCoord maxLength
,wxRect
*rectBound
) {
2286 wxString tmp
= *text
;
2287 return new wxTipWindow(parent
, tmp
, maxLength
, NULL
, rectBound
);
2290 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2292 wxTipWindow
* _result
;
2295 wxCoord _arg2
= (wxCoord
) 100;
2296 wxRect
* _arg3
= (wxRect
*) NULL
;
2297 PyObject
* _argo0
= 0;
2298 PyObject
* _obj1
= 0;
2300 PyObject
* _obj3
= 0;
2301 char *_kwnames
[] = { "parent","text","maxLength","rectBound", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iO:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2315 _arg1
= wxString_in_helper(_obj1
);
2322 if (! wxRect_helper(_obj3
, &_arg3
))
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2333 _resultobj
= Py_BuildValue("s",_ptemp
);
2336 _resultobj
= Py_None
;
2345 #define wxTipWindow_SetBoundingRect(_swigobj,_swigarg0) (_swigobj->SetBoundingRect(_swigarg0))
2346 static PyObject
*_wrap_wxTipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2348 wxTipWindow
* _arg0
;
2350 PyObject
* _argo0
= 0;
2352 PyObject
* _obj1
= 0;
2353 char *_kwnames
[] = { "self","rectBound", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipWindow_SetBoundingRect",_kwnames
,&_argo0
,&_obj1
))
2359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_SetBoundingRect. Expected _wxTipWindow_p.");
2367 if (! wxRect_helper(_obj1
, &_arg1
))
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 wxTipWindow_SetBoundingRect(_arg0
,*_arg1
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) return NULL
;
2376 } Py_INCREF(Py_None
);
2377 _resultobj
= Py_None
;
2381 #define wxTipWindow_Close(_swigobj) (_swigobj->Close())
2382 static PyObject
*_wrap_wxTipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2384 wxTipWindow
* _arg0
;
2385 PyObject
* _argo0
= 0;
2386 char *_kwnames
[] = { "self", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipWindow_Close",_kwnames
,&_argo0
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipWindow_Close. Expected _wxTipWindow_p.");
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 wxTipWindow_Close(_arg0
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) return NULL
;
2404 } Py_INCREF(Py_None
);
2405 _resultobj
= Py_None
;
2409 static void *SwigwxPyVScrolledWindowTowxPanel(void *ptr
) {
2410 wxPyVScrolledWindow
*src
;
2412 src
= (wxPyVScrolledWindow
*) ptr
;
2413 dest
= (wxPanel
*) src
;
2414 return (void *) dest
;
2417 static void *SwigwxPyVScrolledWindowTowxWindow(void *ptr
) {
2418 wxPyVScrolledWindow
*src
;
2420 src
= (wxPyVScrolledWindow
*) ptr
;
2421 dest
= (wxWindow
*) src
;
2422 return (void *) dest
;
2425 static void *SwigwxPyVScrolledWindowTowxEvtHandler(void *ptr
) {
2426 wxPyVScrolledWindow
*src
;
2428 src
= (wxPyVScrolledWindow
*) ptr
;
2429 dest
= (wxEvtHandler
*) src
;
2430 return (void *) dest
;
2433 static void *SwigwxPyVScrolledWindowTowxObject(void *ptr
) {
2434 wxPyVScrolledWindow
*src
;
2436 src
= (wxPyVScrolledWindow
*) ptr
;
2437 dest
= (wxObject
*) src
;
2438 return (void *) dest
;
2441 #define new_wxVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2442 static PyObject
*_wrap_new_wxVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2444 wxPyVScrolledWindow
* _result
;
2446 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
2447 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2448 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2449 long _arg4
= (long ) 0;
2450 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
2451 PyObject
* _argo0
= 0;
2453 PyObject
* _obj2
= 0;
2455 PyObject
* _obj3
= 0;
2456 PyObject
* _obj5
= 0;
2457 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxVScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxVScrolledWindow. Expected _wxWindow_p.");
2473 if (! wxPoint_helper(_obj2
, &_arg2
))
2479 if (! wxSize_helper(_obj3
, &_arg3
))
2484 _arg5
= wxString_in_helper(_obj5
);
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 _result
= (wxPyVScrolledWindow
*)new_wxVScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVScrolledWindow_p");
2496 _resultobj
= Py_BuildValue("s",_ptemp
);
2499 _resultobj
= Py_None
;
2508 #define new_wxPreVScrolledWindow() (new wxPyVScrolledWindow())
2509 static PyObject
*_wrap_new_wxPreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxPyVScrolledWindow
* _result
;
2512 char *_kwnames
[] = { NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreVScrolledWindow",_kwnames
))
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= (wxPyVScrolledWindow
*)new_wxPreVScrolledWindow();
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVScrolledWindow_p");
2526 _resultobj
= Py_BuildValue("s",_ptemp
);
2529 _resultobj
= Py_None
;
2534 #define wxVScrolledWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2535 static PyObject
*_wrap_wxVScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2537 wxPyVScrolledWindow
* _arg0
;
2540 PyObject
* _argo0
= 0;
2541 PyObject
* _obj1
= 0;
2542 PyObject
* _obj2
= 0;
2543 char *_kwnames
[] = { "self","self","_class", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxVScrolledWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow__setCallbackInfo. Expected _wxPyVScrolledWindow_p.");
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxVScrolledWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2567 } Py_INCREF(Py_None
);
2568 _resultobj
= Py_None
;
2572 #define wxVScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2573 static PyObject
*_wrap_wxVScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2576 wxPyVScrolledWindow
* _arg0
;
2578 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
2579 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2580 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2581 long _arg5
= (long ) 0;
2582 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
2583 PyObject
* _argo0
= 0;
2584 PyObject
* _argo1
= 0;
2586 PyObject
* _obj3
= 0;
2588 PyObject
* _obj4
= 0;
2589 PyObject
* _obj6
= 0;
2590 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxVScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_Create. Expected _wxPyVScrolledWindow_p.");
2603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVScrolledWindow_Create. Expected _wxWindow_p.");
2612 if (! wxPoint_helper(_obj3
, &_arg3
))
2618 if (! wxSize_helper(_obj4
, &_arg4
))
2623 _arg6
= wxString_in_helper(_obj6
);
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 _result
= (bool )wxVScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } _resultobj
= Py_BuildValue("i",_result
);
2641 #define wxVScrolledWindow_SetLineCount(_swigobj,_swigarg0) (_swigobj->SetLineCount(_swigarg0))
2642 static PyObject
*_wrap_wxVScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2644 wxPyVScrolledWindow
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self","count", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_SetLineCount",_kwnames
,&_argo0
,&_arg1
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_SetLineCount. Expected _wxPyVScrolledWindow_p.");
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 wxVScrolledWindow_SetLineCount(_arg0
,_arg1
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2670 #define wxVScrolledWindow_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
2671 static PyObject
*_wrap_wxVScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 wxPyVScrolledWindow
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self","line", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollToLine",_kwnames
,&_argo0
,&_arg1
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollToLine. Expected _wxPyVScrolledWindow_p.");
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 _result
= (bool )wxVScrolledWindow_ScrollToLine(_arg0
,_arg1
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) return NULL
;
2695 } _resultobj
= Py_BuildValue("i",_result
);
2699 #define wxVScrolledWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
2700 static PyObject
*_wrap_wxVScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxPyVScrolledWindow
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self","lines", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollLines. Expected _wxPyVScrolledWindow_p.");
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 _result
= (bool )wxVScrolledWindow_ScrollLines(_arg0
,_arg1
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxVScrolledWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
2729 static PyObject
*_wrap_wxVScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxPyVScrolledWindow
* _arg0
;
2734 PyObject
* _argo0
= 0;
2735 char *_kwnames
[] = { "self","pages", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_ScrollPages. Expected _wxPyVScrolledWindow_p.");
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 _result
= (bool )wxVScrolledWindow_ScrollPages(_arg0
,_arg1
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2753 } _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxVScrolledWindow_RefreshLine(_swigobj,_swigarg0) (_swigobj->RefreshLine(_swigarg0))
2758 static PyObject
*_wrap_wxVScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2760 wxPyVScrolledWindow
* _arg0
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self","line", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_RefreshLine",_kwnames
,&_argo0
,&_arg1
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshLine. Expected _wxPyVScrolledWindow_p.");
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 wxVScrolledWindow_RefreshLine(_arg0
,_arg1
);
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2781 } Py_INCREF(Py_None
);
2782 _resultobj
= Py_None
;
2786 #define wxVScrolledWindow_RefreshLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshLines(_swigarg0,_swigarg1))
2787 static PyObject
*_wrap_wxVScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxPyVScrolledWindow
* _arg0
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self","from","to", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVScrolledWindow_RefreshLines",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshLines. Expected _wxPyVScrolledWindow_p.");
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 wxVScrolledWindow_RefreshLines(_arg0
,_arg1
,_arg2
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxVScrolledWindow_HitTestXT(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2817 static PyObject
*_wrap_wxVScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxPyVScrolledWindow
* _arg0
;
2823 PyObject
* _argo0
= 0;
2824 char *_kwnames
[] = { "self","x","y", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVScrolledWindow_HitTestXT",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_HitTestXT. Expected _wxPyVScrolledWindow_p.");
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 _result
= (int )wxVScrolledWindow_HitTestXT(_arg0
,_arg1
,_arg2
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) return NULL
;
2842 } _resultobj
= Py_BuildValue("i",_result
);
2846 #define wxVScrolledWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2847 static PyObject
*_wrap_wxVScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2850 wxPyVScrolledWindow
* _arg0
;
2852 PyObject
* _argo0
= 0;
2854 PyObject
* _obj1
= 0;
2855 char *_kwnames
[] = { "self","pt", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVScrolledWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_HitTest. Expected _wxPyVScrolledWindow_p.");
2869 if (! wxPoint_helper(_obj1
, &_arg1
))
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 _result
= (int )wxVScrolledWindow_HitTest(_arg0
,*_arg1
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) return NULL
;
2878 } _resultobj
= Py_BuildValue("i",_result
);
2882 #define wxVScrolledWindow_RefreshAll(_swigobj) (_swigobj->RefreshAll())
2883 static PyObject
*_wrap_wxVScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2885 wxPyVScrolledWindow
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_RefreshAll",_kwnames
,&_argo0
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_RefreshAll. Expected _wxPyVScrolledWindow_p.");
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxVScrolledWindow_RefreshAll(_arg0
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) return NULL
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxVScrolledWindow_GetLineCount(_swigobj) (_swigobj->GetLineCount())
2911 static PyObject
*_wrap_wxVScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2914 wxPyVScrolledWindow
* _arg0
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetLineCount",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetLineCount. Expected _wxPyVScrolledWindow_p.");
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (size_t )wxVScrolledWindow_GetLineCount(_arg0
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } _resultobj
= Py_BuildValue("i",_result
);
2938 #define wxVScrolledWindow_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
2939 static PyObject
*_wrap_wxVScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2942 wxPyVScrolledWindow
* _arg0
;
2943 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetFirstVisibleLine",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetFirstVisibleLine. Expected _wxPyVScrolledWindow_p.");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 _result
= (size_t )wxVScrolledWindow_GetFirstVisibleLine(_arg0
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } _resultobj
= Py_BuildValue("i",_result
);
2966 #define wxVScrolledWindow_GetLastVisibleLine(_swigobj) (_swigobj->GetLastVisibleLine())
2967 static PyObject
*_wrap_wxVScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2970 wxPyVScrolledWindow
* _arg0
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVScrolledWindow_GetLastVisibleLine",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_GetLastVisibleLine. Expected _wxPyVScrolledWindow_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 _result
= (size_t )wxVScrolledWindow_GetLastVisibleLine(_arg0
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } _resultobj
= Py_BuildValue("i",_result
);
2994 #define wxVScrolledWindow_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
2995 static PyObject
*_wrap_wxVScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2998 wxPyVScrolledWindow
* _arg0
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self","line", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVScrolledWindow_IsVisible",_kwnames
,&_argo0
,&_arg1
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVScrolledWindow_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVScrolledWindow_IsVisible. Expected _wxPyVScrolledWindow_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 _result
= (bool )wxVScrolledWindow_IsVisible(_arg0
,_arg1
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } _resultobj
= Py_BuildValue("i",_result
);
3023 static void *SwigwxPyVListBoxTowxPyVScrolledWindow(void *ptr
) {
3025 wxPyVScrolledWindow
*dest
;
3026 src
= (wxPyVListBox
*) ptr
;
3027 dest
= (wxPyVScrolledWindow
*) src
;
3028 return (void *) dest
;
3031 static void *SwigwxPyVListBoxTowxPanel(void *ptr
) {
3034 src
= (wxPyVListBox
*) ptr
;
3035 dest
= (wxPanel
*) src
;
3036 return (void *) dest
;
3039 static void *SwigwxPyVListBoxTowxWindow(void *ptr
) {
3042 src
= (wxPyVListBox
*) ptr
;
3043 dest
= (wxWindow
*) src
;
3044 return (void *) dest
;
3047 static void *SwigwxPyVListBoxTowxEvtHandler(void *ptr
) {
3050 src
= (wxPyVListBox
*) ptr
;
3051 dest
= (wxEvtHandler
*) src
;
3052 return (void *) dest
;
3055 static void *SwigwxPyVListBoxTowxObject(void *ptr
) {
3058 src
= (wxPyVListBox
*) ptr
;
3059 dest
= (wxObject
*) src
;
3060 return (void *) dest
;
3063 #define new_wxVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyVListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3064 static PyObject
*_wrap_new_wxVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3066 wxPyVListBox
* _result
;
3068 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
3069 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3070 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3071 long _arg4
= (long ) 0;
3072 wxString
* _arg5
= (wxString
*) &wxPyVListBoxNameStr
;
3073 PyObject
* _argo0
= 0;
3075 PyObject
* _obj2
= 0;
3077 PyObject
* _obj3
= 0;
3078 PyObject
* _obj5
= 0;
3079 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxVListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxVListBox. Expected _wxWindow_p.");
3095 if (! wxPoint_helper(_obj2
, &_arg2
))
3101 if (! wxSize_helper(_obj3
, &_arg3
))
3106 _arg5
= wxString_in_helper(_obj5
);
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 _result
= (wxPyVListBox
*)new_wxVListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVListBox_p");
3118 _resultobj
= Py_BuildValue("s",_ptemp
);
3121 _resultobj
= Py_None
;
3130 #define new_wxPreVListBox() (new wxPyVListBox())
3131 static PyObject
*_wrap_new_wxPreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3133 wxPyVListBox
* _result
;
3134 char *_kwnames
[] = { NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreVListBox",_kwnames
))
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 _result
= (wxPyVListBox
*)new_wxPreVListBox();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyVListBox_p");
3148 _resultobj
= Py_BuildValue("s",_ptemp
);
3151 _resultobj
= Py_None
;
3156 #define wxVListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3157 static PyObject
*_wrap_wxVListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3159 wxPyVListBox
* _arg0
;
3162 PyObject
* _argo0
= 0;
3163 PyObject
* _obj1
= 0;
3164 PyObject
* _obj2
= 0;
3165 char *_kwnames
[] = { "self","self","_class", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxVListBox__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox__setCallbackInfo. Expected _wxPyVListBox_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 wxVListBox__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 #define wxVListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3195 static PyObject
*_wrap_wxVListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3198 wxPyVListBox
* _arg0
;
3200 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
3201 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3202 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3203 long _arg5
= (long ) 0;
3204 wxString
* _arg6
= (wxString
*) &wxPyVListBoxNameStr
;
3205 PyObject
* _argo0
= 0;
3206 PyObject
* _argo1
= 0;
3208 PyObject
* _obj3
= 0;
3210 PyObject
* _obj4
= 0;
3211 PyObject
* _obj6
= 0;
3212 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxVListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Create. Expected _wxPyVListBox_p.");
3225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_Create. Expected _wxWindow_p.");
3234 if (! wxPoint_helper(_obj3
, &_arg3
))
3240 if (! wxSize_helper(_obj4
, &_arg4
))
3245 _arg6
= wxString_in_helper(_obj6
);
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 _result
= (bool )wxVListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } _resultobj
= Py_BuildValue("i",_result
);
3263 #define wxVListBox_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3264 static PyObject
*_wrap_wxVListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 wxPyVListBox
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetItemCount",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetItemCount. Expected _wxPyVListBox_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 _result
= (size_t )wxVListBox_GetItemCount(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxVListBox_HasMultipleSelection(_swigobj) (_swigobj->HasMultipleSelection())
3292 static PyObject
*_wrap_wxVListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxPyVListBox
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_HasMultipleSelection",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_HasMultipleSelection. Expected _wxPyVListBox_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (bool )wxVListBox_HasMultipleSelection(_arg0
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxVListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3320 static PyObject
*_wrap_wxVListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3323 wxPyVListBox
* _arg0
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "self", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelection",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelection. Expected _wxPyVListBox_p.");
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 _result
= (int )wxVListBox_GetSelection(_arg0
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) return NULL
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 #define wxVListBox_IsCurrent(_swigobj,_swigarg0) (_swigobj->IsCurrent(_swigarg0))
3348 static PyObject
*_wrap_wxVListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3351 wxPyVListBox
* _arg0
;
3353 PyObject
* _argo0
= 0;
3354 char *_kwnames
[] = { "self","item", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_IsCurrent",_kwnames
,&_argo0
,&_arg1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_IsCurrent. Expected _wxPyVListBox_p.");
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 _result
= (bool )wxVListBox_IsCurrent(_arg0
,_arg1
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3372 } _resultobj
= Py_BuildValue("i",_result
);
3376 #define wxVListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3377 static PyObject
*_wrap_wxVListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3380 wxPyVListBox
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self","item", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_IsSelected. Expected _wxPyVListBox_p.");
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 _result
= (bool )wxVListBox_IsSelected(_arg0
,_arg1
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) return NULL
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxVListBox_GetSelectedCount(_swigobj) (_swigobj->GetSelectedCount())
3406 static PyObject
*_wrap_wxVListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3409 wxPyVListBox
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelectedCount",_kwnames
,&_argo0
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelectedCount. Expected _wxPyVListBox_p.");
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 _result
= (size_t )wxVListBox_GetSelectedCount(_arg0
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) return NULL
;
3429 } _resultobj
= Py_BuildValue("i",_result
);
3433 #define wxVListBox_GetFirstSelected(_swigobj,_swigarg0) (_swigobj->GetFirstSelected(_swigarg0))
3434 static PyObject
*_wrap_wxVListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3437 wxPyVListBox
* _arg0
;
3438 unsigned long * _arg1
;
3439 PyObject
* _argo0
= 0;
3440 PyObject
* _argo1
= 0;
3441 char *_kwnames
[] = { "self","cookie", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_GetFirstSelected",_kwnames
,&_argo0
,&_argo1
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetFirstSelected. Expected _wxPyVListBox_p.");
3454 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_unsigned_long_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_GetFirstSelected. Expected _unsigned_long_p.");
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 _result
= (int )wxVListBox_GetFirstSelected(_arg0
,*_arg1
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) return NULL
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 #define wxVListBox_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
3470 static PyObject
*_wrap_wxVListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3473 wxPyVListBox
* _arg0
;
3474 unsigned long * _arg1
;
3475 PyObject
* _argo0
= 0;
3476 PyObject
* _argo1
= 0;
3477 char *_kwnames
[] = { "self","cookie", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_GetNextSelected",_kwnames
,&_argo0
,&_argo1
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetNextSelected. Expected _wxPyVListBox_p.");
3490 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_unsigned_long_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxVListBox_GetNextSelected. Expected _unsigned_long_p.");
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 _result
= (int )wxVListBox_GetNextSelected(_arg0
,*_arg1
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) return NULL
;
3501 } _resultobj
= Py_BuildValue("i",_result
);
3505 #define wxVListBox_GetMargins(_swigobj) (_swigobj->GetMargins())
3506 static PyObject
*_wrap_wxVListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3509 wxPyVListBox
* _arg0
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetMargins",_kwnames
,&_argo0
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetMargins. Expected _wxPyVListBox_p.");
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 _result
= new wxPoint (wxVListBox_GetMargins(_arg0
));
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) return NULL
;
3530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3535 #define wxVListBox_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
3536 static PyObject
*_wrap_wxVListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxPyVListBox
* _arg0
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_GetSelectionBackground",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_GetSelectionBackground. Expected _wxPyVListBox_p.");
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 const wxColour
& _result_ref
= wxVListBox_GetSelectionBackground(_arg0
);
3557 _result
= (wxColour
*) &_result_ref
;
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) return NULL
;
3562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3563 _resultobj
= Py_BuildValue("s",_ptemp
);
3566 _resultobj
= Py_None
;
3571 #define wxVListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
3572 static PyObject
*_wrap_wxVListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3574 wxPyVListBox
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self","count", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetItemCount. Expected _wxPyVListBox_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 wxVListBox_SetItemCount(_arg0
,_arg1
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } Py_INCREF(Py_None
);
3596 _resultobj
= Py_None
;
3600 #define wxVListBox_Clear(_swigobj) (_swigobj->Clear())
3601 static PyObject
*_wrap_wxVListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxPyVListBox
* _arg0
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_Clear",_kwnames
,&_argo0
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Clear. Expected _wxPyVListBox_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 wxVListBox_Clear(_arg0
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3623 } Py_INCREF(Py_None
);
3624 _resultobj
= Py_None
;
3628 #define wxVListBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3629 static PyObject
*_wrap_wxVListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3631 wxPyVListBox
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self","selection", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetSelection. Expected _wxPyVListBox_p.");
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 wxVListBox_SetSelection(_arg0
,_arg1
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) return NULL
;
3652 } Py_INCREF(Py_None
);
3653 _resultobj
= Py_None
;
3657 #define wxVListBox_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3658 static PyObject
*_wrap_wxVListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3661 wxPyVListBox
* _arg0
;
3663 bool _arg2
= (bool ) true;
3664 PyObject
* _argo0
= 0;
3665 int tempbool2
= (int) true;
3666 char *_kwnames
[] = { "self","item","select", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxVListBox_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Select. Expected _wxPyVListBox_p.");
3678 _arg2
= (bool ) tempbool2
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 _result
= (bool )wxVListBox_Select(_arg0
,_arg1
,_arg2
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxVListBox_SelectRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRange(_swigarg0,_swigarg1))
3690 static PyObject
*_wrap_wxVListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3693 wxPyVListBox
* _arg0
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self","from","to", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVListBox_SelectRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SelectRange. Expected _wxPyVListBox_p.");
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (bool )wxVListBox_SelectRange(_arg0
,_arg1
,_arg2
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3715 } _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxVListBox_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3720 static PyObject
*_wrap_wxVListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3722 wxPyVListBox
* _arg0
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self","item", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxVListBox_Toggle",_kwnames
,&_argo0
,&_arg1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_Toggle. Expected _wxPyVListBox_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxVListBox_Toggle(_arg0
,_arg1
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxVListBox_SelectAll(_swigobj) (_swigobj->SelectAll())
3749 static PyObject
*_wrap_wxVListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxPyVListBox
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_SelectAll",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SelectAll. Expected _wxPyVListBox_p.");
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= (bool )wxVListBox_SelectAll(_arg0
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxVListBox_DeselectAll(_swigobj) (_swigobj->DeselectAll())
3777 static PyObject
*_wrap_wxVListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxPyVListBox
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxVListBox_DeselectAll",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_DeselectAll. Expected _wxPyVListBox_p.");
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 _result
= (bool )wxVListBox_DeselectAll(_arg0
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3800 } _resultobj
= Py_BuildValue("i",_result
);
3804 #define wxVListBox_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
3805 static PyObject
*_wrap_wxVListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3807 wxPyVListBox
* _arg0
;
3809 PyObject
* _argo0
= 0;
3811 PyObject
* _obj1
= 0;
3812 char *_kwnames
[] = { "self","pt", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_SetMargins",_kwnames
,&_argo0
,&_obj1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetMargins. Expected _wxPyVListBox_p.");
3826 if (! wxPoint_helper(_obj1
, &_arg1
))
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 wxVListBox_SetMargins(_arg0
,*_arg1
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) return NULL
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxVListBox_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
3841 static PyObject
*_wrap_wxVListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3843 wxPyVListBox
* _arg0
;
3846 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self","x","y", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxVListBox_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetMarginsXY. Expected _wxPyVListBox_p.");
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxVListBox_SetMarginsXY(_arg0
,_arg1
,_arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxVListBox_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
3871 static PyObject
*_wrap_wxVListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3873 wxPyVListBox
* _arg0
;
3875 PyObject
* _argo0
= 0;
3877 PyObject
* _obj1
= 0;
3878 char *_kwnames
[] = { "self","col", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxVListBox_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyVListBox_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxVListBox_SetSelectionBackground. Expected _wxPyVListBox_p.");
3892 if (! wxColour_helper(_obj1
, &_arg1
))
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 wxVListBox_SetSelectionBackground(_arg0
,*_arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 static void *SwigwxPyHtmlListBoxTowxPyVListBox(void *ptr
) {
3907 wxPyHtmlListBox
*src
;
3909 src
= (wxPyHtmlListBox
*) ptr
;
3910 dest
= (wxPyVListBox
*) src
;
3911 return (void *) dest
;
3914 static void *SwigwxPyHtmlListBoxTowxPyVScrolledWindow(void *ptr
) {
3915 wxPyHtmlListBox
*src
;
3916 wxPyVScrolledWindow
*dest
;
3917 src
= (wxPyHtmlListBox
*) ptr
;
3918 dest
= (wxPyVScrolledWindow
*) src
;
3919 return (void *) dest
;
3922 static void *SwigwxPyHtmlListBoxTowxPanel(void *ptr
) {
3923 wxPyHtmlListBox
*src
;
3925 src
= (wxPyHtmlListBox
*) ptr
;
3926 dest
= (wxPanel
*) src
;
3927 return (void *) dest
;
3930 static void *SwigwxPyHtmlListBoxTowxWindow(void *ptr
) {
3931 wxPyHtmlListBox
*src
;
3933 src
= (wxPyHtmlListBox
*) ptr
;
3934 dest
= (wxWindow
*) src
;
3935 return (void *) dest
;
3938 static void *SwigwxPyHtmlListBoxTowxEvtHandler(void *ptr
) {
3939 wxPyHtmlListBox
*src
;
3941 src
= (wxPyHtmlListBox
*) ptr
;
3942 dest
= (wxEvtHandler
*) src
;
3943 return (void *) dest
;
3946 static void *SwigwxPyHtmlListBoxTowxObject(void *ptr
) {
3947 wxPyHtmlListBox
*src
;
3949 src
= (wxPyHtmlListBox
*) ptr
;
3950 dest
= (wxObject
*) src
;
3951 return (void *) dest
;
3954 #define new_wxHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3955 static PyObject
*_wrap_new_wxHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3957 wxPyHtmlListBox
* _result
;
3959 wxWindowID _arg1
= (wxWindowID
) wxID_ANY
;
3960 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3961 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3962 long _arg4
= (long ) 0;
3963 wxString
* _arg5
= (wxString
*) &wxPyVListBoxNameStr
;
3964 PyObject
* _argo0
= 0;
3966 PyObject
* _obj2
= 0;
3968 PyObject
* _obj3
= 0;
3969 PyObject
* _obj5
= 0;
3970 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxHtmlListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlListBox. Expected _wxWindow_p.");
3986 if (! wxPoint_helper(_obj2
, &_arg2
))
3992 if (! wxSize_helper(_obj3
, &_arg3
))
3997 _arg5
= wxString_in_helper(_obj5
);
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 _result
= (wxPyHtmlListBox
*)new_wxHtmlListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) return NULL
;
4008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlListBox_p");
4009 _resultobj
= Py_BuildValue("s",_ptemp
);
4012 _resultobj
= Py_None
;
4021 #define new_wxPreHtmlListBox() (new wxPyHtmlListBox())
4022 static PyObject
*_wrap_new_wxPreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4024 wxPyHtmlListBox
* _result
;
4025 char *_kwnames
[] = { NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlListBox",_kwnames
))
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 _result
= (wxPyHtmlListBox
*)new_wxPreHtmlListBox();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlListBox_p");
4039 _resultobj
= Py_BuildValue("s",_ptemp
);
4042 _resultobj
= Py_None
;
4047 #define wxHtmlListBox__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4048 static PyObject
*_wrap_wxHtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4050 wxPyHtmlListBox
* _arg0
;
4053 PyObject
* _argo0
= 0;
4054 PyObject
* _obj1
= 0;
4055 PyObject
* _obj2
= 0;
4056 char *_kwnames
[] = { "self","self","_class", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlListBox__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox__setCallbackInfo. Expected _wxPyHtmlListBox_p.");
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 wxHtmlListBox__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) return NULL
;
4080 } Py_INCREF(Py_None
);
4081 _resultobj
= Py_None
;
4085 #define wxHtmlListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4086 static PyObject
*_wrap_wxHtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4089 wxPyHtmlListBox
* _arg0
;
4091 wxWindowID _arg2
= (wxWindowID
) wxID_ANY
;
4092 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4093 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4094 long _arg5
= (long ) 0;
4095 wxString
* _arg6
= (wxString
*) &wxPyVListBoxNameStr
;
4096 PyObject
* _argo0
= 0;
4097 PyObject
* _argo1
= 0;
4099 PyObject
* _obj3
= 0;
4101 PyObject
* _obj4
= 0;
4102 PyObject
* _obj6
= 0;
4103 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxHtmlListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_Create. Expected _wxPyHtmlListBox_p.");
4116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlListBox_Create. Expected _wxWindow_p.");
4125 if (! wxPoint_helper(_obj3
, &_arg3
))
4131 if (! wxSize_helper(_obj4
, &_arg4
))
4136 _arg6
= wxString_in_helper(_obj6
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (bool )wxHtmlListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4154 #define wxHtmlListBox_RefreshAll(_swigobj) (_swigobj->RefreshAll())
4155 static PyObject
*_wrap_wxHtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4157 wxPyHtmlListBox
* _arg0
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlListBox_RefreshAll",_kwnames
,&_argo0
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_RefreshAll. Expected _wxPyHtmlListBox_p.");
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 wxHtmlListBox_RefreshAll(_arg0
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } Py_INCREF(Py_None
);
4178 _resultobj
= Py_None
;
4182 #define wxHtmlListBox_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4183 static PyObject
*_wrap_wxHtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4185 wxPyHtmlListBox
* _arg0
;
4187 PyObject
* _argo0
= 0;
4188 char *_kwnames
[] = { "self","count", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlListBox_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlListBox_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlListBox_SetItemCount. Expected _wxPyHtmlListBox_p.");
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 wxHtmlListBox_SetItemCount(_arg0
,_arg1
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) return NULL
;
4206 } Py_INCREF(Py_None
);
4207 _resultobj
= Py_None
;
4211 static PyMethodDef windows3cMethods
[] = {
4212 { "wxHtmlListBox_SetItemCount", (PyCFunction
) _wrap_wxHtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxHtmlListBox_RefreshAll", (PyCFunction
) _wrap_wxHtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxHtmlListBox_Create", (PyCFunction
) _wrap_wxHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxHtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "new_wxPreHtmlListBox", (PyCFunction
) _wrap_new_wxPreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "new_wxHtmlListBox", (PyCFunction
) _wrap_new_wxHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxVListBox_SetSelectionBackground", (PyCFunction
) _wrap_wxVListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxVListBox_SetMarginsXY", (PyCFunction
) _wrap_wxVListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxVListBox_SetMargins", (PyCFunction
) _wrap_wxVListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxVListBox_DeselectAll", (PyCFunction
) _wrap_wxVListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxVListBox_SelectAll", (PyCFunction
) _wrap_wxVListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxVListBox_Toggle", (PyCFunction
) _wrap_wxVListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxVListBox_SelectRange", (PyCFunction
) _wrap_wxVListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxVListBox_Select", (PyCFunction
) _wrap_wxVListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxVListBox_SetSelection", (PyCFunction
) _wrap_wxVListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxVListBox_Clear", (PyCFunction
) _wrap_wxVListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxVListBox_SetItemCount", (PyCFunction
) _wrap_wxVListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxVListBox_GetSelectionBackground", (PyCFunction
) _wrap_wxVListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxVListBox_GetMargins", (PyCFunction
) _wrap_wxVListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxVListBox_GetNextSelected", (PyCFunction
) _wrap_wxVListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxVListBox_GetFirstSelected", (PyCFunction
) _wrap_wxVListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxVListBox_GetSelectedCount", (PyCFunction
) _wrap_wxVListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxVListBox_IsSelected", (PyCFunction
) _wrap_wxVListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxVListBox_IsCurrent", (PyCFunction
) _wrap_wxVListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxVListBox_GetSelection", (PyCFunction
) _wrap_wxVListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxVListBox_HasMultipleSelection", (PyCFunction
) _wrap_wxVListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxVListBox_GetItemCount", (PyCFunction
) _wrap_wxVListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxVListBox_Create", (PyCFunction
) _wrap_wxVListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxVListBox__setCallbackInfo", (PyCFunction
) _wrap_wxVListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "new_wxPreVListBox", (PyCFunction
) _wrap_new_wxPreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "new_wxVListBox", (PyCFunction
) _wrap_new_wxVListBox
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxVScrolledWindow_IsVisible", (PyCFunction
) _wrap_wxVScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxVScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_wxVScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxVScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_wxVScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxVScrolledWindow_GetLineCount", (PyCFunction
) _wrap_wxVScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxVScrolledWindow_RefreshAll", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxVScrolledWindow_HitTest", (PyCFunction
) _wrap_wxVScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxVScrolledWindow_HitTestXT", (PyCFunction
) _wrap_wxVScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxVScrolledWindow_RefreshLines", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxVScrolledWindow_RefreshLine", (PyCFunction
) _wrap_wxVScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxVScrolledWindow_ScrollPages", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxVScrolledWindow_ScrollLines", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxVScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_wxVScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxVScrolledWindow_SetLineCount", (PyCFunction
) _wrap_wxVScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxVScrolledWindow_Create", (PyCFunction
) _wrap_wxVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_wxVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "new_wxPreVScrolledWindow", (PyCFunction
) _wrap_new_wxPreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "new_wxVScrolledWindow", (PyCFunction
) _wrap_new_wxVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxTipWindow_Close", (PyCFunction
) _wrap_wxTipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxTipWindow_SetBoundingRect", (PyCFunction
) _wrap_wxTipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxLayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxLayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_wxLayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "delete_wxLayoutAlgorithm", (PyCFunction
) _wrap_delete_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "new_wxLayoutAlgorithm", (PyCFunction
) _wrap_new_wxLayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxSashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxSashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_wxSashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxSashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxSashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_wxSashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxSashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_wxSashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxSashLayoutWindow_Create", (PyCFunction
) _wrap_wxSashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "new_wxPreSashLayoutWindow", (PyCFunction
) _wrap_new_wxPreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "new_wxSashLayoutWindow", (PyCFunction
) _wrap_new_wxSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxCalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxCalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxCalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxCalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_wxCalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "new_wxCalculateLayoutEvent", (PyCFunction
) _wrap_new_wxCalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxQueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxQueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "new_wxQueryLayoutInfoEvent", (PyCFunction
) _wrap_new_wxQueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxSashWindow_SetSashBorder", (PyCFunction
) _wrap_wxSashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxSashWindow_SetSashVisible", (PyCFunction
) _wrap_wxSashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxSashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxSashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxSashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxSashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxSashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxSashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxSashWindow_HasBorder", (PyCFunction
) _wrap_wxSashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxSashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxSashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxSashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxSashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_wxSashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxSashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxSashWindow_GetEdgeMargin", (PyCFunction
) _wrap_wxSashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxSashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_wxSashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "wxSashWindow_GetSashVisible", (PyCFunction
) _wrap_wxSashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "wxSashWindow_Create", (PyCFunction
) _wrap_wxSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "new_wxPreSashWindow", (PyCFunction
) _wrap_new_wxPreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "new_wxSashWindow", (PyCFunction
) _wrap_new_wxSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxSashEvent_GetDragStatus", (PyCFunction
) _wrap_wxSashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxSashEvent_SetDragStatus", (PyCFunction
) _wrap_wxSashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxSashEvent_GetDragRect", (PyCFunction
) _wrap_wxSashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "wxSashEvent_SetDragRect", (PyCFunction
) _wrap_wxSashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "wxSashEvent_GetEdge", (PyCFunction
) _wrap_wxSashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxSashEvent_SetEdge", (PyCFunction
) _wrap_wxSashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "new_wxSashEvent", (PyCFunction
) _wrap_new_wxSashEvent
, METH_VARARGS
| METH_KEYWORDS
},
4325 * This table is used by the pointer type-checker
4327 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4328 { "_wxEvent","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxEvent
},
4329 { "_wxEvent","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxEvent
},
4330 { "_wxEvent","_wxSashEvent",SwigwxSashEventTowxEvent
},
4331 { "_signed_long","_long",0},
4332 { "_wxPrintQuality","_wxCoord",0},
4333 { "_wxPrintQuality","_int",0},
4334 { "_wxPrintQuality","_signed_int",0},
4335 { "_wxPrintQuality","_unsigned_int",0},
4336 { "_wxPrintQuality","_wxWindowID",0},
4337 { "_wxPrintQuality","_uint",0},
4338 { "_wxPrintQuality","_EBool",0},
4339 { "_wxPrintQuality","_size_t",0},
4340 { "_wxPrintQuality","_time_t",0},
4341 { "_byte","_unsigned_char",0},
4342 { "_long","_unsigned_long",0},
4343 { "_long","_signed_long",0},
4344 { "_wxSashWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxSashWindow
},
4345 { "_size_t","_wxCoord",0},
4346 { "_size_t","_wxPrintQuality",0},
4347 { "_size_t","_time_t",0},
4348 { "_size_t","_unsigned_int",0},
4349 { "_size_t","_int",0},
4350 { "_size_t","_wxWindowID",0},
4351 { "_size_t","_uint",0},
4352 { "_wxPanel","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPanel
},
4353 { "_wxPanel","_wxPyVListBox",SwigwxPyVListBoxTowxPanel
},
4354 { "_wxPanel","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxPanel
},
4355 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
4356 { "_uint","_wxCoord",0},
4357 { "_uint","_wxPrintQuality",0},
4358 { "_uint","_time_t",0},
4359 { "_uint","_size_t",0},
4360 { "_uint","_unsigned_int",0},
4361 { "_uint","_int",0},
4362 { "_uint","_wxWindowID",0},
4363 { "_wxChar","_char",0},
4364 { "_wxCommandEvent","_wxSashEvent",SwigwxSashEventTowxCommandEvent
},
4365 { "_char","_wxChar",0},
4366 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4367 { "_EBool","_wxCoord",0},
4368 { "_EBool","_wxPrintQuality",0},
4369 { "_EBool","_signed_int",0},
4370 { "_EBool","_int",0},
4371 { "_EBool","_wxWindowID",0},
4372 { "_unsigned_long","_long",0},
4373 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4374 { "_signed_int","_wxCoord",0},
4375 { "_signed_int","_wxPrintQuality",0},
4376 { "_signed_int","_EBool",0},
4377 { "_signed_int","_wxWindowID",0},
4378 { "_signed_int","_int",0},
4379 { "_WXTYPE","_short",0},
4380 { "_WXTYPE","_signed_short",0},
4381 { "_WXTYPE","_unsigned_short",0},
4382 { "_unsigned_short","_WXTYPE",0},
4383 { "_unsigned_short","_short",0},
4384 { "_wxObject","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxObject
},
4385 { "_wxObject","_wxPyVListBox",SwigwxPyVListBoxTowxObject
},
4386 { "_wxObject","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxObject
},
4387 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
4388 { "_wxObject","_wxLayoutAlgorithm",SwigwxLayoutAlgorithmTowxObject
},
4389 { "_wxObject","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxObject
},
4390 { "_wxObject","_wxCalculateLayoutEvent",SwigwxCalculateLayoutEventTowxObject
},
4391 { "_wxObject","_wxQueryLayoutInfoEvent",SwigwxQueryLayoutInfoEventTowxObject
},
4392 { "_wxObject","_wxSashWindow",SwigwxSashWindowTowxObject
},
4393 { "_wxObject","_wxSashEvent",SwigwxSashEventTowxObject
},
4394 { "_wxPyVScrolledWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVScrolledWindow
},
4395 { "_wxPyVScrolledWindow","_wxPyVListBox",SwigwxPyVListBoxTowxPyVScrolledWindow
},
4396 { "_signed_short","_WXTYPE",0},
4397 { "_signed_short","_short",0},
4398 { "_unsigned_char","_byte",0},
4399 { "_unsigned_int","_wxCoord",0},
4400 { "_unsigned_int","_wxPrintQuality",0},
4401 { "_unsigned_int","_time_t",0},
4402 { "_unsigned_int","_size_t",0},
4403 { "_unsigned_int","_uint",0},
4404 { "_unsigned_int","_wxWindowID",0},
4405 { "_unsigned_int","_int",0},
4406 { "_short","_WXTYPE",0},
4407 { "_short","_unsigned_short",0},
4408 { "_short","_signed_short",0},
4409 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
4410 { "_wxWindowID","_wxCoord",0},
4411 { "_wxWindowID","_wxPrintQuality",0},
4412 { "_wxWindowID","_time_t",0},
4413 { "_wxWindowID","_size_t",0},
4414 { "_wxWindowID","_EBool",0},
4415 { "_wxWindowID","_uint",0},
4416 { "_wxWindowID","_int",0},
4417 { "_wxWindowID","_signed_int",0},
4418 { "_wxWindowID","_unsigned_int",0},
4419 { "_int","_wxCoord",0},
4420 { "_int","_wxPrintQuality",0},
4421 { "_int","_time_t",0},
4422 { "_int","_size_t",0},
4423 { "_int","_EBool",0},
4424 { "_int","_uint",0},
4425 { "_int","_wxWindowID",0},
4426 { "_int","_unsigned_int",0},
4427 { "_int","_signed_int",0},
4428 { "_time_t","_wxCoord",0},
4429 { "_time_t","_wxPrintQuality",0},
4430 { "_time_t","_unsigned_int",0},
4431 { "_time_t","_int",0},
4432 { "_time_t","_wxWindowID",0},
4433 { "_time_t","_uint",0},
4434 { "_time_t","_size_t",0},
4435 { "_wxCoord","_int",0},
4436 { "_wxCoord","_signed_int",0},
4437 { "_wxCoord","_unsigned_int",0},
4438 { "_wxCoord","_wxWindowID",0},
4439 { "_wxCoord","_uint",0},
4440 { "_wxCoord","_EBool",0},
4441 { "_wxCoord","_size_t",0},
4442 { "_wxCoord","_time_t",0},
4443 { "_wxCoord","_wxPrintQuality",0},
4444 { "_wxEvtHandler","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxEvtHandler
},
4445 { "_wxEvtHandler","_wxPyVListBox",SwigwxPyVListBoxTowxEvtHandler
},
4446 { "_wxEvtHandler","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxEvtHandler
},
4447 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
4448 { "_wxEvtHandler","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxEvtHandler
},
4449 { "_wxEvtHandler","_wxSashWindow",SwigwxSashWindowTowxEvtHandler
},
4450 { "_wxWindow","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxWindow
},
4451 { "_wxWindow","_wxPyVListBox",SwigwxPyVListBoxTowxWindow
},
4452 { "_wxWindow","_wxPyVScrolledWindow",SwigwxPyVScrolledWindowTowxWindow
},
4453 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
4454 { "_wxWindow","_wxSashLayoutWindow",SwigwxSashLayoutWindowTowxWindow
},
4455 { "_wxWindow","_wxSashWindow",SwigwxSashWindowTowxWindow
},
4456 { "_wxPyVListBox","_wxPyHtmlListBox",SwigwxPyHtmlListBoxTowxPyVListBox
},
4459 static PyObject
*SWIG_globals
;
4463 SWIGEXPORT(void) initwindows3c() {
4465 SWIG_globals
= SWIG_newvarlink();
4466 m
= Py_InitModule("windows3c", windows3cMethods
);
4467 d
= PyModule_GetDict(m
);
4468 PyDict_SetItemString(d
,"wxSASH_TOP", PyInt_FromLong((long) wxSASH_TOP
));
4469 PyDict_SetItemString(d
,"wxSASH_RIGHT", PyInt_FromLong((long) wxSASH_RIGHT
));
4470 PyDict_SetItemString(d
,"wxSASH_BOTTOM", PyInt_FromLong((long) wxSASH_BOTTOM
));
4471 PyDict_SetItemString(d
,"wxSASH_LEFT", PyInt_FromLong((long) wxSASH_LEFT
));
4472 PyDict_SetItemString(d
,"wxSASH_NONE", PyInt_FromLong((long) wxSASH_NONE
));
4473 PyDict_SetItemString(d
,"wxEVT_SASH_DRAGGED", PyInt_FromLong((long) wxEVT_SASH_DRAGGED
));
4474 PyDict_SetItemString(d
,"wxSW_3D", PyInt_FromLong((long) wxSW_3D
));
4475 PyDict_SetItemString(d
,"wxSW_3DSASH", PyInt_FromLong((long) wxSW_3DSASH
));
4476 PyDict_SetItemString(d
,"wxSW_3DBORDER", PyInt_FromLong((long) wxSW_3DBORDER
));
4477 PyDict_SetItemString(d
,"wxSW_BORDER", PyInt_FromLong((long) wxSW_BORDER
));
4478 PyDict_SetItemString(d
,"wxSASH_STATUS_OK", PyInt_FromLong((long) wxSASH_STATUS_OK
));
4479 PyDict_SetItemString(d
,"wxSASH_STATUS_OUT_OF_RANGE", PyInt_FromLong((long) wxSASH_STATUS_OUT_OF_RANGE
));
4480 PyDict_SetItemString(d
,"wxLAYOUT_HORIZONTAL", PyInt_FromLong((long) wxLAYOUT_HORIZONTAL
));
4481 PyDict_SetItemString(d
,"wxLAYOUT_VERTICAL", PyInt_FromLong((long) wxLAYOUT_VERTICAL
));
4482 PyDict_SetItemString(d
,"wxLAYOUT_NONE", PyInt_FromLong((long) wxLAYOUT_NONE
));
4483 PyDict_SetItemString(d
,"wxLAYOUT_TOP", PyInt_FromLong((long) wxLAYOUT_TOP
));
4484 PyDict_SetItemString(d
,"wxLAYOUT_LEFT", PyInt_FromLong((long) wxLAYOUT_LEFT
));
4485 PyDict_SetItemString(d
,"wxLAYOUT_RIGHT", PyInt_FromLong((long) wxLAYOUT_RIGHT
));
4486 PyDict_SetItemString(d
,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM
));
4487 PyDict_SetItemString(d
,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO
));
4488 PyDict_SetItemString(d
,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT
));
4490 // Map renamed classes back to their common name for OOR
4491 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
4492 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
4493 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
4496 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4497 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);