1 /*
2  * Interface wrapper code.
3  *
4  * Generated by SIP 4.19.16
5  *
6  *     Copyright: (c) 2018 by Total Control Software
7  *     License:   wxWindows License
8  */
9 
10 #include "sipAPI_core.h"
11 
12         #include <wx/scrolwin.h>
13 
14         #include <wx/window.h>
15         #include <wx/gdicmn.h>
16         #include <wx/gdicmn.h>
17         #include <wx/window.h>
18         #include <wx/event.h>
19         #include <wx/validate.h>
20         #include <wx/event.h>
21         #include <wx/gdicmn.h>
22         #include <wx/dc.h>
23         #include <wx/event.h>
24     #include <wx/setup.h>
25     #include <wxPython/wxpy_api.h>
26         #include <wx/event.h>
27         #include <wx/cursor.h>
28         #include <wx/caret.h>
29         #include <wx/layout.h>
30         #include <wx/sizer.h>
31         #include <wx/dnd.h>
32         #include <wx/access.h>
33         #include <wx/accel.h>
34         #include <wx/menu.h>
35         #include <wx/tooltip.h>
36         #include <wx/event.h>
37         #include <wx/event.h>
38         #include <wx/event.h>
39         #include <wx/palette.h>
40         #include <wx/colour.h>
41         #include <wx/font.h>
42         #include <wx/region.h>
43 
44         #include <wx/eventfilter.h>
45         #include <wx/object.h>
46         #include <wx/object.h>
47         #include <wx/object.h>
48 
49 
50 class sip_ScrolledWindowBase : public wxScrolled<wxPanel>
51 {
52 public:
53     sip_ScrolledWindowBase();
54     sip_ScrolledWindowBase( ::wxWindow*, ::wxWindowID,const  ::wxPoint&,const  ::wxSize&,long,const  ::wxString&);
55     virtual ~sip_ScrolledWindowBase();
56 
57     /*
58      * There is a public method for every protected method visible from
59      * this class.
60      */
61     void sipProtect_SendDestroyEvent();
62     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
63     void sipProtectVirt_DoEnable(bool,bool);
64     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
65     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
66     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
67      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
68      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
69     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
70     void sipProtectVirt_DoSetClientSize(bool,int,int);
71     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
72      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
73     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
74     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
75      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
76      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
77     void sipProtectVirt_DoFreeze(bool);
78     void sipProtectVirt_DoThaw(bool);
79     bool sipProtectVirt_HasTransparentBackground(bool);
80     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
81     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
82      ::wxSize sipProtectVirt_GetSizeAvailableForScrollTarget(bool,const  ::wxSize&);
83 
84     /*
85      * There is a protected method for every virtual method visible from
86      * this class.
87      */
88 protected:
89      ::wxSize GetSizeAvailableForScrollTarget(const  ::wxSize&) SIP_OVERRIDE;
90     bool SendAutoScrollEvents( ::wxScrollWinEvent&) const SIP_OVERRIDE;
91     void OnDraw( ::wxDC&) SIP_OVERRIDE;
92     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
93     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
94     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
95     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
96     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
97     bool AcceptsFocus() const SIP_OVERRIDE;
98     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
99     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
100     void SetCanFocus(bool) SIP_OVERRIDE;
101     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
102      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
103     bool HasTransparentBackground() SIP_OVERRIDE;
104     bool ShouldInheritColours() const SIP_OVERRIDE;
105      ::wxValidator* GetValidator() SIP_OVERRIDE;
106     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
107     bool TransferDataFromWindow() SIP_OVERRIDE;
108     bool TransferDataToWindow() SIP_OVERRIDE;
109     bool Validate() SIP_OVERRIDE;
110     bool Destroy() SIP_OVERRIDE;
111     void InheritAttributes() SIP_OVERRIDE;
112     void InitDialog() SIP_OVERRIDE;
113     void OnInternalIdle() SIP_OVERRIDE;
114      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
115     void DoEnable(bool) SIP_OVERRIDE;
116     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
117     void DoGetSize(int*,int*) const SIP_OVERRIDE;
118     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
119     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
120     void DoSetClientSize(int,int) SIP_OVERRIDE;
121     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
122      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
123     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
124     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
125      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
126      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
127     void DoFreeze() SIP_OVERRIDE;
128     void DoThaw() SIP_OVERRIDE;
129      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
130      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
131 
132 public:
133     sipSimpleWrapper *sipPySelf;
134 
135 private:
136     sip_ScrolledWindowBase(const sip_ScrolledWindowBase &);
137     sip_ScrolledWindowBase &operator = (const sip_ScrolledWindowBase &);
138 
139     char sipPyMethods[42];
140 };
141 
sip_ScrolledWindowBase()142 sip_ScrolledWindowBase::sip_ScrolledWindowBase(): wxScrolled<wxPanel>(), sipPySelf(SIP_NULLPTR)
143 {
144     memset(sipPyMethods, 0, sizeof (sipPyMethods));
145 }
146 
sip_ScrolledWindowBase(::wxWindow * parent,::wxWindowID id,const::wxPoint & pos,const::wxSize & size,long style,const::wxString & name)147 sip_ScrolledWindowBase::sip_ScrolledWindowBase( ::wxWindow*parent, ::wxWindowID id,const  ::wxPoint& pos,const  ::wxSize& size,long style,const  ::wxString& name): wxScrolled<wxPanel>(parent,id,pos,size,style,name), sipPySelf(SIP_NULLPTR)
148 {
149     memset(sipPyMethods, 0, sizeof (sipPyMethods));
150 }
151 
~sip_ScrolledWindowBase()152 sip_ScrolledWindowBase::~sip_ScrolledWindowBase()
153 {
154     sipInstanceDestroyedEx(&sipPySelf);
155 }
156 
GetSizeAvailableForScrollTarget(const::wxSize & size)157  ::wxSize sip_ScrolledWindowBase::GetSizeAvailableForScrollTarget(const  ::wxSize& size)
158 {
159     sip_gilstate_t sipGILState;
160     PyObject *sipMeth;
161 
162     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_GetSizeAvailableForScrollTarget);
163 
164     if (!sipMeth)
165         return  ::_ScrolledWindowBase::GetSizeAvailableForScrollTarget(size);
166 
167     extern  ::wxSize sipVH__core_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxSize&);
168 
169     return sipVH__core_127(sipGILState, 0, sipPySelf, sipMeth, size);
170 }
171 
SendAutoScrollEvents(::wxScrollWinEvent & event) const172 bool sip_ScrolledWindowBase::SendAutoScrollEvents( ::wxScrollWinEvent& event) const
173 {
174     sip_gilstate_t sipGILState;
175     PyObject *sipMeth;
176 
177     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_SendAutoScrollEvents);
178 
179     if (!sipMeth)
180         return  ::_ScrolledWindowBase::SendAutoScrollEvents(event);
181 
182     extern bool sipVH__core_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxScrollWinEvent&);
183 
184     return sipVH__core_126(sipGILState, 0, sipPySelf, sipMeth, event);
185 }
186 
OnDraw(::wxDC & dc)187 void sip_ScrolledWindowBase::OnDraw( ::wxDC& dc)
188 {
189     sip_gilstate_t sipGILState;
190     PyObject *sipMeth;
191 
192     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_OnDraw);
193 
194     if (!sipMeth)
195     {
196          ::_ScrolledWindowBase::OnDraw(dc);
197         return;
198     }
199 
200     extern void sipVH__core_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&);
201 
202     sipVH__core_125(sipGILState, 0, sipPySelf, sipMeth, dc);
203 }
204 
RemoveChild(::wxWindowBase * child)205 void sip_ScrolledWindowBase::RemoveChild( ::wxWindowBase*child)
206 {
207     sip_gilstate_t sipGILState;
208     PyObject *sipMeth;
209 
210     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
211 
212     if (!sipMeth)
213     {
214          ::_ScrolledWindowBase::RemoveChild(child);
215         return;
216     }
217 
218     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
219 
220     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
221 }
222 
AddChild(::wxWindowBase * child)223 void sip_ScrolledWindowBase::AddChild( ::wxWindowBase*child)
224 {
225     sip_gilstate_t sipGILState;
226     PyObject *sipMeth;
227 
228     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_AddChild);
229 
230     if (!sipMeth)
231     {
232          ::_ScrolledWindowBase::AddChild(child);
233         return;
234     }
235 
236     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
237 
238     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
239 }
240 
ProcessEvent(::wxEvent & event)241 bool sip_ScrolledWindowBase::ProcessEvent( ::wxEvent& event)
242 {
243     sip_gilstate_t sipGILState;
244     PyObject *sipMeth;
245 
246     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
247 
248     if (!sipMeth)
249         return  ::_ScrolledWindowBase::ProcessEvent(event);
250 
251     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
252 
253     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
254 }
255 
TryBefore(::wxEvent & event)256 bool sip_ScrolledWindowBase::TryBefore( ::wxEvent& event)
257 {
258     sip_gilstate_t sipGILState;
259     PyObject *sipMeth;
260 
261     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
262 
263     if (!sipMeth)
264         return  ::_ScrolledWindowBase::TryBefore(event);
265 
266     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
267 
268     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
269 }
270 
TryAfter(::wxEvent & event)271 bool sip_ScrolledWindowBase::TryAfter( ::wxEvent& event)
272 {
273     sip_gilstate_t sipGILState;
274     PyObject *sipMeth;
275 
276     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
277 
278     if (!sipMeth)
279         return  ::_ScrolledWindowBase::TryAfter(event);
280 
281     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
282 
283     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
284 }
285 
AcceptsFocus() const286 bool sip_ScrolledWindowBase::AcceptsFocus() const
287 {
288     sip_gilstate_t sipGILState;
289     PyObject *sipMeth;
290 
291     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
292 
293     if (!sipMeth)
294         return  ::_ScrolledWindowBase::AcceptsFocus();
295 
296     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
297 
298     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
299 }
300 
AcceptsFocusFromKeyboard() const301 bool sip_ScrolledWindowBase::AcceptsFocusFromKeyboard() const
302 {
303     sip_gilstate_t sipGILState;
304     PyObject *sipMeth;
305 
306     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
307 
308     if (!sipMeth)
309         return  ::_ScrolledWindowBase::AcceptsFocusFromKeyboard();
310 
311     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
312 
313     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
314 }
315 
AcceptsFocusRecursively() const316 bool sip_ScrolledWindowBase::AcceptsFocusRecursively() const
317 {
318     sip_gilstate_t sipGILState;
319     PyObject *sipMeth;
320 
321     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
322 
323     if (!sipMeth)
324         return  ::_ScrolledWindowBase::AcceptsFocusRecursively();
325 
326     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
327 
328     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
329 }
330 
SetCanFocus(bool canFocus)331 void sip_ScrolledWindowBase::SetCanFocus(bool canFocus)
332 {
333     sip_gilstate_t sipGILState;
334     PyObject *sipMeth;
335 
336     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
337 
338     if (!sipMeth)
339     {
340          ::_ScrolledWindowBase::SetCanFocus(canFocus);
341         return;
342     }
343 
344     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
345 
346     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
347 }
348 
InformFirstDirection(int direction,int size,int availableOtherDir)349 bool sip_ScrolledWindowBase::InformFirstDirection(int direction,int size,int availableOtherDir)
350 {
351     sip_gilstate_t sipGILState;
352     PyObject *sipMeth;
353 
354     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
355 
356     if (!sipMeth)
357         return  ::_ScrolledWindowBase::InformFirstDirection(direction,size,availableOtherDir);
358 
359     extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
360 
361     return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
362 }
363 
GetClientAreaOrigin() const364  ::wxPoint sip_ScrolledWindowBase::GetClientAreaOrigin() const
365 {
366     sip_gilstate_t sipGILState;
367     PyObject *sipMeth;
368 
369     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
370 
371     if (!sipMeth)
372         return  ::_ScrolledWindowBase::GetClientAreaOrigin();
373 
374     extern  ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
375 
376     return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
377 }
378 
HasTransparentBackground()379 bool sip_ScrolledWindowBase::HasTransparentBackground()
380 {
381     sip_gilstate_t sipGILState;
382     PyObject *sipMeth;
383 
384     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
385 
386     if (!sipMeth)
387         return  ::_ScrolledWindowBase::HasTransparentBackground();
388 
389     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
390 
391     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
392 }
393 
ShouldInheritColours() const394 bool sip_ScrolledWindowBase::ShouldInheritColours() const
395 {
396     sip_gilstate_t sipGILState;
397     PyObject *sipMeth;
398 
399     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
400 
401     if (!sipMeth)
402         return  ::_ScrolledWindowBase::ShouldInheritColours();
403 
404     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
405 
406     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
407 }
408 
GetValidator()409  ::wxValidator* sip_ScrolledWindowBase::GetValidator()
410 {
411     sip_gilstate_t sipGILState;
412     PyObject *sipMeth;
413 
414     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
415 
416     if (!sipMeth)
417         return  ::_ScrolledWindowBase::GetValidator();
418 
419     extern  ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
420 
421     return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
422 }
423 
SetValidator(const::wxValidator & validator)424 void sip_ScrolledWindowBase::SetValidator(const  ::wxValidator& validator)
425 {
426     sip_gilstate_t sipGILState;
427     PyObject *sipMeth;
428 
429     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
430 
431     if (!sipMeth)
432     {
433          ::_ScrolledWindowBase::SetValidator(validator);
434         return;
435     }
436 
437     extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
438 
439     sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
440 }
441 
TransferDataFromWindow()442 bool sip_ScrolledWindowBase::TransferDataFromWindow()
443 {
444     sip_gilstate_t sipGILState;
445     PyObject *sipMeth;
446 
447     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
448 
449     if (!sipMeth)
450         return  ::_ScrolledWindowBase::TransferDataFromWindow();
451 
452     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
453 
454     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
455 }
456 
TransferDataToWindow()457 bool sip_ScrolledWindowBase::TransferDataToWindow()
458 {
459     sip_gilstate_t sipGILState;
460     PyObject *sipMeth;
461 
462     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
463 
464     if (!sipMeth)
465         return  ::_ScrolledWindowBase::TransferDataToWindow();
466 
467     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
468 
469     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
470 }
471 
Validate()472 bool sip_ScrolledWindowBase::Validate()
473 {
474     sip_gilstate_t sipGILState;
475     PyObject *sipMeth;
476 
477     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_Validate);
478 
479     if (!sipMeth)
480         return  ::_ScrolledWindowBase::Validate();
481 
482     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
483 
484     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
485 }
486 
Destroy()487 bool sip_ScrolledWindowBase::Destroy()
488 {
489     sip_gilstate_t sipGILState;
490     PyObject *sipMeth;
491 
492     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_Destroy);
493 
494     if (!sipMeth)
495         return  ::_ScrolledWindowBase::Destroy();
496 
497     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
498 
499     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
500 }
501 
InheritAttributes()502 void sip_ScrolledWindowBase::InheritAttributes()
503 {
504     sip_gilstate_t sipGILState;
505     PyObject *sipMeth;
506 
507     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
508 
509     if (!sipMeth)
510     {
511          ::_ScrolledWindowBase::InheritAttributes();
512         return;
513     }
514 
515     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
516 
517     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
518 }
519 
InitDialog()520 void sip_ScrolledWindowBase::InitDialog()
521 {
522     sip_gilstate_t sipGILState;
523     PyObject *sipMeth;
524 
525     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
526 
527     if (!sipMeth)
528     {
529          ::_ScrolledWindowBase::InitDialog();
530         return;
531     }
532 
533     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
534 
535     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
536 }
537 
OnInternalIdle()538 void sip_ScrolledWindowBase::OnInternalIdle()
539 {
540     sip_gilstate_t sipGILState;
541     PyObject *sipMeth;
542 
543     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
544 
545     if (!sipMeth)
546     {
547          ::_ScrolledWindowBase::OnInternalIdle();
548         return;
549     }
550 
551     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
552 
553     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
554 }
555 
GetMainWindowOfCompositeControl()556  ::wxWindow* sip_ScrolledWindowBase::GetMainWindowOfCompositeControl()
557 {
558     sip_gilstate_t sipGILState;
559     PyObject *sipMeth;
560 
561     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
562 
563     if (!sipMeth)
564         return  ::_ScrolledWindowBase::GetMainWindowOfCompositeControl();
565 
566     extern  ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
567 
568     return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
569 }
570 
DoEnable(bool enable)571 void sip_ScrolledWindowBase::DoEnable(bool enable)
572 {
573     sip_gilstate_t sipGILState;
574     PyObject *sipMeth;
575 
576     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
577 
578     if (!sipMeth)
579     {
580          ::_ScrolledWindowBase::DoEnable(enable);
581         return;
582     }
583 
584     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
585 
586     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
587 }
588 
DoGetPosition(int * x,int * y) const589 void sip_ScrolledWindowBase::DoGetPosition(int*x,int*y) const
590 {
591     sip_gilstate_t sipGILState;
592     PyObject *sipMeth;
593 
594     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
595 
596     if (!sipMeth)
597     {
598          ::_ScrolledWindowBase::DoGetPosition(x,y);
599         return;
600     }
601 
602     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
603 
604     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
605 }
606 
DoGetSize(int * width,int * height) const607 void sip_ScrolledWindowBase::DoGetSize(int*width,int*height) const
608 {
609     sip_gilstate_t sipGILState;
610     PyObject *sipMeth;
611 
612     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
613 
614     if (!sipMeth)
615     {
616          ::_ScrolledWindowBase::DoGetSize(width,height);
617         return;
618     }
619 
620     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
621 
622     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
623 }
624 
DoGetClientSize(int * width,int * height) const625 void sip_ScrolledWindowBase::DoGetClientSize(int*width,int*height) const
626 {
627     sip_gilstate_t sipGILState;
628     PyObject *sipMeth;
629 
630     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
631 
632     if (!sipMeth)
633     {
634          ::_ScrolledWindowBase::DoGetClientSize(width,height);
635         return;
636     }
637 
638     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
639 
640     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
641 }
642 
DoSetSize(int x,int y,int width,int height,int sizeFlags)643 void sip_ScrolledWindowBase::DoSetSize(int x,int y,int width,int height,int sizeFlags)
644 {
645     sip_gilstate_t sipGILState;
646     PyObject *sipMeth;
647 
648     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
649 
650     if (!sipMeth)
651     {
652          ::_ScrolledWindowBase::DoSetSize(x,y,width,height,sizeFlags);
653         return;
654     }
655 
656     extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
657 
658     sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
659 }
660 
DoSetClientSize(int width,int height)661 void sip_ScrolledWindowBase::DoSetClientSize(int width,int height)
662 {
663     sip_gilstate_t sipGILState;
664     PyObject *sipMeth;
665 
666     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
667 
668     if (!sipMeth)
669     {
670          ::_ScrolledWindowBase::DoSetClientSize(width,height);
671         return;
672     }
673 
674     extern void sipVH__core_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
675 
676     sipVH__core_118(sipGILState, 0, sipPySelf, sipMeth, width, height);
677 }
678 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)679 void sip_ScrolledWindowBase::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
680 {
681     sip_gilstate_t sipGILState;
682     PyObject *sipMeth;
683 
684     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
685 
686     if (!sipMeth)
687     {
688          ::_ScrolledWindowBase::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
689         return;
690     }
691 
692     extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
693 
694     sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
695 }
696 
DoGetBorderSize() const697  ::wxSize sip_ScrolledWindowBase::DoGetBorderSize() const
698 {
699     sip_gilstate_t sipGILState;
700     PyObject *sipMeth;
701 
702     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
703 
704     if (!sipMeth)
705         return  ::_ScrolledWindowBase::DoGetBorderSize();
706 
707     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
708 
709     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
710 }
711 
DoMoveWindow(int x,int y,int width,int height)712 void sip_ScrolledWindowBase::DoMoveWindow(int x,int y,int width,int height)
713 {
714     sip_gilstate_t sipGILState;
715     PyObject *sipMeth;
716 
717     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
718 
719     if (!sipMeth)
720     {
721          ::_ScrolledWindowBase::DoMoveWindow(x,y,width,height);
722         return;
723     }
724 
725     extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
726 
727     sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
728 }
729 
DoSetWindowVariant(::wxWindowVariant variant)730 void sip_ScrolledWindowBase::DoSetWindowVariant( ::wxWindowVariant variant)
731 {
732     sip_gilstate_t sipGILState;
733     PyObject *sipMeth;
734 
735     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
736 
737     if (!sipMeth)
738     {
739          ::_ScrolledWindowBase::DoSetWindowVariant(variant);
740         return;
741     }
742 
743     extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
744 
745     sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
746 }
747 
GetDefaultBorder() const748  ::wxBorder sip_ScrolledWindowBase::GetDefaultBorder() const
749 {
750     sip_gilstate_t sipGILState;
751     PyObject *sipMeth;
752 
753     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
754 
755     if (!sipMeth)
756         return  ::_ScrolledWindowBase::GetDefaultBorder();
757 
758     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
759 
760     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
761 }
762 
GetDefaultBorderForControl() const763  ::wxBorder sip_ScrolledWindowBase::GetDefaultBorderForControl() const
764 {
765     sip_gilstate_t sipGILState;
766     PyObject *sipMeth;
767 
768     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
769 
770     if (!sipMeth)
771         return  ::_ScrolledWindowBase::GetDefaultBorderForControl();
772 
773     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
774 
775     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
776 }
777 
DoFreeze()778 void sip_ScrolledWindowBase::DoFreeze()
779 {
780     sip_gilstate_t sipGILState;
781     PyObject *sipMeth;
782 
783     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
784 
785     if (!sipMeth)
786     {
787          ::_ScrolledWindowBase::DoFreeze();
788         return;
789     }
790 
791     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
792 
793     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
794 }
795 
DoThaw()796 void sip_ScrolledWindowBase::DoThaw()
797 {
798     sip_gilstate_t sipGILState;
799     PyObject *sipMeth;
800 
801     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
802 
803     if (!sipMeth)
804     {
805          ::_ScrolledWindowBase::DoThaw();
806         return;
807     }
808 
809     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
810 
811     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
812 }
813 
DoGetBestSize() const814  ::wxSize sip_ScrolledWindowBase::DoGetBestSize() const
815 {
816     sip_gilstate_t sipGILState;
817     PyObject *sipMeth;
818 
819     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
820 
821     if (!sipMeth)
822         return  ::_ScrolledWindowBase::DoGetBestSize();
823 
824     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
825 
826     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
827 }
828 
DoGetBestClientSize() const829  ::wxSize sip_ScrolledWindowBase::DoGetBestClientSize() const
830 {
831     sip_gilstate_t sipGILState;
832     PyObject *sipMeth;
833 
834     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
835 
836     if (!sipMeth)
837         return  ::_ScrolledWindowBase::DoGetBestClientSize();
838 
839     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
840 
841     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
842 }
843 
sipProtect_SendDestroyEvent()844 void sip_ScrolledWindowBase::sipProtect_SendDestroyEvent()
845 {
846      ::wxWindow::SendDestroyEvent();
847 }
848 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)849 bool sip_ScrolledWindowBase::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
850 {
851     return (sipSelfWasArg ? wxScrolled<wxPanel>::ProcessEvent(event) : ProcessEvent(event));
852 }
853 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)854 void sip_ScrolledWindowBase::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
855 {
856     (sipSelfWasArg ? wxScrolled<wxPanel>::DoEnable(enable) : DoEnable(enable));
857 }
858 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const859 void sip_ScrolledWindowBase::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
860 {
861     (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetPosition(x,y) : DoGetPosition(x,y));
862 }
863 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const864 void sip_ScrolledWindowBase::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
865 {
866     (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetSize(width,height) : DoGetSize(width,height));
867 }
868 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const869 void sip_ScrolledWindowBase::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
870 {
871     (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetClientSize(width,height) : DoGetClientSize(width,height));
872 }
873 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const874  ::wxSize sip_ScrolledWindowBase::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
875 {
876     return (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetBestSize() : DoGetBestSize());
877 }
878 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const879  ::wxSize sip_ScrolledWindowBase::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
880 {
881     return (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetBestClientSize() : DoGetBestClientSize());
882 }
883 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)884 void sip_ScrolledWindowBase::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
885 {
886     (sipSelfWasArg ? wxScrolled<wxPanel>::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
887 }
888 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)889 void sip_ScrolledWindowBase::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
890 {
891     (sipSelfWasArg ? wxScrolled<wxPanel>::DoSetClientSize(width,height) : DoSetClientSize(width,height));
892 }
893 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)894 void sip_ScrolledWindowBase::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
895 {
896     (sipSelfWasArg ? wxScrolled<wxPanel>::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
897 }
898 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const899  ::wxSize sip_ScrolledWindowBase::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
900 {
901     return (sipSelfWasArg ? wxScrolled<wxPanel>::DoGetBorderSize() : DoGetBorderSize());
902 }
903 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)904 void sip_ScrolledWindowBase::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
905 {
906     (sipSelfWasArg ? wxScrolled<wxPanel>::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
907 }
908 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)909 void sip_ScrolledWindowBase::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
910 {
911     (sipSelfWasArg ? wxScrolled<wxPanel>::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
912 }
913 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const914  ::wxBorder sip_ScrolledWindowBase::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
915 {
916     return (sipSelfWasArg ? wxScrolled<wxPanel>::GetDefaultBorder() : GetDefaultBorder());
917 }
918 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const919  ::wxBorder sip_ScrolledWindowBase::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
920 {
921     return (sipSelfWasArg ? wxScrolled<wxPanel>::GetDefaultBorderForControl() : GetDefaultBorderForControl());
922 }
923 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)924 void sip_ScrolledWindowBase::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
925 {
926     (sipSelfWasArg ? wxScrolled<wxPanel>::DoFreeze() : DoFreeze());
927 }
928 
sipProtectVirt_DoThaw(bool sipSelfWasArg)929 void sip_ScrolledWindowBase::sipProtectVirt_DoThaw(bool sipSelfWasArg)
930 {
931     (sipSelfWasArg ? wxScrolled<wxPanel>::DoThaw() : DoThaw());
932 }
933 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)934 bool sip_ScrolledWindowBase::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
935 {
936     return (sipSelfWasArg ? wxScrolled<wxPanel>::HasTransparentBackground() : HasTransparentBackground());
937 }
938 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)939 bool sip_ScrolledWindowBase::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
940 {
941     return (sipSelfWasArg ? wxScrolled<wxPanel>::TryBefore(event) : TryBefore(event));
942 }
943 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)944 bool sip_ScrolledWindowBase::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
945 {
946     return (sipSelfWasArg ? wxScrolled<wxPanel>::TryAfter(event) : TryAfter(event));
947 }
948 
sipProtectVirt_GetSizeAvailableForScrollTarget(bool sipSelfWasArg,const::wxSize & size)949  ::wxSize sip_ScrolledWindowBase::sipProtectVirt_GetSizeAvailableForScrollTarget(bool sipSelfWasArg,const  ::wxSize& size)
950 {
951     return (sipSelfWasArg ? wxScrolled<wxPanel>::GetSizeAvailableForScrollTarget(size) : GetSizeAvailableForScrollTarget(size));
952 }
953 
954 
955 PyDoc_STRVAR(doc__ScrolledWindowBase_SendDestroyEvent, "SendDestroyEvent()\n"
956 "\n"
957 "Generate wxWindowDestroyEvent for this window.");
958 
959 extern "C" {static PyObject *meth__ScrolledWindowBase_SendDestroyEvent(PyObject *, PyObject *);}
meth__ScrolledWindowBase_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)960 static PyObject *meth__ScrolledWindowBase_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
961 {
962     PyObject *sipParseErr = SIP_NULLPTR;
963 
964     {
965         sip_ScrolledWindowBase *sipCpp;
966 
967         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
968         {
969             PyErr_Clear();
970 
971             Py_BEGIN_ALLOW_THREADS
972             sipCpp->sipProtect_SendDestroyEvent();
973             Py_END_ALLOW_THREADS
974 
975             if (PyErr_Occurred())
976                 return 0;
977 
978             Py_INCREF(Py_None);
979             return Py_None;
980         }
981     }
982 
983     /* Raise an exception if the arguments couldn't be parsed. */
984     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SendDestroyEvent, SIP_NULLPTR);
985 
986     return SIP_NULLPTR;
987 }
988 
989 
990 PyDoc_STRVAR(doc__ScrolledWindowBase_CalcScrolledPosition, "CalcScrolledPosition(x, y) -> (xx, yy)\n"
991 "CalcScrolledPosition(pt) -> Point\n"
992 "\n"
993 "Translates the logical coordinates to the device ones.\n"
994 "");
995 
996 extern "C" {static PyObject *meth__ScrolledWindowBase_CalcScrolledPosition(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_CalcScrolledPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)997 static PyObject *meth__ScrolledWindowBase_CalcScrolledPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
998 {
999     PyObject *sipParseErr = SIP_NULLPTR;
1000 
1001     {
1002         int x;
1003         int y;
1004         int xx;
1005         int yy;
1006         const wxScrolled<wxPanel> *sipCpp;
1007 
1008         static const char *sipKwdList[] = {
1009             sipName_x,
1010             sipName_y,
1011         };
1012 
1013         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &x, &y))
1014         {
1015             PyErr_Clear();
1016 
1017             Py_BEGIN_ALLOW_THREADS
1018             sipCpp->CalcScrolledPosition(x,y,&xx,&yy);
1019             Py_END_ALLOW_THREADS
1020 
1021             if (PyErr_Occurred())
1022                 return 0;
1023 
1024             return sipBuildResult(0,"(ii)",xx,yy);
1025         }
1026     }
1027 
1028     {
1029         const  ::wxPoint* pt;
1030         int ptState = 0;
1031         const wxScrolled<wxPanel> *sipCpp;
1032 
1033         static const char *sipKwdList[] = {
1034             sipName_pt,
1035         };
1036 
1037         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxPoint, &pt, &ptState))
1038         {
1039              ::wxPoint*sipRes;
1040 
1041             PyErr_Clear();
1042 
1043             Py_BEGIN_ALLOW_THREADS
1044             sipRes = new  ::wxPoint(sipCpp->CalcScrolledPosition(*pt));
1045             Py_END_ALLOW_THREADS
1046             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
1047 
1048             if (PyErr_Occurred())
1049                 return 0;
1050 
1051             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1052         }
1053     }
1054 
1055     /* Raise an exception if the arguments couldn't be parsed. */
1056     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_CalcScrolledPosition, SIP_NULLPTR);
1057 
1058     return SIP_NULLPTR;
1059 }
1060 
1061 
1062 PyDoc_STRVAR(doc__ScrolledWindowBase_CalcUnscrolledPosition, "CalcUnscrolledPosition(x, y) -> (xx, yy)\n"
1063 "CalcUnscrolledPosition(pt) -> Point\n"
1064 "\n"
1065 "Translates the device coordinates to the logical ones.\n"
1066 "");
1067 
1068 extern "C" {static PyObject *meth__ScrolledWindowBase_CalcUnscrolledPosition(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_CalcUnscrolledPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1069 static PyObject *meth__ScrolledWindowBase_CalcUnscrolledPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1070 {
1071     PyObject *sipParseErr = SIP_NULLPTR;
1072 
1073     {
1074         int x;
1075         int y;
1076         int xx;
1077         int yy;
1078         const wxScrolled<wxPanel> *sipCpp;
1079 
1080         static const char *sipKwdList[] = {
1081             sipName_x,
1082             sipName_y,
1083         };
1084 
1085         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &x, &y))
1086         {
1087             PyErr_Clear();
1088 
1089             Py_BEGIN_ALLOW_THREADS
1090             sipCpp->CalcUnscrolledPosition(x,y,&xx,&yy);
1091             Py_END_ALLOW_THREADS
1092 
1093             if (PyErr_Occurred())
1094                 return 0;
1095 
1096             return sipBuildResult(0,"(ii)",xx,yy);
1097         }
1098     }
1099 
1100     {
1101         const  ::wxPoint* pt;
1102         int ptState = 0;
1103         const wxScrolled<wxPanel> *sipCpp;
1104 
1105         static const char *sipKwdList[] = {
1106             sipName_pt,
1107         };
1108 
1109         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxPoint, &pt, &ptState))
1110         {
1111              ::wxPoint*sipRes;
1112 
1113             PyErr_Clear();
1114 
1115             Py_BEGIN_ALLOW_THREADS
1116             sipRes = new  ::wxPoint(sipCpp->CalcUnscrolledPosition(*pt));
1117             Py_END_ALLOW_THREADS
1118             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
1119 
1120             if (PyErr_Occurred())
1121                 return 0;
1122 
1123             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1124         }
1125     }
1126 
1127     /* Raise an exception if the arguments couldn't be parsed. */
1128     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_CalcUnscrolledPosition, SIP_NULLPTR);
1129 
1130     return SIP_NULLPTR;
1131 }
1132 
1133 
1134 PyDoc_STRVAR(doc__ScrolledWindowBase_Create, "Create(parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=HSCROLL|VSCROLL, name=\"scrolledWindow\") -> bool\n"
1135 "\n"
1136 "Creates the window for two-step construction.");
1137 
1138 extern "C" {static PyObject *meth__ScrolledWindowBase_Create(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1139 static PyObject *meth__ScrolledWindowBase_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1140 {
1141     PyObject *sipParseErr = SIP_NULLPTR;
1142 
1143     {
1144          ::wxWindow* parent;
1145          ::wxWindowID id = -1;
1146         const  ::wxPoint& posdef = wxDefaultPosition;
1147         const  ::wxPoint* pos = &posdef;
1148         int posState = 0;
1149         const  ::wxSize& sizedef = wxDefaultSize;
1150         const  ::wxSize* size = &sizedef;
1151         int sizeState = 0;
1152         long style = wxHSCROLL|wxVSCROLL;
1153         const  ::wxString& namedef = "scrolledWindow";
1154         const  ::wxString* name = &namedef;
1155         int nameState = 0;
1156         sipWrapper *sipOwner = SIP_NULLPTR;
1157         wxScrolled<wxPanel> *sipCpp;
1158 
1159         static const char *sipKwdList[] = {
1160             sipName_parent,
1161             sipName_id,
1162             sipName_pos,
1163             sipName_size,
1164             sipName_style,
1165             sipName_name,
1166         };
1167 
1168         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1lJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
1169         {
1170             bool sipRes;
1171 
1172             PyErr_Clear();
1173 
1174             Py_BEGIN_ALLOW_THREADS
1175             sipRes = sipCpp->Create(parent,id,*pos,*size,style,*name);
1176             Py_END_ALLOW_THREADS
1177 
1178             if (sipOwner)
1179                 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1180             else
1181                 sipTransferBack(sipSelf);
1182             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1183             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1184             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
1185 
1186             if (PyErr_Occurred())
1187                 return 0;
1188 
1189             return PyBool_FromLong(sipRes);
1190         }
1191     }
1192 
1193     /* Raise an exception if the arguments couldn't be parsed. */
1194     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_Create, SIP_NULLPTR);
1195 
1196     return SIP_NULLPTR;
1197 }
1198 
1199 
1200 PyDoc_STRVAR(doc__ScrolledWindowBase_DisableKeyboardScrolling, "DisableKeyboardScrolling()\n"
1201 "\n"
1202 "Disable use of keyboard keys for scrolling.");
1203 
1204 extern "C" {static PyObject *meth__ScrolledWindowBase_DisableKeyboardScrolling(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DisableKeyboardScrolling(PyObject * sipSelf,PyObject * sipArgs)1205 static PyObject *meth__ScrolledWindowBase_DisableKeyboardScrolling(PyObject *sipSelf, PyObject *sipArgs)
1206 {
1207     PyObject *sipParseErr = SIP_NULLPTR;
1208 
1209     {
1210         wxScrolled<wxPanel> *sipCpp;
1211 
1212         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1213         {
1214             PyErr_Clear();
1215 
1216             Py_BEGIN_ALLOW_THREADS
1217             sipCpp->DisableKeyboardScrolling();
1218             Py_END_ALLOW_THREADS
1219 
1220             if (PyErr_Occurred())
1221                 return 0;
1222 
1223             Py_INCREF(Py_None);
1224             return Py_None;
1225         }
1226     }
1227 
1228     /* Raise an exception if the arguments couldn't be parsed. */
1229     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DisableKeyboardScrolling, SIP_NULLPTR);
1230 
1231     return SIP_NULLPTR;
1232 }
1233 
1234 
1235 PyDoc_STRVAR(doc__ScrolledWindowBase_DoPrepareDC, "DoPrepareDC(dc)\n"
1236 "\n"
1237 "Call this function to prepare the device context for drawing a\n"
1238 "scrolled image.");
1239 
1240 extern "C" {static PyObject *meth__ScrolledWindowBase_DoPrepareDC(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoPrepareDC(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1241 static PyObject *meth__ScrolledWindowBase_DoPrepareDC(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1242 {
1243     PyObject *sipParseErr = SIP_NULLPTR;
1244 
1245     {
1246          ::wxDC* dc;
1247         wxScrolled<wxPanel> *sipCpp;
1248 
1249         static const char *sipKwdList[] = {
1250             sipName_dc,
1251         };
1252 
1253         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxDC, &dc))
1254         {
1255             PyErr_Clear();
1256 
1257             Py_BEGIN_ALLOW_THREADS
1258             sipCpp->DoPrepareDC(*dc);
1259             Py_END_ALLOW_THREADS
1260 
1261             if (PyErr_Occurred())
1262                 return 0;
1263 
1264             Py_INCREF(Py_None);
1265             return Py_None;
1266         }
1267     }
1268 
1269     /* Raise an exception if the arguments couldn't be parsed. */
1270     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoPrepareDC, SIP_NULLPTR);
1271 
1272     return SIP_NULLPTR;
1273 }
1274 
1275 
1276 PyDoc_STRVAR(doc__ScrolledWindowBase_EnableScrolling, "EnableScrolling(xScrolling, yScrolling)\n"
1277 "\n"
1278 "Enable or disable use of wxWindow::ScrollWindow() for scrolling.");
1279 
1280 extern "C" {static PyObject *meth__ScrolledWindowBase_EnableScrolling(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_EnableScrolling(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1281 static PyObject *meth__ScrolledWindowBase_EnableScrolling(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1282 {
1283     PyObject *sipParseErr = SIP_NULLPTR;
1284 
1285     {
1286         bool xScrolling;
1287         bool yScrolling;
1288         wxScrolled<wxPanel> *sipCpp;
1289 
1290         static const char *sipKwdList[] = {
1291             sipName_xScrolling,
1292             sipName_yScrolling,
1293         };
1294 
1295         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bbb", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &xScrolling, &yScrolling))
1296         {
1297             PyErr_Clear();
1298 
1299             Py_BEGIN_ALLOW_THREADS
1300             sipCpp->EnableScrolling(xScrolling,yScrolling);
1301             Py_END_ALLOW_THREADS
1302 
1303             if (PyErr_Occurred())
1304                 return 0;
1305 
1306             Py_INCREF(Py_None);
1307             return Py_None;
1308         }
1309     }
1310 
1311     /* Raise an exception if the arguments couldn't be parsed. */
1312     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_EnableScrolling, SIP_NULLPTR);
1313 
1314     return SIP_NULLPTR;
1315 }
1316 
1317 
1318 PyDoc_STRVAR(doc__ScrolledWindowBase_ShowScrollbars, "ShowScrollbars(horz, vert)\n"
1319 "\n"
1320 "Set the scrollbar visibility.");
1321 
1322 extern "C" {static PyObject *meth__ScrolledWindowBase_ShowScrollbars(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_ShowScrollbars(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1323 static PyObject *meth__ScrolledWindowBase_ShowScrollbars(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1324 {
1325     PyObject *sipParseErr = SIP_NULLPTR;
1326 
1327     {
1328          ::wxScrollbarVisibility horz;
1329          ::wxScrollbarVisibility vert;
1330         wxScrolled<wxPanel> *sipCpp;
1331 
1332         static const char *sipKwdList[] = {
1333             sipName_horz,
1334             sipName_vert,
1335         };
1336 
1337         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BEE", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxScrollbarVisibility, &horz, sipType_wxScrollbarVisibility, &vert))
1338         {
1339             PyErr_Clear();
1340 
1341             Py_BEGIN_ALLOW_THREADS
1342             sipCpp->ShowScrollbars(horz,vert);
1343             Py_END_ALLOW_THREADS
1344 
1345             if (PyErr_Occurred())
1346                 return 0;
1347 
1348             Py_INCREF(Py_None);
1349             return Py_None;
1350         }
1351     }
1352 
1353     /* Raise an exception if the arguments couldn't be parsed. */
1354     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_ShowScrollbars, SIP_NULLPTR);
1355 
1356     return SIP_NULLPTR;
1357 }
1358 
1359 
1360 PyDoc_STRVAR(doc__ScrolledWindowBase_GetScrollPixelsPerUnit, "GetScrollPixelsPerUnit() -> (xUnit, yUnit)\n"
1361 "\n"
1362 "Get the number of pixels per scroll unit (line), in each direction, as\n"
1363 "set by SetScrollbars().");
1364 
1365 extern "C" {static PyObject *meth__ScrolledWindowBase_GetScrollPixelsPerUnit(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetScrollPixelsPerUnit(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1366 static PyObject *meth__ScrolledWindowBase_GetScrollPixelsPerUnit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1367 {
1368     PyObject *sipParseErr = SIP_NULLPTR;
1369 
1370     {
1371         int xUnit;
1372         int yUnit;
1373         const wxScrolled<wxPanel> *sipCpp;
1374 
1375         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1376         {
1377             PyErr_Clear();
1378 
1379             Py_BEGIN_ALLOW_THREADS
1380             sipCpp->GetScrollPixelsPerUnit(&xUnit,&yUnit);
1381             Py_END_ALLOW_THREADS
1382 
1383             if (PyErr_Occurred())
1384                 return 0;
1385 
1386             return sipBuildResult(0,"(ii)",xUnit,yUnit);
1387         }
1388     }
1389 
1390     /* Raise an exception if the arguments couldn't be parsed. */
1391     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetScrollPixelsPerUnit, SIP_NULLPTR);
1392 
1393     return SIP_NULLPTR;
1394 }
1395 
1396 
1397 PyDoc_STRVAR(doc__ScrolledWindowBase_GetViewStart, "GetViewStart() -> (x, y)\n"
1398 "\n"
1399 "Get the position at which the visible portion of the window starts.");
1400 
1401 extern "C" {static PyObject *meth__ScrolledWindowBase_GetViewStart(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetViewStart(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1402 static PyObject *meth__ScrolledWindowBase_GetViewStart(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1403 {
1404     PyObject *sipParseErr = SIP_NULLPTR;
1405 
1406     {
1407         int x;
1408         int y;
1409         const wxScrolled<wxPanel> *sipCpp;
1410 
1411         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1412         {
1413             PyErr_Clear();
1414 
1415             Py_BEGIN_ALLOW_THREADS
1416             sipCpp->GetViewStart(&x,&y);
1417             Py_END_ALLOW_THREADS
1418 
1419             if (PyErr_Occurred())
1420                 return 0;
1421 
1422             return sipBuildResult(0,"(ii)",x,y);
1423         }
1424     }
1425 
1426     /* Raise an exception if the arguments couldn't be parsed. */
1427     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetViewStart, SIP_NULLPTR);
1428 
1429     return SIP_NULLPTR;
1430 }
1431 
1432 
1433 PyDoc_STRVAR(doc__ScrolledWindowBase_IsRetained, "IsRetained() -> bool\n"
1434 "\n"
1435 "Motif only: true if the window has a backing bitmap.");
1436 
1437 extern "C" {static PyObject *meth__ScrolledWindowBase_IsRetained(PyObject *, PyObject *);}
meth__ScrolledWindowBase_IsRetained(PyObject * sipSelf,PyObject * sipArgs)1438 static PyObject *meth__ScrolledWindowBase_IsRetained(PyObject *sipSelf, PyObject *sipArgs)
1439 {
1440     PyObject *sipParseErr = SIP_NULLPTR;
1441 
1442     {
1443         const wxScrolled<wxPanel> *sipCpp;
1444 
1445         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1446         {
1447             bool sipRes;
1448 
1449             PyErr_Clear();
1450 
1451             Py_BEGIN_ALLOW_THREADS
1452             sipRes = sipCpp->IsRetained();
1453             Py_END_ALLOW_THREADS
1454 
1455             if (PyErr_Occurred())
1456                 return 0;
1457 
1458             return PyBool_FromLong(sipRes);
1459         }
1460     }
1461 
1462     /* Raise an exception if the arguments couldn't be parsed. */
1463     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_IsRetained, SIP_NULLPTR);
1464 
1465     return SIP_NULLPTR;
1466 }
1467 
1468 
1469 PyDoc_STRVAR(doc__ScrolledWindowBase_OnDraw, "OnDraw(dc)\n"
1470 "\n"
1471 "Called by the default paint event handler to allow the application to\n"
1472 "define painting behaviour without having to worry about calling\n"
1473 "DoPrepareDC().");
1474 
1475 extern "C" {static PyObject *meth__ScrolledWindowBase_OnDraw(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_OnDraw(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1476 static PyObject *meth__ScrolledWindowBase_OnDraw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1477 {
1478     PyObject *sipParseErr = SIP_NULLPTR;
1479     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1480 
1481     {
1482          ::wxDC* dc;
1483         wxScrolled<wxPanel> *sipCpp;
1484 
1485         static const char *sipKwdList[] = {
1486             sipName_dc,
1487         };
1488 
1489         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxDC, &dc))
1490         {
1491             PyErr_Clear();
1492 
1493             Py_BEGIN_ALLOW_THREADS
1494             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::OnDraw(*dc) : sipCpp->OnDraw(*dc));
1495             Py_END_ALLOW_THREADS
1496 
1497             if (PyErr_Occurred())
1498                 return 0;
1499 
1500             Py_INCREF(Py_None);
1501             return Py_None;
1502         }
1503     }
1504 
1505     /* Raise an exception if the arguments couldn't be parsed. */
1506     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_OnDraw, SIP_NULLPTR);
1507 
1508     return SIP_NULLPTR;
1509 }
1510 
1511 
1512 PyDoc_STRVAR(doc__ScrolledWindowBase_PrepareDC, "PrepareDC(dc)\n"
1513 "\n"
1514 "This function is for backwards compatibility only and simply calls\n"
1515 "DoPrepareDC() now.");
1516 
1517 extern "C" {static PyObject *meth__ScrolledWindowBase_PrepareDC(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_PrepareDC(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1518 static PyObject *meth__ScrolledWindowBase_PrepareDC(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1519 {
1520     PyObject *sipParseErr = SIP_NULLPTR;
1521 
1522     {
1523          ::wxDC* dc;
1524         wxScrolled<wxPanel> *sipCpp;
1525 
1526         static const char *sipKwdList[] = {
1527             sipName_dc,
1528         };
1529 
1530         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxDC, &dc))
1531         {
1532             PyErr_Clear();
1533 
1534             Py_BEGIN_ALLOW_THREADS
1535             sipCpp->PrepareDC(*dc);
1536             Py_END_ALLOW_THREADS
1537 
1538             if (PyErr_Occurred())
1539                 return 0;
1540 
1541             Py_INCREF(Py_None);
1542             return Py_None;
1543         }
1544     }
1545 
1546     /* Raise an exception if the arguments couldn't be parsed. */
1547     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_PrepareDC, SIP_NULLPTR);
1548 
1549     return SIP_NULLPTR;
1550 }
1551 
1552 
1553 PyDoc_STRVAR(doc__ScrolledWindowBase_Scroll, "Scroll(x, y)\n"
1554 "Scroll(pt)\n"
1555 "\n"
1556 "Scrolls a window so the view start is at the given point.\n"
1557 "");
1558 
1559 extern "C" {static PyObject *meth__ScrolledWindowBase_Scroll(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_Scroll(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1560 static PyObject *meth__ScrolledWindowBase_Scroll(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1561 {
1562     PyObject *sipParseErr = SIP_NULLPTR;
1563 
1564     {
1565         int x;
1566         int y;
1567         wxScrolled<wxPanel> *sipCpp;
1568 
1569         static const char *sipKwdList[] = {
1570             sipName_x,
1571             sipName_y,
1572         };
1573 
1574         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &x, &y))
1575         {
1576             PyErr_Clear();
1577 
1578             Py_BEGIN_ALLOW_THREADS
1579             sipCpp->Scroll(x,y);
1580             Py_END_ALLOW_THREADS
1581 
1582             if (PyErr_Occurred())
1583                 return 0;
1584 
1585             Py_INCREF(Py_None);
1586             return Py_None;
1587         }
1588     }
1589 
1590     {
1591         const  ::wxPoint* pt;
1592         int ptState = 0;
1593         wxScrolled<wxPanel> *sipCpp;
1594 
1595         static const char *sipKwdList[] = {
1596             sipName_pt,
1597         };
1598 
1599         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxPoint, &pt, &ptState))
1600         {
1601             PyErr_Clear();
1602 
1603             Py_BEGIN_ALLOW_THREADS
1604             sipCpp->Scroll(*pt);
1605             Py_END_ALLOW_THREADS
1606             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
1607 
1608             if (PyErr_Occurred())
1609                 return 0;
1610 
1611             Py_INCREF(Py_None);
1612             return Py_None;
1613         }
1614     }
1615 
1616     /* Raise an exception if the arguments couldn't be parsed. */
1617     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_Scroll, SIP_NULLPTR);
1618 
1619     return SIP_NULLPTR;
1620 }
1621 
1622 
1623 PyDoc_STRVAR(doc__ScrolledWindowBase_SetScrollRate, "SetScrollRate(xstep, ystep)\n"
1624 "\n"
1625 "Set the horizontal and vertical scrolling increment only.");
1626 
1627 extern "C" {static PyObject *meth__ScrolledWindowBase_SetScrollRate(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetScrollRate(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1628 static PyObject *meth__ScrolledWindowBase_SetScrollRate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1629 {
1630     PyObject *sipParseErr = SIP_NULLPTR;
1631 
1632     {
1633         int xstep;
1634         int ystep;
1635         wxScrolled<wxPanel> *sipCpp;
1636 
1637         static const char *sipKwdList[] = {
1638             sipName_xstep,
1639             sipName_ystep,
1640         };
1641 
1642         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &xstep, &ystep))
1643         {
1644             PyErr_Clear();
1645 
1646             Py_BEGIN_ALLOW_THREADS
1647             sipCpp->SetScrollRate(xstep,ystep);
1648             Py_END_ALLOW_THREADS
1649 
1650             if (PyErr_Occurred())
1651                 return 0;
1652 
1653             Py_INCREF(Py_None);
1654             return Py_None;
1655         }
1656     }
1657 
1658     /* Raise an exception if the arguments couldn't be parsed. */
1659     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetScrollRate, SIP_NULLPTR);
1660 
1661     return SIP_NULLPTR;
1662 }
1663 
1664 
1665 PyDoc_STRVAR(doc__ScrolledWindowBase_SetScrollbars, "SetScrollbars(pixelsPerUnitX, pixelsPerUnitY, noUnitsX, noUnitsY, xPos=0, yPos=0, noRefresh=False)\n"
1666 "\n"
1667 "Sets up vertical and/or horizontal scrollbars.");
1668 
1669 extern "C" {static PyObject *meth__ScrolledWindowBase_SetScrollbars(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetScrollbars(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1670 static PyObject *meth__ScrolledWindowBase_SetScrollbars(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1671 {
1672     PyObject *sipParseErr = SIP_NULLPTR;
1673 
1674     {
1675         int pixelsPerUnitX;
1676         int pixelsPerUnitY;
1677         int noUnitsX;
1678         int noUnitsY;
1679         int xPos = 0;
1680         int yPos = 0;
1681         bool noRefresh = 0;
1682         wxScrolled<wxPanel> *sipCpp;
1683 
1684         static const char *sipKwdList[] = {
1685             sipName_pixelsPerUnitX,
1686             sipName_pixelsPerUnitY,
1687             sipName_noUnitsX,
1688             sipName_noUnitsY,
1689             sipName_xPos,
1690             sipName_yPos,
1691             sipName_noRefresh,
1692         };
1693 
1694         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii|iib", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &pixelsPerUnitX, &pixelsPerUnitY, &noUnitsX, &noUnitsY, &xPos, &yPos, &noRefresh))
1695         {
1696             PyErr_Clear();
1697 
1698             Py_BEGIN_ALLOW_THREADS
1699             sipCpp->SetScrollbars(pixelsPerUnitX,pixelsPerUnitY,noUnitsX,noUnitsY,xPos,yPos,noRefresh);
1700             Py_END_ALLOW_THREADS
1701 
1702             if (PyErr_Occurred())
1703                 return 0;
1704 
1705             Py_INCREF(Py_None);
1706             return Py_None;
1707         }
1708     }
1709 
1710     /* Raise an exception if the arguments couldn't be parsed. */
1711     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetScrollbars, SIP_NULLPTR);
1712 
1713     return SIP_NULLPTR;
1714 }
1715 
1716 
1717 PyDoc_STRVAR(doc__ScrolledWindowBase_SetTargetWindow, "SetTargetWindow(window)\n"
1718 "\n"
1719 "Call this function to tell wxScrolled to perform the actual scrolling\n"
1720 "on a different window (and not on itself).");
1721 
1722 extern "C" {static PyObject *meth__ScrolledWindowBase_SetTargetWindow(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetTargetWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1723 static PyObject *meth__ScrolledWindowBase_SetTargetWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1724 {
1725     PyObject *sipParseErr = SIP_NULLPTR;
1726 
1727     {
1728          ::wxWindow* window;
1729         wxScrolled<wxPanel> *sipCpp;
1730 
1731         static const char *sipKwdList[] = {
1732             sipName_window,
1733         };
1734 
1735         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxWindow, &window))
1736         {
1737             PyErr_Clear();
1738 
1739             Py_BEGIN_ALLOW_THREADS
1740             sipCpp->SetTargetWindow(window);
1741             Py_END_ALLOW_THREADS
1742 
1743             if (PyErr_Occurred())
1744                 return 0;
1745 
1746             Py_INCREF(Py_None);
1747             return Py_None;
1748         }
1749     }
1750 
1751     /* Raise an exception if the arguments couldn't be parsed. */
1752     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetTargetWindow, SIP_NULLPTR);
1753 
1754     return SIP_NULLPTR;
1755 }
1756 
1757 
1758 PyDoc_STRVAR(doc__ScrolledWindowBase_GetTargetWindow, "GetTargetWindow() -> Window");
1759 
1760 extern "C" {static PyObject *meth__ScrolledWindowBase_GetTargetWindow(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetTargetWindow(PyObject * sipSelf,PyObject * sipArgs)1761 static PyObject *meth__ScrolledWindowBase_GetTargetWindow(PyObject *sipSelf, PyObject *sipArgs)
1762 {
1763     PyObject *sipParseErr = SIP_NULLPTR;
1764 
1765     {
1766         const wxScrolled<wxPanel> *sipCpp;
1767 
1768         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1769         {
1770              ::wxWindow*sipRes;
1771 
1772             PyErr_Clear();
1773 
1774             Py_BEGIN_ALLOW_THREADS
1775             sipRes = sipCpp->GetTargetWindow();
1776             Py_END_ALLOW_THREADS
1777 
1778             if (PyErr_Occurred())
1779                 return 0;
1780 
1781             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1782         }
1783     }
1784 
1785     /* Raise an exception if the arguments couldn't be parsed. */
1786     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetTargetWindow, SIP_NULLPTR);
1787 
1788     return SIP_NULLPTR;
1789 }
1790 
1791 
1792 PyDoc_STRVAR(doc__ScrolledWindowBase_SetTargetRect, "SetTargetRect(rect)");
1793 
1794 extern "C" {static PyObject *meth__ScrolledWindowBase_SetTargetRect(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetTargetRect(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1795 static PyObject *meth__ScrolledWindowBase_SetTargetRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1796 {
1797     PyObject *sipParseErr = SIP_NULLPTR;
1798 
1799     {
1800         const  ::wxRect* rect;
1801         int rectState = 0;
1802         wxScrolled<wxPanel> *sipCpp;
1803 
1804         static const char *sipKwdList[] = {
1805             sipName_rect,
1806         };
1807 
1808         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxRect, &rect, &rectState))
1809         {
1810             PyErr_Clear();
1811 
1812             Py_BEGIN_ALLOW_THREADS
1813             sipCpp->SetTargetRect(*rect);
1814             Py_END_ALLOW_THREADS
1815             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1816 
1817             if (PyErr_Occurred())
1818                 return 0;
1819 
1820             Py_INCREF(Py_None);
1821             return Py_None;
1822         }
1823     }
1824 
1825     /* Raise an exception if the arguments couldn't be parsed. */
1826     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetTargetRect, SIP_NULLPTR);
1827 
1828     return SIP_NULLPTR;
1829 }
1830 
1831 
1832 PyDoc_STRVAR(doc__ScrolledWindowBase_GetTargetRect, "GetTargetRect() -> Rect");
1833 
1834 extern "C" {static PyObject *meth__ScrolledWindowBase_GetTargetRect(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetTargetRect(PyObject * sipSelf,PyObject * sipArgs)1835 static PyObject *meth__ScrolledWindowBase_GetTargetRect(PyObject *sipSelf, PyObject *sipArgs)
1836 {
1837     PyObject *sipParseErr = SIP_NULLPTR;
1838 
1839     {
1840         const wxScrolled<wxPanel> *sipCpp;
1841 
1842         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
1843         {
1844              ::wxRect*sipRes;
1845 
1846             PyErr_Clear();
1847 
1848             Py_BEGIN_ALLOW_THREADS
1849             sipRes = new  ::wxRect(sipCpp->GetTargetRect());
1850             Py_END_ALLOW_THREADS
1851 
1852             if (PyErr_Occurred())
1853                 return 0;
1854 
1855             return sipConvertFromNewType(sipRes,sipType_wxRect,SIP_NULLPTR);
1856         }
1857     }
1858 
1859     /* Raise an exception if the arguments couldn't be parsed. */
1860     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetTargetRect, SIP_NULLPTR);
1861 
1862     return SIP_NULLPTR;
1863 }
1864 
1865 
1866 PyDoc_STRVAR(doc__ScrolledWindowBase_GetScrollPageSize, "GetScrollPageSize(orient) -> int");
1867 
1868 extern "C" {static PyObject *meth__ScrolledWindowBase_GetScrollPageSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetScrollPageSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1869 static PyObject *meth__ScrolledWindowBase_GetScrollPageSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1870 {
1871     PyObject *sipParseErr = SIP_NULLPTR;
1872 
1873     {
1874         int orient;
1875         const wxScrolled<wxPanel> *sipCpp;
1876 
1877         static const char *sipKwdList[] = {
1878             sipName_orient,
1879         };
1880 
1881         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &orient))
1882         {
1883             int sipRes;
1884 
1885             PyErr_Clear();
1886 
1887             Py_BEGIN_ALLOW_THREADS
1888             sipRes = sipCpp->GetScrollPageSize(orient);
1889             Py_END_ALLOW_THREADS
1890 
1891             if (PyErr_Occurred())
1892                 return 0;
1893 
1894             return SIPLong_FromLong(sipRes);
1895         }
1896     }
1897 
1898     /* Raise an exception if the arguments couldn't be parsed. */
1899     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetScrollPageSize, SIP_NULLPTR);
1900 
1901     return SIP_NULLPTR;
1902 }
1903 
1904 
1905 PyDoc_STRVAR(doc__ScrolledWindowBase_SetScrollPageSize, "SetScrollPageSize(orient, pageSize)");
1906 
1907 extern "C" {static PyObject *meth__ScrolledWindowBase_SetScrollPageSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetScrollPageSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1908 static PyObject *meth__ScrolledWindowBase_SetScrollPageSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1909 {
1910     PyObject *sipParseErr = SIP_NULLPTR;
1911 
1912     {
1913         int orient;
1914         int pageSize;
1915         wxScrolled<wxPanel> *sipCpp;
1916 
1917         static const char *sipKwdList[] = {
1918             sipName_orient,
1919             sipName_pageSize,
1920         };
1921 
1922         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &orient, &pageSize))
1923         {
1924             PyErr_Clear();
1925 
1926             Py_BEGIN_ALLOW_THREADS
1927             sipCpp->SetScrollPageSize(orient,pageSize);
1928             Py_END_ALLOW_THREADS
1929 
1930             if (PyErr_Occurred())
1931                 return 0;
1932 
1933             Py_INCREF(Py_None);
1934             return Py_None;
1935         }
1936     }
1937 
1938     /* Raise an exception if the arguments couldn't be parsed. */
1939     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetScrollPageSize, SIP_NULLPTR);
1940 
1941     return SIP_NULLPTR;
1942 }
1943 
1944 
1945 PyDoc_STRVAR(doc__ScrolledWindowBase_GetScrollLines, "GetScrollLines(orient) -> int");
1946 
1947 extern "C" {static PyObject *meth__ScrolledWindowBase_GetScrollLines(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetScrollLines(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1948 static PyObject *meth__ScrolledWindowBase_GetScrollLines(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1949 {
1950     PyObject *sipParseErr = SIP_NULLPTR;
1951 
1952     {
1953         int orient;
1954         const wxScrolled<wxPanel> *sipCpp;
1955 
1956         static const char *sipKwdList[] = {
1957             sipName_orient,
1958         };
1959 
1960         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &orient))
1961         {
1962             int sipRes;
1963 
1964             PyErr_Clear();
1965 
1966             Py_BEGIN_ALLOW_THREADS
1967             sipRes = sipCpp->GetScrollLines(orient);
1968             Py_END_ALLOW_THREADS
1969 
1970             if (PyErr_Occurred())
1971                 return 0;
1972 
1973             return SIPLong_FromLong(sipRes);
1974         }
1975     }
1976 
1977     /* Raise an exception if the arguments couldn't be parsed. */
1978     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetScrollLines, SIP_NULLPTR);
1979 
1980     return SIP_NULLPTR;
1981 }
1982 
1983 
1984 PyDoc_STRVAR(doc__ScrolledWindowBase_SetScale, "SetScale(xs, ys)");
1985 
1986 extern "C" {static PyObject *meth__ScrolledWindowBase_SetScale(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetScale(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1987 static PyObject *meth__ScrolledWindowBase_SetScale(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1988 {
1989     PyObject *sipParseErr = SIP_NULLPTR;
1990 
1991     {
1992         double xs;
1993         double ys;
1994         wxScrolled<wxPanel> *sipCpp;
1995 
1996         static const char *sipKwdList[] = {
1997             sipName_xs,
1998             sipName_ys,
1999         };
2000 
2001         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bdd", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &xs, &ys))
2002         {
2003             PyErr_Clear();
2004 
2005             Py_BEGIN_ALLOW_THREADS
2006             sipCpp->SetScale(xs,ys);
2007             Py_END_ALLOW_THREADS
2008 
2009             if (PyErr_Occurred())
2010                 return 0;
2011 
2012             Py_INCREF(Py_None);
2013             return Py_None;
2014         }
2015     }
2016 
2017     /* Raise an exception if the arguments couldn't be parsed. */
2018     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetScale, SIP_NULLPTR);
2019 
2020     return SIP_NULLPTR;
2021 }
2022 
2023 
2024 PyDoc_STRVAR(doc__ScrolledWindowBase_GetScaleX, "GetScaleX() -> double");
2025 
2026 extern "C" {static PyObject *meth__ScrolledWindowBase_GetScaleX(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetScaleX(PyObject * sipSelf,PyObject * sipArgs)2027 static PyObject *meth__ScrolledWindowBase_GetScaleX(PyObject *sipSelf, PyObject *sipArgs)
2028 {
2029     PyObject *sipParseErr = SIP_NULLPTR;
2030 
2031     {
2032         const wxScrolled<wxPanel> *sipCpp;
2033 
2034         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2035         {
2036             double sipRes;
2037 
2038             PyErr_Clear();
2039 
2040             Py_BEGIN_ALLOW_THREADS
2041             sipRes = sipCpp->GetScaleX();
2042             Py_END_ALLOW_THREADS
2043 
2044             if (PyErr_Occurred())
2045                 return 0;
2046 
2047             return PyFloat_FromDouble(sipRes);
2048         }
2049     }
2050 
2051     /* Raise an exception if the arguments couldn't be parsed. */
2052     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetScaleX, SIP_NULLPTR);
2053 
2054     return SIP_NULLPTR;
2055 }
2056 
2057 
2058 PyDoc_STRVAR(doc__ScrolledWindowBase_GetScaleY, "GetScaleY() -> double");
2059 
2060 extern "C" {static PyObject *meth__ScrolledWindowBase_GetScaleY(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetScaleY(PyObject * sipSelf,PyObject * sipArgs)2061 static PyObject *meth__ScrolledWindowBase_GetScaleY(PyObject *sipSelf, PyObject *sipArgs)
2062 {
2063     PyObject *sipParseErr = SIP_NULLPTR;
2064 
2065     {
2066         const wxScrolled<wxPanel> *sipCpp;
2067 
2068         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2069         {
2070             double sipRes;
2071 
2072             PyErr_Clear();
2073 
2074             Py_BEGIN_ALLOW_THREADS
2075             sipRes = sipCpp->GetScaleY();
2076             Py_END_ALLOW_THREADS
2077 
2078             if (PyErr_Occurred())
2079                 return 0;
2080 
2081             return PyFloat_FromDouble(sipRes);
2082         }
2083     }
2084 
2085     /* Raise an exception if the arguments couldn't be parsed. */
2086     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetScaleY, SIP_NULLPTR);
2087 
2088     return SIP_NULLPTR;
2089 }
2090 
2091 
2092 PyDoc_STRVAR(doc__ScrolledWindowBase_AdjustScrollbars, "AdjustScrollbars()");
2093 
2094 extern "C" {static PyObject *meth__ScrolledWindowBase_AdjustScrollbars(PyObject *, PyObject *);}
meth__ScrolledWindowBase_AdjustScrollbars(PyObject * sipSelf,PyObject * sipArgs)2095 static PyObject *meth__ScrolledWindowBase_AdjustScrollbars(PyObject *sipSelf, PyObject *sipArgs)
2096 {
2097     PyObject *sipParseErr = SIP_NULLPTR;
2098 
2099     {
2100         wxScrolled<wxPanel> *sipCpp;
2101 
2102         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2103         {
2104             PyErr_Clear();
2105 
2106             Py_BEGIN_ALLOW_THREADS
2107             sipCpp->AdjustScrollbars();
2108             Py_END_ALLOW_THREADS
2109 
2110             if (PyErr_Occurred())
2111                 return 0;
2112 
2113             Py_INCREF(Py_None);
2114             return Py_None;
2115         }
2116     }
2117 
2118     /* Raise an exception if the arguments couldn't be parsed. */
2119     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_AdjustScrollbars, SIP_NULLPTR);
2120 
2121     return SIP_NULLPTR;
2122 }
2123 
2124 
2125 PyDoc_STRVAR(doc__ScrolledWindowBase_IsAutoScrolling, "IsAutoScrolling() -> bool\n"
2126 "\n"
2127 "Are we generating the autoscroll events?");
2128 
2129 extern "C" {static PyObject *meth__ScrolledWindowBase_IsAutoScrolling(PyObject *, PyObject *);}
meth__ScrolledWindowBase_IsAutoScrolling(PyObject * sipSelf,PyObject * sipArgs)2130 static PyObject *meth__ScrolledWindowBase_IsAutoScrolling(PyObject *sipSelf, PyObject *sipArgs)
2131 {
2132     PyObject *sipParseErr = SIP_NULLPTR;
2133 
2134     {
2135         const wxScrolled<wxPanel> *sipCpp;
2136 
2137         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2138         {
2139             bool sipRes;
2140 
2141             PyErr_Clear();
2142 
2143             Py_BEGIN_ALLOW_THREADS
2144             sipRes = sipCpp->IsAutoScrolling();
2145             Py_END_ALLOW_THREADS
2146 
2147             if (PyErr_Occurred())
2148                 return 0;
2149 
2150             return PyBool_FromLong(sipRes);
2151         }
2152     }
2153 
2154     /* Raise an exception if the arguments couldn't be parsed. */
2155     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_IsAutoScrolling, SIP_NULLPTR);
2156 
2157     return SIP_NULLPTR;
2158 }
2159 
2160 
2161 PyDoc_STRVAR(doc__ScrolledWindowBase_StopAutoScrolling, "StopAutoScrolling()\n"
2162 "\n"
2163 "Stop generating the scroll events when mouse is held outside the\n"
2164 "window.");
2165 
2166 extern "C" {static PyObject *meth__ScrolledWindowBase_StopAutoScrolling(PyObject *, PyObject *);}
meth__ScrolledWindowBase_StopAutoScrolling(PyObject * sipSelf,PyObject * sipArgs)2167 static PyObject *meth__ScrolledWindowBase_StopAutoScrolling(PyObject *sipSelf, PyObject *sipArgs)
2168 {
2169     PyObject *sipParseErr = SIP_NULLPTR;
2170 
2171     {
2172         wxScrolled<wxPanel> *sipCpp;
2173 
2174         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2175         {
2176             PyErr_Clear();
2177 
2178             Py_BEGIN_ALLOW_THREADS
2179             sipCpp->StopAutoScrolling();
2180             Py_END_ALLOW_THREADS
2181 
2182             if (PyErr_Occurred())
2183                 return 0;
2184 
2185             Py_INCREF(Py_None);
2186             return Py_None;
2187         }
2188     }
2189 
2190     /* Raise an exception if the arguments couldn't be parsed. */
2191     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_StopAutoScrolling, SIP_NULLPTR);
2192 
2193     return SIP_NULLPTR;
2194 }
2195 
2196 
2197 PyDoc_STRVAR(doc__ScrolledWindowBase_SendAutoScrollEvents, "SendAutoScrollEvents(event) -> bool\n"
2198 "\n"
2199 "This method can be overridden in a derived class to forbid sending the\n"
2200 "auto scroll events - note that unlike StopAutoScrolling() it doesn't\n"
2201 "stop the timer, so it will be called repeatedly and will typically\n"
2202 "return different values depending on the current mouse position.");
2203 
2204 extern "C" {static PyObject *meth__ScrolledWindowBase_SendAutoScrollEvents(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SendAutoScrollEvents(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2205 static PyObject *meth__ScrolledWindowBase_SendAutoScrollEvents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2206 {
2207     PyObject *sipParseErr = SIP_NULLPTR;
2208     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2209 
2210     {
2211          ::wxScrollWinEvent* event;
2212         const wxScrolled<wxPanel> *sipCpp;
2213 
2214         static const char *sipKwdList[] = {
2215             sipName_event,
2216         };
2217 
2218         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxScrollWinEvent, &event))
2219         {
2220             bool sipRes;
2221 
2222             PyErr_Clear();
2223 
2224             Py_BEGIN_ALLOW_THREADS
2225             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::SendAutoScrollEvents(*event) : sipCpp->SendAutoScrollEvents(*event));
2226             Py_END_ALLOW_THREADS
2227 
2228             if (PyErr_Occurred())
2229                 return 0;
2230 
2231             return PyBool_FromLong(sipRes);
2232         }
2233     }
2234 
2235     /* Raise an exception if the arguments couldn't be parsed. */
2236     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SendAutoScrollEvents, SIP_NULLPTR);
2237 
2238     return SIP_NULLPTR;
2239 }
2240 
2241 
2242 PyDoc_STRVAR(doc__ScrolledWindowBase_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
2243 
2244 extern "C" {static PyObject *meth__ScrolledWindowBase_GetClientAreaOrigin(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)2245 static PyObject *meth__ScrolledWindowBase_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
2246 {
2247     PyObject *sipParseErr = SIP_NULLPTR;
2248     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2249 
2250     {
2251         const wxScrolled<wxPanel> *sipCpp;
2252 
2253         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2254         {
2255              ::wxPoint*sipRes;
2256 
2257             PyErr_Clear();
2258 
2259             Py_BEGIN_ALLOW_THREADS
2260             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
2261             Py_END_ALLOW_THREADS
2262 
2263             if (PyErr_Occurred())
2264                 return 0;
2265 
2266             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
2267         }
2268     }
2269 
2270     /* Raise an exception if the arguments couldn't be parsed. */
2271     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetClientAreaOrigin, doc__ScrolledWindowBase_GetClientAreaOrigin);
2272 
2273     return SIP_NULLPTR;
2274 }
2275 
2276 
2277 PyDoc_STRVAR(doc__ScrolledWindowBase_Validate, "Validate(self) -> bool");
2278 
2279 extern "C" {static PyObject *meth__ScrolledWindowBase_Validate(PyObject *, PyObject *);}
meth__ScrolledWindowBase_Validate(PyObject * sipSelf,PyObject * sipArgs)2280 static PyObject *meth__ScrolledWindowBase_Validate(PyObject *sipSelf, PyObject *sipArgs)
2281 {
2282     PyObject *sipParseErr = SIP_NULLPTR;
2283     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2284 
2285     {
2286         wxScrolled<wxPanel> *sipCpp;
2287 
2288         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2289         {
2290             bool sipRes;
2291 
2292             PyErr_Clear();
2293 
2294             Py_BEGIN_ALLOW_THREADS
2295             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::Validate() : sipCpp->Validate());
2296             Py_END_ALLOW_THREADS
2297 
2298             if (PyErr_Occurred())
2299                 return 0;
2300 
2301             return PyBool_FromLong(sipRes);
2302         }
2303     }
2304 
2305     /* Raise an exception if the arguments couldn't be parsed. */
2306     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_Validate, doc__ScrolledWindowBase_Validate);
2307 
2308     return SIP_NULLPTR;
2309 }
2310 
2311 
2312 PyDoc_STRVAR(doc__ScrolledWindowBase_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
2313 
2314 extern "C" {static PyObject *meth__ScrolledWindowBase_TransferDataToWindow(PyObject *, PyObject *);}
meth__ScrolledWindowBase_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)2315 static PyObject *meth__ScrolledWindowBase_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
2316 {
2317     PyObject *sipParseErr = SIP_NULLPTR;
2318     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2319 
2320     {
2321         wxScrolled<wxPanel> *sipCpp;
2322 
2323         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2324         {
2325             bool sipRes;
2326 
2327             PyErr_Clear();
2328 
2329             Py_BEGIN_ALLOW_THREADS
2330             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::TransferDataToWindow() : sipCpp->TransferDataToWindow());
2331             Py_END_ALLOW_THREADS
2332 
2333             if (PyErr_Occurred())
2334                 return 0;
2335 
2336             return PyBool_FromLong(sipRes);
2337         }
2338     }
2339 
2340     /* Raise an exception if the arguments couldn't be parsed. */
2341     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_TransferDataToWindow, doc__ScrolledWindowBase_TransferDataToWindow);
2342 
2343     return SIP_NULLPTR;
2344 }
2345 
2346 
2347 PyDoc_STRVAR(doc__ScrolledWindowBase_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
2348 
2349 extern "C" {static PyObject *meth__ScrolledWindowBase_TransferDataFromWindow(PyObject *, PyObject *);}
meth__ScrolledWindowBase_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)2350 static PyObject *meth__ScrolledWindowBase_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
2351 {
2352     PyObject *sipParseErr = SIP_NULLPTR;
2353     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2354 
2355     {
2356         wxScrolled<wxPanel> *sipCpp;
2357 
2358         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2359         {
2360             bool sipRes;
2361 
2362             PyErr_Clear();
2363 
2364             Py_BEGIN_ALLOW_THREADS
2365             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
2366             Py_END_ALLOW_THREADS
2367 
2368             if (PyErr_Occurred())
2369                 return 0;
2370 
2371             return PyBool_FromLong(sipRes);
2372         }
2373     }
2374 
2375     /* Raise an exception if the arguments couldn't be parsed. */
2376     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_TransferDataFromWindow, doc__ScrolledWindowBase_TransferDataFromWindow);
2377 
2378     return SIP_NULLPTR;
2379 }
2380 
2381 
2382 PyDoc_STRVAR(doc__ScrolledWindowBase_InitDialog, "InitDialog(self)");
2383 
2384 extern "C" {static PyObject *meth__ScrolledWindowBase_InitDialog(PyObject *, PyObject *);}
meth__ScrolledWindowBase_InitDialog(PyObject * sipSelf,PyObject * sipArgs)2385 static PyObject *meth__ScrolledWindowBase_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
2386 {
2387     PyObject *sipParseErr = SIP_NULLPTR;
2388     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2389 
2390     {
2391         wxScrolled<wxPanel> *sipCpp;
2392 
2393         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2394         {
2395             PyErr_Clear();
2396 
2397             Py_BEGIN_ALLOW_THREADS
2398             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::InitDialog() : sipCpp->InitDialog());
2399             Py_END_ALLOW_THREADS
2400 
2401             if (PyErr_Occurred())
2402                 return 0;
2403 
2404             Py_INCREF(Py_None);
2405             return Py_None;
2406         }
2407     }
2408 
2409     /* Raise an exception if the arguments couldn't be parsed. */
2410     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_InitDialog, doc__ScrolledWindowBase_InitDialog);
2411 
2412     return SIP_NULLPTR;
2413 }
2414 
2415 
2416 PyDoc_STRVAR(doc__ScrolledWindowBase_AcceptsFocus, "AcceptsFocus(self) -> bool");
2417 
2418 extern "C" {static PyObject *meth__ScrolledWindowBase_AcceptsFocus(PyObject *, PyObject *);}
meth__ScrolledWindowBase_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)2419 static PyObject *meth__ScrolledWindowBase_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
2420 {
2421     PyObject *sipParseErr = SIP_NULLPTR;
2422     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2423 
2424     {
2425         const wxScrolled<wxPanel> *sipCpp;
2426 
2427         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2428         {
2429             bool sipRes;
2430 
2431             PyErr_Clear();
2432 
2433             Py_BEGIN_ALLOW_THREADS
2434             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::AcceptsFocus() : sipCpp->AcceptsFocus());
2435             Py_END_ALLOW_THREADS
2436 
2437             if (PyErr_Occurred())
2438                 return 0;
2439 
2440             return PyBool_FromLong(sipRes);
2441         }
2442     }
2443 
2444     /* Raise an exception if the arguments couldn't be parsed. */
2445     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_AcceptsFocus, doc__ScrolledWindowBase_AcceptsFocus);
2446 
2447     return SIP_NULLPTR;
2448 }
2449 
2450 
2451 PyDoc_STRVAR(doc__ScrolledWindowBase_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
2452 
2453 extern "C" {static PyObject *meth__ScrolledWindowBase_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth__ScrolledWindowBase_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)2454 static PyObject *meth__ScrolledWindowBase_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
2455 {
2456     PyObject *sipParseErr = SIP_NULLPTR;
2457     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2458 
2459     {
2460         const wxScrolled<wxPanel> *sipCpp;
2461 
2462         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2463         {
2464             bool sipRes;
2465 
2466             PyErr_Clear();
2467 
2468             Py_BEGIN_ALLOW_THREADS
2469             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
2470             Py_END_ALLOW_THREADS
2471 
2472             if (PyErr_Occurred())
2473                 return 0;
2474 
2475             return PyBool_FromLong(sipRes);
2476         }
2477     }
2478 
2479     /* Raise an exception if the arguments couldn't be parsed. */
2480     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_AcceptsFocusRecursively, doc__ScrolledWindowBase_AcceptsFocusRecursively);
2481 
2482     return SIP_NULLPTR;
2483 }
2484 
2485 
2486 PyDoc_STRVAR(doc__ScrolledWindowBase_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
2487 
2488 extern "C" {static PyObject *meth__ScrolledWindowBase_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth__ScrolledWindowBase_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)2489 static PyObject *meth__ScrolledWindowBase_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
2490 {
2491     PyObject *sipParseErr = SIP_NULLPTR;
2492     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2493 
2494     {
2495         const wxScrolled<wxPanel> *sipCpp;
2496 
2497         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2498         {
2499             bool sipRes;
2500 
2501             PyErr_Clear();
2502 
2503             Py_BEGIN_ALLOW_THREADS
2504             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
2505             Py_END_ALLOW_THREADS
2506 
2507             if (PyErr_Occurred())
2508                 return 0;
2509 
2510             return PyBool_FromLong(sipRes);
2511         }
2512     }
2513 
2514     /* Raise an exception if the arguments couldn't be parsed. */
2515     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_AcceptsFocusFromKeyboard, doc__ScrolledWindowBase_AcceptsFocusFromKeyboard);
2516 
2517     return SIP_NULLPTR;
2518 }
2519 
2520 
2521 PyDoc_STRVAR(doc__ScrolledWindowBase_AddChild, "AddChild(self, child: WindowBase)");
2522 
2523 extern "C" {static PyObject *meth__ScrolledWindowBase_AddChild(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2524 static PyObject *meth__ScrolledWindowBase_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2525 {
2526     PyObject *sipParseErr = SIP_NULLPTR;
2527     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2528 
2529     {
2530          ::wxWindowBase* child;
2531         wxScrolled<wxPanel> *sipCpp;
2532 
2533         static const char *sipKwdList[] = {
2534             sipName_child,
2535         };
2536 
2537         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxWindowBase, &child))
2538         {
2539             PyErr_Clear();
2540 
2541             Py_BEGIN_ALLOW_THREADS
2542             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::AddChild(child) : sipCpp->AddChild(child));
2543             Py_END_ALLOW_THREADS
2544 
2545             if (PyErr_Occurred())
2546                 return 0;
2547 
2548             Py_INCREF(Py_None);
2549             return Py_None;
2550         }
2551     }
2552 
2553     /* Raise an exception if the arguments couldn't be parsed. */
2554     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_AddChild, doc__ScrolledWindowBase_AddChild);
2555 
2556     return SIP_NULLPTR;
2557 }
2558 
2559 
2560 PyDoc_STRVAR(doc__ScrolledWindowBase_RemoveChild, "RemoveChild(self, child: WindowBase)");
2561 
2562 extern "C" {static PyObject *meth__ScrolledWindowBase_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2563 static PyObject *meth__ScrolledWindowBase_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2564 {
2565     PyObject *sipParseErr = SIP_NULLPTR;
2566     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2567 
2568     {
2569          ::wxWindowBase* child;
2570         wxScrolled<wxPanel> *sipCpp;
2571 
2572         static const char *sipKwdList[] = {
2573             sipName_child,
2574         };
2575 
2576         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxWindowBase, &child))
2577         {
2578             PyErr_Clear();
2579 
2580             Py_BEGIN_ALLOW_THREADS
2581             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::RemoveChild(child) : sipCpp->RemoveChild(child));
2582             Py_END_ALLOW_THREADS
2583 
2584             if (PyErr_Occurred())
2585                 return 0;
2586 
2587             Py_INCREF(Py_None);
2588             return Py_None;
2589         }
2590     }
2591 
2592     /* Raise an exception if the arguments couldn't be parsed. */
2593     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_RemoveChild, doc__ScrolledWindowBase_RemoveChild);
2594 
2595     return SIP_NULLPTR;
2596 }
2597 
2598 
2599 PyDoc_STRVAR(doc__ScrolledWindowBase_InheritAttributes, "InheritAttributes(self)");
2600 
2601 extern "C" {static PyObject *meth__ScrolledWindowBase_InheritAttributes(PyObject *, PyObject *);}
meth__ScrolledWindowBase_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)2602 static PyObject *meth__ScrolledWindowBase_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
2603 {
2604     PyObject *sipParseErr = SIP_NULLPTR;
2605     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2606 
2607     {
2608         wxScrolled<wxPanel> *sipCpp;
2609 
2610         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2611         {
2612             PyErr_Clear();
2613 
2614             Py_BEGIN_ALLOW_THREADS
2615             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::InheritAttributes() : sipCpp->InheritAttributes());
2616             Py_END_ALLOW_THREADS
2617 
2618             if (PyErr_Occurred())
2619                 return 0;
2620 
2621             Py_INCREF(Py_None);
2622             return Py_None;
2623         }
2624     }
2625 
2626     /* Raise an exception if the arguments couldn't be parsed. */
2627     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_InheritAttributes, doc__ScrolledWindowBase_InheritAttributes);
2628 
2629     return SIP_NULLPTR;
2630 }
2631 
2632 
2633 PyDoc_STRVAR(doc__ScrolledWindowBase_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
2634 
2635 extern "C" {static PyObject *meth__ScrolledWindowBase_ShouldInheritColours(PyObject *, PyObject *);}
meth__ScrolledWindowBase_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)2636 static PyObject *meth__ScrolledWindowBase_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
2637 {
2638     PyObject *sipParseErr = SIP_NULLPTR;
2639     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2640 
2641     {
2642         const wxScrolled<wxPanel> *sipCpp;
2643 
2644         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2645         {
2646             bool sipRes;
2647 
2648             PyErr_Clear();
2649 
2650             Py_BEGIN_ALLOW_THREADS
2651             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::ShouldInheritColours() : sipCpp->ShouldInheritColours());
2652             Py_END_ALLOW_THREADS
2653 
2654             if (PyErr_Occurred())
2655                 return 0;
2656 
2657             return PyBool_FromLong(sipRes);
2658         }
2659     }
2660 
2661     /* Raise an exception if the arguments couldn't be parsed. */
2662     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_ShouldInheritColours, doc__ScrolledWindowBase_ShouldInheritColours);
2663 
2664     return SIP_NULLPTR;
2665 }
2666 
2667 
2668 PyDoc_STRVAR(doc__ScrolledWindowBase_OnInternalIdle, "OnInternalIdle(self)");
2669 
2670 extern "C" {static PyObject *meth__ScrolledWindowBase_OnInternalIdle(PyObject *, PyObject *);}
meth__ScrolledWindowBase_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)2671 static PyObject *meth__ScrolledWindowBase_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
2672 {
2673     PyObject *sipParseErr = SIP_NULLPTR;
2674     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2675 
2676     {
2677         wxScrolled<wxPanel> *sipCpp;
2678 
2679         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2680         {
2681             PyErr_Clear();
2682 
2683             Py_BEGIN_ALLOW_THREADS
2684             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::OnInternalIdle() : sipCpp->OnInternalIdle());
2685             Py_END_ALLOW_THREADS
2686 
2687             if (PyErr_Occurred())
2688                 return 0;
2689 
2690             Py_INCREF(Py_None);
2691             return Py_None;
2692         }
2693     }
2694 
2695     /* Raise an exception if the arguments couldn't be parsed. */
2696     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_OnInternalIdle, doc__ScrolledWindowBase_OnInternalIdle);
2697 
2698     return SIP_NULLPTR;
2699 }
2700 
2701 
2702 PyDoc_STRVAR(doc__ScrolledWindowBase_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
2703 
2704 extern "C" {static PyObject *meth__ScrolledWindowBase_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)2705 static PyObject *meth__ScrolledWindowBase_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
2706 {
2707     PyObject *sipParseErr = SIP_NULLPTR;
2708     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2709 
2710     {
2711         wxScrolled<wxPanel> *sipCpp;
2712 
2713         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2714         {
2715              ::wxWindow*sipRes;
2716 
2717             PyErr_Clear();
2718 
2719             Py_BEGIN_ALLOW_THREADS
2720             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
2721             Py_END_ALLOW_THREADS
2722 
2723             if (PyErr_Occurred())
2724                 return 0;
2725 
2726             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
2727         }
2728     }
2729 
2730     /* Raise an exception if the arguments couldn't be parsed. */
2731     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetMainWindowOfCompositeControl, doc__ScrolledWindowBase_GetMainWindowOfCompositeControl);
2732 
2733     return SIP_NULLPTR;
2734 }
2735 
2736 
2737 PyDoc_STRVAR(doc__ScrolledWindowBase_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
2738 
2739 extern "C" {static PyObject *meth__ScrolledWindowBase_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2740 static PyObject *meth__ScrolledWindowBase_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2741 {
2742     PyObject *sipParseErr = SIP_NULLPTR;
2743     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2744 
2745     {
2746         int direction;
2747         int size;
2748         int availableOtherDir;
2749         wxScrolled<wxPanel> *sipCpp;
2750 
2751         static const char *sipKwdList[] = {
2752             sipName_direction,
2753             sipName_size,
2754             sipName_availableOtherDir,
2755         };
2756 
2757         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &direction, &size, &availableOtherDir))
2758         {
2759             bool sipRes;
2760 
2761             PyErr_Clear();
2762 
2763             Py_BEGIN_ALLOW_THREADS
2764             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
2765             Py_END_ALLOW_THREADS
2766 
2767             if (PyErr_Occurred())
2768                 return 0;
2769 
2770             return PyBool_FromLong(sipRes);
2771         }
2772     }
2773 
2774     /* Raise an exception if the arguments couldn't be parsed. */
2775     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_InformFirstDirection, doc__ScrolledWindowBase_InformFirstDirection);
2776 
2777     return SIP_NULLPTR;
2778 }
2779 
2780 
2781 PyDoc_STRVAR(doc__ScrolledWindowBase_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
2782 
2783 extern "C" {static PyObject *meth__ScrolledWindowBase_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2784 static PyObject *meth__ScrolledWindowBase_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2785 {
2786     PyObject *sipParseErr = SIP_NULLPTR;
2787     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2788 
2789     {
2790         bool canFocus;
2791         wxScrolled<wxPanel> *sipCpp;
2792 
2793         static const char *sipKwdList[] = {
2794             sipName_canFocus,
2795         };
2796 
2797         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &canFocus))
2798         {
2799             PyErr_Clear();
2800 
2801             Py_BEGIN_ALLOW_THREADS
2802             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
2803             Py_END_ALLOW_THREADS
2804 
2805             if (PyErr_Occurred())
2806                 return 0;
2807 
2808             Py_INCREF(Py_None);
2809             return Py_None;
2810         }
2811     }
2812 
2813     /* Raise an exception if the arguments couldn't be parsed. */
2814     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetCanFocus, doc__ScrolledWindowBase_SetCanFocus);
2815 
2816     return SIP_NULLPTR;
2817 }
2818 
2819 
2820 PyDoc_STRVAR(doc__ScrolledWindowBase_Destroy, "Destroy(self) -> bool");
2821 
2822 extern "C" {static PyObject *meth__ScrolledWindowBase_Destroy(PyObject *, PyObject *);}
meth__ScrolledWindowBase_Destroy(PyObject * sipSelf,PyObject * sipArgs)2823 static PyObject *meth__ScrolledWindowBase_Destroy(PyObject *sipSelf, PyObject *sipArgs)
2824 {
2825     PyObject *sipParseErr = SIP_NULLPTR;
2826     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2827 
2828     {
2829         wxScrolled<wxPanel> *sipCpp;
2830 
2831         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2832         {
2833             bool sipRes;
2834 
2835             PyErr_Clear();
2836 
2837             Py_BEGIN_ALLOW_THREADS
2838             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::Destroy() : sipCpp->Destroy());
2839             Py_END_ALLOW_THREADS
2840 
2841             if (PyErr_Occurred())
2842                 return 0;
2843 
2844             return PyBool_FromLong(sipRes);
2845         }
2846     }
2847 
2848     /* Raise an exception if the arguments couldn't be parsed. */
2849     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_Destroy, doc__ScrolledWindowBase_Destroy);
2850 
2851     return SIP_NULLPTR;
2852 }
2853 
2854 
2855 PyDoc_STRVAR(doc__ScrolledWindowBase_SetValidator, "SetValidator(self, validator: Validator)");
2856 
2857 extern "C" {static PyObject *meth__ScrolledWindowBase_SetValidator(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2858 static PyObject *meth__ScrolledWindowBase_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2859 {
2860     PyObject *sipParseErr = SIP_NULLPTR;
2861     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2862 
2863     {
2864         const  ::wxValidator* validator;
2865         wxScrolled<wxPanel> *sipCpp;
2866 
2867         static const char *sipKwdList[] = {
2868             sipName_validator,
2869         };
2870 
2871         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxValidator, &validator))
2872         {
2873             PyErr_Clear();
2874 
2875             Py_BEGIN_ALLOW_THREADS
2876             (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::SetValidator(*validator) : sipCpp->SetValidator(*validator));
2877             Py_END_ALLOW_THREADS
2878 
2879             if (PyErr_Occurred())
2880                 return 0;
2881 
2882             Py_INCREF(Py_None);
2883             return Py_None;
2884         }
2885     }
2886 
2887     /* Raise an exception if the arguments couldn't be parsed. */
2888     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_SetValidator, doc__ScrolledWindowBase_SetValidator);
2889 
2890     return SIP_NULLPTR;
2891 }
2892 
2893 
2894 PyDoc_STRVAR(doc__ScrolledWindowBase_GetValidator, "GetValidator(self) -> Validator");
2895 
2896 extern "C" {static PyObject *meth__ScrolledWindowBase_GetValidator(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetValidator(PyObject * sipSelf,PyObject * sipArgs)2897 static PyObject *meth__ScrolledWindowBase_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
2898 {
2899     PyObject *sipParseErr = SIP_NULLPTR;
2900     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2901 
2902     {
2903         wxScrolled<wxPanel> *sipCpp;
2904 
2905         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
2906         {
2907              ::wxValidator*sipRes;
2908 
2909             PyErr_Clear();
2910 
2911             Py_BEGIN_ALLOW_THREADS
2912             sipRes = (sipSelfWasArg ? sipCpp-> ::_ScrolledWindowBase::GetValidator() : sipCpp->GetValidator());
2913             Py_END_ALLOW_THREADS
2914 
2915             if (PyErr_Occurred())
2916                 return 0;
2917 
2918             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
2919         }
2920     }
2921 
2922     /* Raise an exception if the arguments couldn't be parsed. */
2923     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetValidator, doc__ScrolledWindowBase_GetValidator);
2924 
2925     return SIP_NULLPTR;
2926 }
2927 
2928 
2929 PyDoc_STRVAR(doc__ScrolledWindowBase_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
2930 
2931 extern "C" {static PyObject *meth__ScrolledWindowBase_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2932 static PyObject *meth__ScrolledWindowBase_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2933 {
2934     PyObject *sipParseErr = SIP_NULLPTR;
2935     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2936 
2937     {
2938          ::wxEvent* event;
2939         sip_ScrolledWindowBase *sipCpp;
2940 
2941         static const char *sipKwdList[] = {
2942             sipName_event,
2943         };
2944 
2945         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxEvent, &event))
2946         {
2947             bool sipRes;
2948 
2949             PyErr_Clear();
2950 
2951             Py_BEGIN_ALLOW_THREADS
2952             sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
2953             Py_END_ALLOW_THREADS
2954 
2955             if (PyErr_Occurred())
2956                 return 0;
2957 
2958             return PyBool_FromLong(sipRes);
2959         }
2960     }
2961 
2962     /* Raise an exception if the arguments couldn't be parsed. */
2963     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_ProcessEvent, doc__ScrolledWindowBase_ProcessEvent);
2964 
2965     return SIP_NULLPTR;
2966 }
2967 
2968 
2969 PyDoc_STRVAR(doc__ScrolledWindowBase_DoEnable, "DoEnable(self, enable: bool)");
2970 
2971 extern "C" {static PyObject *meth__ScrolledWindowBase_DoEnable(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2972 static PyObject *meth__ScrolledWindowBase_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2973 {
2974     PyObject *sipParseErr = SIP_NULLPTR;
2975     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2976 
2977     {
2978         bool enable;
2979         sip_ScrolledWindowBase *sipCpp;
2980 
2981         static const char *sipKwdList[] = {
2982             sipName_enable,
2983         };
2984 
2985         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &enable))
2986         {
2987             PyErr_Clear();
2988 
2989             Py_BEGIN_ALLOW_THREADS
2990             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
2991             Py_END_ALLOW_THREADS
2992 
2993             if (PyErr_Occurred())
2994                 return 0;
2995 
2996             Py_INCREF(Py_None);
2997             return Py_None;
2998         }
2999     }
3000 
3001     /* Raise an exception if the arguments couldn't be parsed. */
3002     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoEnable, doc__ScrolledWindowBase_DoEnable);
3003 
3004     return SIP_NULLPTR;
3005 }
3006 
3007 
3008 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
3009 
3010 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3011 static PyObject *meth__ScrolledWindowBase_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3012 {
3013     PyObject *sipParseErr = SIP_NULLPTR;
3014     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3015 
3016     {
3017         int x;
3018         int y;
3019         const sip_ScrolledWindowBase *sipCpp;
3020 
3021         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3022         {
3023             PyErr_Clear();
3024 
3025             Py_BEGIN_ALLOW_THREADS
3026             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
3027             Py_END_ALLOW_THREADS
3028 
3029             if (PyErr_Occurred())
3030                 return 0;
3031 
3032             return sipBuildResult(0,"(ii)",x,y);
3033         }
3034     }
3035 
3036     /* Raise an exception if the arguments couldn't be parsed. */
3037     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetPosition, doc__ScrolledWindowBase_DoGetPosition);
3038 
3039     return SIP_NULLPTR;
3040 }
3041 
3042 
3043 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
3044 
3045 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3046 static PyObject *meth__ScrolledWindowBase_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3047 {
3048     PyObject *sipParseErr = SIP_NULLPTR;
3049     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3050 
3051     {
3052         int width;
3053         int height;
3054         const sip_ScrolledWindowBase *sipCpp;
3055 
3056         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3057         {
3058             PyErr_Clear();
3059 
3060             Py_BEGIN_ALLOW_THREADS
3061             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
3062             Py_END_ALLOW_THREADS
3063 
3064             if (PyErr_Occurred())
3065                 return 0;
3066 
3067             return sipBuildResult(0,"(ii)",width,height);
3068         }
3069     }
3070 
3071     /* Raise an exception if the arguments couldn't be parsed. */
3072     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetSize, doc__ScrolledWindowBase_DoGetSize);
3073 
3074     return SIP_NULLPTR;
3075 }
3076 
3077 
3078 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
3079 
3080 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3081 static PyObject *meth__ScrolledWindowBase_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3082 {
3083     PyObject *sipParseErr = SIP_NULLPTR;
3084     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3085 
3086     {
3087         int width;
3088         int height;
3089         const sip_ScrolledWindowBase *sipCpp;
3090 
3091         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3092         {
3093             PyErr_Clear();
3094 
3095             Py_BEGIN_ALLOW_THREADS
3096             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
3097             Py_END_ALLOW_THREADS
3098 
3099             if (PyErr_Occurred())
3100                 return 0;
3101 
3102             return sipBuildResult(0,"(ii)",width,height);
3103         }
3104     }
3105 
3106     /* Raise an exception if the arguments couldn't be parsed. */
3107     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetClientSize, doc__ScrolledWindowBase_DoGetClientSize);
3108 
3109     return SIP_NULLPTR;
3110 }
3111 
3112 
3113 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetBestSize, "DoGetBestSize(self) -> Size");
3114 
3115 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetBestSize(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)3116 static PyObject *meth__ScrolledWindowBase_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
3117 {
3118     PyObject *sipParseErr = SIP_NULLPTR;
3119     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3120 
3121     {
3122         const sip_ScrolledWindowBase *sipCpp;
3123 
3124         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3125         {
3126              ::wxSize*sipRes;
3127 
3128             PyErr_Clear();
3129 
3130             Py_BEGIN_ALLOW_THREADS
3131             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
3132             Py_END_ALLOW_THREADS
3133 
3134             if (PyErr_Occurred())
3135                 return 0;
3136 
3137             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3138         }
3139     }
3140 
3141     /* Raise an exception if the arguments couldn't be parsed. */
3142     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetBestSize, doc__ScrolledWindowBase_DoGetBestSize);
3143 
3144     return SIP_NULLPTR;
3145 }
3146 
3147 
3148 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
3149 
3150 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetBestClientSize(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)3151 static PyObject *meth__ScrolledWindowBase_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
3152 {
3153     PyObject *sipParseErr = SIP_NULLPTR;
3154     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3155 
3156     {
3157         const sip_ScrolledWindowBase *sipCpp;
3158 
3159         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3160         {
3161              ::wxSize*sipRes;
3162 
3163             PyErr_Clear();
3164 
3165             Py_BEGIN_ALLOW_THREADS
3166             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
3167             Py_END_ALLOW_THREADS
3168 
3169             if (PyErr_Occurred())
3170                 return 0;
3171 
3172             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3173         }
3174     }
3175 
3176     /* Raise an exception if the arguments couldn't be parsed. */
3177     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetBestClientSize, doc__ScrolledWindowBase_DoGetBestClientSize);
3178 
3179     return SIP_NULLPTR;
3180 }
3181 
3182 
3183 PyDoc_STRVAR(doc__ScrolledWindowBase_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
3184 
3185 extern "C" {static PyObject *meth__ScrolledWindowBase_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3186 static PyObject *meth__ScrolledWindowBase_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3187 {
3188     PyObject *sipParseErr = SIP_NULLPTR;
3189     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3190 
3191     {
3192         int x;
3193         int y;
3194         int width;
3195         int height;
3196         int sizeFlags;
3197         sip_ScrolledWindowBase *sipCpp;
3198 
3199         static const char *sipKwdList[] = {
3200             sipName_x,
3201             sipName_y,
3202             sipName_width,
3203             sipName_height,
3204             sipName_sizeFlags,
3205         };
3206 
3207         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &x, &y, &width, &height, &sizeFlags))
3208         {
3209             PyErr_Clear();
3210 
3211             Py_BEGIN_ALLOW_THREADS
3212             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
3213             Py_END_ALLOW_THREADS
3214 
3215             if (PyErr_Occurred())
3216                 return 0;
3217 
3218             Py_INCREF(Py_None);
3219             return Py_None;
3220         }
3221     }
3222 
3223     /* Raise an exception if the arguments couldn't be parsed. */
3224     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoSetSize, doc__ScrolledWindowBase_DoSetSize);
3225 
3226     return SIP_NULLPTR;
3227 }
3228 
3229 
3230 PyDoc_STRVAR(doc__ScrolledWindowBase_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
3231 
3232 extern "C" {static PyObject *meth__ScrolledWindowBase_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3233 static PyObject *meth__ScrolledWindowBase_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3234 {
3235     PyObject *sipParseErr = SIP_NULLPTR;
3236     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3237 
3238     {
3239         int width;
3240         int height;
3241         sip_ScrolledWindowBase *sipCpp;
3242 
3243         static const char *sipKwdList[] = {
3244             sipName_width,
3245             sipName_height,
3246         };
3247 
3248         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &width, &height))
3249         {
3250             PyErr_Clear();
3251 
3252             Py_BEGIN_ALLOW_THREADS
3253             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
3254             Py_END_ALLOW_THREADS
3255 
3256             if (PyErr_Occurred())
3257                 return 0;
3258 
3259             Py_INCREF(Py_None);
3260             return Py_None;
3261         }
3262     }
3263 
3264     /* Raise an exception if the arguments couldn't be parsed. */
3265     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoSetClientSize, doc__ScrolledWindowBase_DoSetClientSize);
3266 
3267     return SIP_NULLPTR;
3268 }
3269 
3270 
3271 PyDoc_STRVAR(doc__ScrolledWindowBase_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
3272 
3273 extern "C" {static PyObject *meth__ScrolledWindowBase_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3274 static PyObject *meth__ScrolledWindowBase_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3275 {
3276     PyObject *sipParseErr = SIP_NULLPTR;
3277     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3278 
3279     {
3280         int minW;
3281         int minH;
3282         int maxW;
3283         int maxH;
3284         int incW;
3285         int incH;
3286         sip_ScrolledWindowBase *sipCpp;
3287 
3288         static const char *sipKwdList[] = {
3289             sipName_minW,
3290             sipName_minH,
3291             sipName_maxW,
3292             sipName_maxH,
3293             sipName_incW,
3294             sipName_incH,
3295         };
3296 
3297         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
3298         {
3299             PyErr_Clear();
3300 
3301             Py_BEGIN_ALLOW_THREADS
3302             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
3303             Py_END_ALLOW_THREADS
3304 
3305             if (PyErr_Occurred())
3306                 return 0;
3307 
3308             Py_INCREF(Py_None);
3309             return Py_None;
3310         }
3311     }
3312 
3313     /* Raise an exception if the arguments couldn't be parsed. */
3314     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoSetSizeHints, doc__ScrolledWindowBase_DoSetSizeHints);
3315 
3316     return SIP_NULLPTR;
3317 }
3318 
3319 
3320 PyDoc_STRVAR(doc__ScrolledWindowBase_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
3321 
3322 extern "C" {static PyObject *meth__ScrolledWindowBase_DoGetBorderSize(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)3323 static PyObject *meth__ScrolledWindowBase_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
3324 {
3325     PyObject *sipParseErr = SIP_NULLPTR;
3326     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3327 
3328     {
3329         const sip_ScrolledWindowBase *sipCpp;
3330 
3331         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3332         {
3333              ::wxSize*sipRes;
3334 
3335             PyErr_Clear();
3336 
3337             Py_BEGIN_ALLOW_THREADS
3338             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
3339             Py_END_ALLOW_THREADS
3340 
3341             if (PyErr_Occurred())
3342                 return 0;
3343 
3344             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3345         }
3346     }
3347 
3348     /* Raise an exception if the arguments couldn't be parsed. */
3349     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoGetBorderSize, doc__ScrolledWindowBase_DoGetBorderSize);
3350 
3351     return SIP_NULLPTR;
3352 }
3353 
3354 
3355 PyDoc_STRVAR(doc__ScrolledWindowBase_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
3356 
3357 extern "C" {static PyObject *meth__ScrolledWindowBase_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3358 static PyObject *meth__ScrolledWindowBase_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3359 {
3360     PyObject *sipParseErr = SIP_NULLPTR;
3361     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3362 
3363     {
3364         int x;
3365         int y;
3366         int width;
3367         int height;
3368         sip_ScrolledWindowBase *sipCpp;
3369 
3370         static const char *sipKwdList[] = {
3371             sipName_x,
3372             sipName_y,
3373             sipName_width,
3374             sipName_height,
3375         };
3376 
3377         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, &x, &y, &width, &height))
3378         {
3379             PyErr_Clear();
3380 
3381             Py_BEGIN_ALLOW_THREADS
3382             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
3383             Py_END_ALLOW_THREADS
3384 
3385             if (PyErr_Occurred())
3386                 return 0;
3387 
3388             Py_INCREF(Py_None);
3389             return Py_None;
3390         }
3391     }
3392 
3393     /* Raise an exception if the arguments couldn't be parsed. */
3394     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoMoveWindow, doc__ScrolledWindowBase_DoMoveWindow);
3395 
3396     return SIP_NULLPTR;
3397 }
3398 
3399 
3400 PyDoc_STRVAR(doc__ScrolledWindowBase_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
3401 
3402 extern "C" {static PyObject *meth__ScrolledWindowBase_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3403 static PyObject *meth__ScrolledWindowBase_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3404 {
3405     PyObject *sipParseErr = SIP_NULLPTR;
3406     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3407 
3408     {
3409          ::wxWindowVariant variant;
3410         sip_ScrolledWindowBase *sipCpp;
3411 
3412         static const char *sipKwdList[] = {
3413             sipName_variant,
3414         };
3415 
3416         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxWindowVariant, &variant))
3417         {
3418             PyErr_Clear();
3419 
3420             Py_BEGIN_ALLOW_THREADS
3421             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
3422             Py_END_ALLOW_THREADS
3423 
3424             if (PyErr_Occurred())
3425                 return 0;
3426 
3427             Py_INCREF(Py_None);
3428             return Py_None;
3429         }
3430     }
3431 
3432     /* Raise an exception if the arguments couldn't be parsed. */
3433     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoSetWindowVariant, doc__ScrolledWindowBase_DoSetWindowVariant);
3434 
3435     return SIP_NULLPTR;
3436 }
3437 
3438 
3439 PyDoc_STRVAR(doc__ScrolledWindowBase_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
3440 
3441 extern "C" {static PyObject *meth__ScrolledWindowBase_GetDefaultBorder(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)3442 static PyObject *meth__ScrolledWindowBase_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
3443 {
3444     PyObject *sipParseErr = SIP_NULLPTR;
3445     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3446 
3447     {
3448         const sip_ScrolledWindowBase *sipCpp;
3449 
3450         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3451         {
3452              ::wxBorder sipRes;
3453 
3454             PyErr_Clear();
3455 
3456             Py_BEGIN_ALLOW_THREADS
3457             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
3458             Py_END_ALLOW_THREADS
3459 
3460             if (PyErr_Occurred())
3461                 return 0;
3462 
3463             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3464         }
3465     }
3466 
3467     /* Raise an exception if the arguments couldn't be parsed. */
3468     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetDefaultBorder, doc__ScrolledWindowBase_GetDefaultBorder);
3469 
3470     return SIP_NULLPTR;
3471 }
3472 
3473 
3474 PyDoc_STRVAR(doc__ScrolledWindowBase_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
3475 
3476 extern "C" {static PyObject *meth__ScrolledWindowBase_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)3477 static PyObject *meth__ScrolledWindowBase_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
3478 {
3479     PyObject *sipParseErr = SIP_NULLPTR;
3480     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3481 
3482     {
3483         const sip_ScrolledWindowBase *sipCpp;
3484 
3485         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3486         {
3487              ::wxBorder sipRes;
3488 
3489             PyErr_Clear();
3490 
3491             Py_BEGIN_ALLOW_THREADS
3492             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
3493             Py_END_ALLOW_THREADS
3494 
3495             if (PyErr_Occurred())
3496                 return 0;
3497 
3498             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3499         }
3500     }
3501 
3502     /* Raise an exception if the arguments couldn't be parsed. */
3503     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetDefaultBorderForControl, doc__ScrolledWindowBase_GetDefaultBorderForControl);
3504 
3505     return SIP_NULLPTR;
3506 }
3507 
3508 
3509 PyDoc_STRVAR(doc__ScrolledWindowBase_DoFreeze, "DoFreeze(self)");
3510 
3511 extern "C" {static PyObject *meth__ScrolledWindowBase_DoFreeze(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)3512 static PyObject *meth__ScrolledWindowBase_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
3513 {
3514     PyObject *sipParseErr = SIP_NULLPTR;
3515     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3516 
3517     {
3518         sip_ScrolledWindowBase *sipCpp;
3519 
3520         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3521         {
3522             PyErr_Clear();
3523 
3524             Py_BEGIN_ALLOW_THREADS
3525             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
3526             Py_END_ALLOW_THREADS
3527 
3528             if (PyErr_Occurred())
3529                 return 0;
3530 
3531             Py_INCREF(Py_None);
3532             return Py_None;
3533         }
3534     }
3535 
3536     /* Raise an exception if the arguments couldn't be parsed. */
3537     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoFreeze, doc__ScrolledWindowBase_DoFreeze);
3538 
3539     return SIP_NULLPTR;
3540 }
3541 
3542 
3543 PyDoc_STRVAR(doc__ScrolledWindowBase_DoThaw, "DoThaw(self)");
3544 
3545 extern "C" {static PyObject *meth__ScrolledWindowBase_DoThaw(PyObject *, PyObject *);}
meth__ScrolledWindowBase_DoThaw(PyObject * sipSelf,PyObject * sipArgs)3546 static PyObject *meth__ScrolledWindowBase_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
3547 {
3548     PyObject *sipParseErr = SIP_NULLPTR;
3549     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3550 
3551     {
3552         sip_ScrolledWindowBase *sipCpp;
3553 
3554         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3555         {
3556             PyErr_Clear();
3557 
3558             Py_BEGIN_ALLOW_THREADS
3559             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
3560             Py_END_ALLOW_THREADS
3561 
3562             if (PyErr_Occurred())
3563                 return 0;
3564 
3565             Py_INCREF(Py_None);
3566             return Py_None;
3567         }
3568     }
3569 
3570     /* Raise an exception if the arguments couldn't be parsed. */
3571     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_DoThaw, doc__ScrolledWindowBase_DoThaw);
3572 
3573     return SIP_NULLPTR;
3574 }
3575 
3576 
3577 PyDoc_STRVAR(doc__ScrolledWindowBase_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
3578 
3579 extern "C" {static PyObject *meth__ScrolledWindowBase_HasTransparentBackground(PyObject *, PyObject *);}
meth__ScrolledWindowBase_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)3580 static PyObject *meth__ScrolledWindowBase_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
3581 {
3582     PyObject *sipParseErr = SIP_NULLPTR;
3583     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3584 
3585     {
3586         sip_ScrolledWindowBase *sipCpp;
3587 
3588         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType__ScrolledWindowBase, &sipCpp))
3589         {
3590             bool sipRes;
3591 
3592             PyErr_Clear();
3593 
3594             Py_BEGIN_ALLOW_THREADS
3595             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
3596             Py_END_ALLOW_THREADS
3597 
3598             if (PyErr_Occurred())
3599                 return 0;
3600 
3601             return PyBool_FromLong(sipRes);
3602         }
3603     }
3604 
3605     /* Raise an exception if the arguments couldn't be parsed. */
3606     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_HasTransparentBackground, doc__ScrolledWindowBase_HasTransparentBackground);
3607 
3608     return SIP_NULLPTR;
3609 }
3610 
3611 
3612 PyDoc_STRVAR(doc__ScrolledWindowBase_TryBefore, "TryBefore(self, event: Event) -> bool");
3613 
3614 extern "C" {static PyObject *meth__ScrolledWindowBase_TryBefore(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3615 static PyObject *meth__ScrolledWindowBase_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3616 {
3617     PyObject *sipParseErr = SIP_NULLPTR;
3618     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3619 
3620     {
3621          ::wxEvent* event;
3622         sip_ScrolledWindowBase *sipCpp;
3623 
3624         static const char *sipKwdList[] = {
3625             sipName_event,
3626         };
3627 
3628         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxEvent, &event))
3629         {
3630             bool sipRes;
3631 
3632             PyErr_Clear();
3633 
3634             Py_BEGIN_ALLOW_THREADS
3635             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
3636             Py_END_ALLOW_THREADS
3637 
3638             if (PyErr_Occurred())
3639                 return 0;
3640 
3641             return PyBool_FromLong(sipRes);
3642         }
3643     }
3644 
3645     /* Raise an exception if the arguments couldn't be parsed. */
3646     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_TryBefore, doc__ScrolledWindowBase_TryBefore);
3647 
3648     return SIP_NULLPTR;
3649 }
3650 
3651 
3652 PyDoc_STRVAR(doc__ScrolledWindowBase_TryAfter, "TryAfter(self, event: Event) -> bool");
3653 
3654 extern "C" {static PyObject *meth__ScrolledWindowBase_TryAfter(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3655 static PyObject *meth__ScrolledWindowBase_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3656 {
3657     PyObject *sipParseErr = SIP_NULLPTR;
3658     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3659 
3660     {
3661          ::wxEvent* event;
3662         sip_ScrolledWindowBase *sipCpp;
3663 
3664         static const char *sipKwdList[] = {
3665             sipName_event,
3666         };
3667 
3668         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxEvent, &event))
3669         {
3670             bool sipRes;
3671 
3672             PyErr_Clear();
3673 
3674             Py_BEGIN_ALLOW_THREADS
3675             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
3676             Py_END_ALLOW_THREADS
3677 
3678             if (PyErr_Occurred())
3679                 return 0;
3680 
3681             return PyBool_FromLong(sipRes);
3682         }
3683     }
3684 
3685     /* Raise an exception if the arguments couldn't be parsed. */
3686     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_TryAfter, doc__ScrolledWindowBase_TryAfter);
3687 
3688     return SIP_NULLPTR;
3689 }
3690 
3691 
3692 PyDoc_STRVAR(doc__ScrolledWindowBase_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
3693 
3694 extern "C" {static PyObject *meth__ScrolledWindowBase_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)3695 static PyObject *meth__ScrolledWindowBase_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
3696 {
3697     PyObject *sipParseErr = SIP_NULLPTR;
3698 
3699     {
3700          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
3701 
3702         static const char *sipKwdList[] = {
3703             sipName_variant,
3704         };
3705 
3706         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
3707         {
3708              ::wxVisualAttributes*sipRes;
3709 
3710         if (!wxPyCheckForApp()) return NULL;
3711 
3712             PyErr_Clear();
3713 
3714             Py_BEGIN_ALLOW_THREADS
3715             sipRes = new  ::wxVisualAttributes( ::_ScrolledWindowBase::GetClassDefaultAttributes(variant));
3716             Py_END_ALLOW_THREADS
3717 
3718             if (PyErr_Occurred())
3719                 return 0;
3720 
3721             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
3722         }
3723     }
3724 
3725     /* Raise an exception if the arguments couldn't be parsed. */
3726     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
3727 
3728     return SIP_NULLPTR;
3729 }
3730 
3731 
3732 PyDoc_STRVAR(doc__ScrolledWindowBase_GetSizeAvailableForScrollTarget, "GetSizeAvailableForScrollTarget(size) -> Size\n"
3733 "\n"
3734 "Function which must be overridden to implement the size available for\n"
3735 "the scroll target for the given size of the main window.");
3736 
3737 extern "C" {static PyObject *meth__ScrolledWindowBase_GetSizeAvailableForScrollTarget(PyObject *, PyObject *, PyObject *);}
meth__ScrolledWindowBase_GetSizeAvailableForScrollTarget(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3738 static PyObject *meth__ScrolledWindowBase_GetSizeAvailableForScrollTarget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3739 {
3740     PyObject *sipParseErr = SIP_NULLPTR;
3741     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3742 
3743     {
3744         const  ::wxSize* size;
3745         int sizeState = 0;
3746         sip_ScrolledWindowBase *sipCpp;
3747 
3748         static const char *sipKwdList[] = {
3749             sipName_size,
3750         };
3751 
3752         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType__ScrolledWindowBase, &sipCpp, sipType_wxSize, &size, &sizeState))
3753         {
3754              ::wxSize*sipRes;
3755 
3756             PyErr_Clear();
3757 
3758             Py_BEGIN_ALLOW_THREADS
3759             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_GetSizeAvailableForScrollTarget(sipSelfWasArg,*size));
3760             Py_END_ALLOW_THREADS
3761             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
3762 
3763             if (PyErr_Occurred())
3764                 return 0;
3765 
3766             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3767         }
3768     }
3769 
3770     /* Raise an exception if the arguments couldn't be parsed. */
3771     sipNoMethod(sipParseErr, sipName__ScrolledWindowBase, sipName_GetSizeAvailableForScrollTarget, SIP_NULLPTR);
3772 
3773     return SIP_NULLPTR;
3774 }
3775 
3776 
3777 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
3778 extern "C" {static void *cast__ScrolledWindowBase(void *, const sipTypeDef *);}
cast__ScrolledWindowBase(void * sipCppV,const sipTypeDef * targetType)3779 static void *cast__ScrolledWindowBase(void *sipCppV, const sipTypeDef *targetType)
3780 {
3781      ::_ScrolledWindowBase *sipCpp = reinterpret_cast< ::_ScrolledWindowBase *>(sipCppV);
3782 
3783     if (targetType == sipType_wxWindow)
3784         return static_cast< ::wxWindow *>(sipCpp);
3785 
3786     if (targetType == sipType_wxWindowBase)
3787         return static_cast< ::wxWindowBase *>(sipCpp);
3788 
3789     if (targetType == sipType_wxEvtHandler)
3790         return static_cast< ::wxEvtHandler *>(sipCpp);
3791 
3792     if (targetType == sipType_wxObject)
3793         return static_cast< ::wxObject *>(sipCpp);
3794 
3795     if (targetType == sipType_wxTrackable)
3796         return static_cast< ::wxTrackable *>(sipCpp);
3797 
3798     return sipCppV;
3799 }
3800 
3801 
3802 /* Call the instance's destructor. */
3803 extern "C" {static void release__ScrolledWindowBase(void *, int);}
release__ScrolledWindowBase(void * sipCppV,int sipState)3804 static void release__ScrolledWindowBase(void *sipCppV, int sipState)
3805 {
3806     Py_BEGIN_ALLOW_THREADS
3807 
3808     if (sipState & SIP_DERIVED_CLASS)
3809         delete reinterpret_cast<sip_ScrolledWindowBase *>(sipCppV);
3810     else
3811         delete reinterpret_cast<wxScrolled<wxPanel> *>(sipCppV);
3812 
3813     Py_END_ALLOW_THREADS
3814 }
3815 
3816 
3817 extern "C" {static void dealloc__ScrolledWindowBase(sipSimpleWrapper *);}
dealloc__ScrolledWindowBase(sipSimpleWrapper * sipSelf)3818 static void dealloc__ScrolledWindowBase(sipSimpleWrapper *sipSelf)
3819 {
3820     if (sipIsDerivedClass(sipSelf))
3821         reinterpret_cast<sip_ScrolledWindowBase *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
3822 
3823     if (sipIsOwnedByPython(sipSelf))
3824     {
3825         release__ScrolledWindowBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
3826     }
3827 }
3828 
3829 
3830 extern "C" {static void *init_type__ScrolledWindowBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type__ScrolledWindowBase(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)3831 static void *init_type__ScrolledWindowBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
3832 {
3833     sip_ScrolledWindowBase *sipCpp = SIP_NULLPTR;
3834 
3835     {
3836         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
3837         {
3838 
3839         if (!wxPyCheckForApp()) return NULL;
3840 
3841             PyErr_Clear();
3842 
3843             Py_BEGIN_ALLOW_THREADS
3844             sipCpp = new sip_ScrolledWindowBase();
3845             Py_END_ALLOW_THREADS
3846 
3847             if (PyErr_Occurred())
3848             {
3849                 delete sipCpp;
3850                 return SIP_NULLPTR;
3851             }
3852 
3853             sipCpp->sipPySelf = sipSelf;
3854 
3855             return sipCpp;
3856         }
3857     }
3858 
3859     {
3860          ::wxWindow* parent;
3861          ::wxWindowID id = -1;
3862         const  ::wxPoint& posdef = wxDefaultPosition;
3863         const  ::wxPoint* pos = &posdef;
3864         int posState = 0;
3865         const  ::wxSize& sizedef = wxDefaultSize;
3866         const  ::wxSize* size = &sizedef;
3867         int sizeState = 0;
3868         long style = wxHSCROLL|wxVSCROLL;
3869         const  ::wxString& namedef = "scrolledWindow";
3870         const  ::wxString* name = &namedef;
3871         int nameState = 0;
3872 
3873         static const char *sipKwdList[] = {
3874             sipName_parent,
3875             sipName_id,
3876             sipName_pos,
3877             sipName_size,
3878             sipName_style,
3879             sipName_name,
3880         };
3881 
3882         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1lJ1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
3883         {
3884 
3885         if (!wxPyCheckForApp()) return NULL;
3886 
3887             PyErr_Clear();
3888 
3889             Py_BEGIN_ALLOW_THREADS
3890             sipCpp = new sip_ScrolledWindowBase(parent,id,*pos,*size,style,*name);
3891             Py_END_ALLOW_THREADS
3892             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
3893             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
3894             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
3895 
3896             if (PyErr_Occurred())
3897             {
3898                 delete sipCpp;
3899                 return SIP_NULLPTR;
3900             }
3901 
3902             sipCpp->sipPySelf = sipSelf;
3903 
3904             return sipCpp;
3905         }
3906     }
3907 
3908     return SIP_NULLPTR;
3909 }
3910 
3911 
3912 /* Define this type's super-types. */
3913 static sipEncodedTypeDef supers__ScrolledWindowBase[] = {{570, 255, 1}};
3914 
3915 
3916 static PyMethodDef methods__ScrolledWindowBase[] = {
3917     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth__ScrolledWindowBase_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_AcceptsFocus)},
3918     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth__ScrolledWindowBase_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_AcceptsFocusFromKeyboard)},
3919     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth__ScrolledWindowBase_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_AcceptsFocusRecursively)},
3920     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth__ScrolledWindowBase_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_AddChild)},
3921     {SIP_MLNAME_CAST(sipName_AdjustScrollbars), meth__ScrolledWindowBase_AdjustScrollbars, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_AdjustScrollbars)},
3922     {SIP_MLNAME_CAST(sipName_CalcScrolledPosition), SIP_MLMETH_CAST(meth__ScrolledWindowBase_CalcScrolledPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_CalcScrolledPosition)},
3923     {SIP_MLNAME_CAST(sipName_CalcUnscrolledPosition), SIP_MLMETH_CAST(meth__ScrolledWindowBase_CalcUnscrolledPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_CalcUnscrolledPosition)},
3924     {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth__ScrolledWindowBase_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_Create)},
3925     {SIP_MLNAME_CAST(sipName_Destroy), meth__ScrolledWindowBase_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_Destroy)},
3926     {SIP_MLNAME_CAST(sipName_DisableKeyboardScrolling), meth__ScrolledWindowBase_DisableKeyboardScrolling, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DisableKeyboardScrolling)},
3927     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoEnable)},
3928     {SIP_MLNAME_CAST(sipName_DoFreeze), meth__ScrolledWindowBase_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoFreeze)},
3929     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth__ScrolledWindowBase_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetBestClientSize)},
3930     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth__ScrolledWindowBase_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetBestSize)},
3931     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth__ScrolledWindowBase_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetBorderSize)},
3932     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetClientSize)},
3933     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetPosition)},
3934     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoGetSize)},
3935     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoMoveWindow)},
3936     {SIP_MLNAME_CAST(sipName_DoPrepareDC), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoPrepareDC), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoPrepareDC)},
3937     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoSetClientSize)},
3938     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoSetSize)},
3939     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoSetSizeHints)},
3940     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth__ScrolledWindowBase_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoSetWindowVariant)},
3941     {SIP_MLNAME_CAST(sipName_DoThaw), meth__ScrolledWindowBase_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_DoThaw)},
3942     {SIP_MLNAME_CAST(sipName_EnableScrolling), SIP_MLMETH_CAST(meth__ScrolledWindowBase_EnableScrolling), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_EnableScrolling)},
3943     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetClassDefaultAttributes)},
3944     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth__ScrolledWindowBase_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetClientAreaOrigin)},
3945     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth__ScrolledWindowBase_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetDefaultBorder)},
3946     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth__ScrolledWindowBase_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetDefaultBorderForControl)},
3947     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth__ScrolledWindowBase_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetMainWindowOfCompositeControl)},
3948     {SIP_MLNAME_CAST(sipName_GetScaleX), meth__ScrolledWindowBase_GetScaleX, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetScaleX)},
3949     {SIP_MLNAME_CAST(sipName_GetScaleY), meth__ScrolledWindowBase_GetScaleY, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetScaleY)},
3950     {SIP_MLNAME_CAST(sipName_GetScrollLines), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetScrollLines), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetScrollLines)},
3951     {SIP_MLNAME_CAST(sipName_GetScrollPageSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetScrollPageSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetScrollPageSize)},
3952     {SIP_MLNAME_CAST(sipName_GetScrollPixelsPerUnit), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetScrollPixelsPerUnit), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetScrollPixelsPerUnit)},
3953     {SIP_MLNAME_CAST(sipName_GetSizeAvailableForScrollTarget), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetSizeAvailableForScrollTarget), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetSizeAvailableForScrollTarget)},
3954     {SIP_MLNAME_CAST(sipName_GetTargetRect), meth__ScrolledWindowBase_GetTargetRect, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetTargetRect)},
3955     {SIP_MLNAME_CAST(sipName_GetTargetWindow), meth__ScrolledWindowBase_GetTargetWindow, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetTargetWindow)},
3956     {SIP_MLNAME_CAST(sipName_GetValidator), meth__ScrolledWindowBase_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetValidator)},
3957     {SIP_MLNAME_CAST(sipName_GetViewStart), SIP_MLMETH_CAST(meth__ScrolledWindowBase_GetViewStart), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_GetViewStart)},
3958     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth__ScrolledWindowBase_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_HasTransparentBackground)},
3959     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth__ScrolledWindowBase_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_InformFirstDirection)},
3960     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth__ScrolledWindowBase_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_InheritAttributes)},
3961     {SIP_MLNAME_CAST(sipName_InitDialog), meth__ScrolledWindowBase_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_InitDialog)},
3962     {SIP_MLNAME_CAST(sipName_IsAutoScrolling), meth__ScrolledWindowBase_IsAutoScrolling, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_IsAutoScrolling)},
3963     {SIP_MLNAME_CAST(sipName_IsRetained), meth__ScrolledWindowBase_IsRetained, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_IsRetained)},
3964     {SIP_MLNAME_CAST(sipName_OnDraw), SIP_MLMETH_CAST(meth__ScrolledWindowBase_OnDraw), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_OnDraw)},
3965     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth__ScrolledWindowBase_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_OnInternalIdle)},
3966     {SIP_MLNAME_CAST(sipName_PrepareDC), SIP_MLMETH_CAST(meth__ScrolledWindowBase_PrepareDC), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_PrepareDC)},
3967     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth__ScrolledWindowBase_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_ProcessEvent)},
3968     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth__ScrolledWindowBase_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_RemoveChild)},
3969     {SIP_MLNAME_CAST(sipName_Scroll), SIP_MLMETH_CAST(meth__ScrolledWindowBase_Scroll), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_Scroll)},
3970     {SIP_MLNAME_CAST(sipName_SendAutoScrollEvents), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SendAutoScrollEvents), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SendAutoScrollEvents)},
3971     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth__ScrolledWindowBase_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
3972     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetCanFocus)},
3973     {SIP_MLNAME_CAST(sipName_SetScale), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetScale), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetScale)},
3974     {SIP_MLNAME_CAST(sipName_SetScrollPageSize), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetScrollPageSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetScrollPageSize)},
3975     {SIP_MLNAME_CAST(sipName_SetScrollRate), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetScrollRate), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetScrollRate)},
3976     {SIP_MLNAME_CAST(sipName_SetScrollbars), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetScrollbars), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetScrollbars)},
3977     {SIP_MLNAME_CAST(sipName_SetTargetRect), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetTargetRect), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetTargetRect)},
3978     {SIP_MLNAME_CAST(sipName_SetTargetWindow), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetTargetWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetTargetWindow)},
3979     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth__ScrolledWindowBase_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_SetValidator)},
3980     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth__ScrolledWindowBase_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_ShouldInheritColours)},
3981     {SIP_MLNAME_CAST(sipName_ShowScrollbars), SIP_MLMETH_CAST(meth__ScrolledWindowBase_ShowScrollbars), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_ShowScrollbars)},
3982     {SIP_MLNAME_CAST(sipName_StopAutoScrolling), meth__ScrolledWindowBase_StopAutoScrolling, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_StopAutoScrolling)},
3983     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth__ScrolledWindowBase_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_TransferDataFromWindow)},
3984     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth__ScrolledWindowBase_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_TransferDataToWindow)},
3985     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth__ScrolledWindowBase_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_TryAfter)},
3986     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth__ScrolledWindowBase_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_TryBefore)},
3987     {SIP_MLNAME_CAST(sipName_Validate), meth__ScrolledWindowBase_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc__ScrolledWindowBase_Validate)}
3988 };
3989 
3990 sipVariableDef variables__ScrolledWindowBase[] = {
3991     {PropertyVariable, sipName_TargetWindow, &methods__ScrolledWindowBase[38], &methods__ScrolledWindowBase[61], SIP_NULLPTR, SIP_NULLPTR},
3992     {PropertyVariable, sipName_TargetRect, &methods__ScrolledWindowBase[37], &methods__ScrolledWindowBase[60], SIP_NULLPTR, SIP_NULLPTR},
3993     {PropertyVariable, sipName_ScaleY, &methods__ScrolledWindowBase[32], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3994     {PropertyVariable, sipName_ScaleX, &methods__ScrolledWindowBase[31], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3995 };
3996 
3997 PyDoc_STRVAR(doc__ScrolledWindowBase, "Scrolled()\n"
3998 "Scrolled(parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=HSCROLL|VSCROLL, name=\"scrolledWindow\")\n"
3999 "\n"
4000 "The wxScrolled class manages scrolling for its client area,\n"
4001 "transforming the coordinates according to the scrollbar positions, and\n"
4002 "setting the scroll positions, thumb sizes and ranges according to the\n"
4003 "area in view.");
4004 
4005 
4006 sipClassTypeDef sipTypeDef__core__ScrolledWindowBase = {
4007     {
4008         -1,
4009         SIP_NULLPTR,
4010         SIP_NULLPTR,
4011         SIP_TYPE_SCC|SIP_TYPE_CLASS,
4012         sipNameNr__ScrolledWindowBase,
4013         {SIP_NULLPTR},
4014         SIP_NULLPTR
4015     },
4016     {
4017         sipNameNr__ScrolledWindowBase,
4018         {0, 0, 1},
4019         71, methods__ScrolledWindowBase,
4020         0, SIP_NULLPTR,
4021         4, variables__ScrolledWindowBase,
4022         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
4023     },
4024     doc__ScrolledWindowBase,
4025     -1,
4026     -1,
4027     supers__ScrolledWindowBase,
4028     SIP_NULLPTR,
4029     init_type__ScrolledWindowBase,
4030     SIP_NULLPTR,
4031     SIP_NULLPTR,
4032 #if PY_MAJOR_VERSION >= 3
4033     SIP_NULLPTR,
4034     SIP_NULLPTR,
4035 #else
4036     SIP_NULLPTR,
4037     SIP_NULLPTR,
4038     SIP_NULLPTR,
4039     SIP_NULLPTR,
4040 #endif
4041     dealloc__ScrolledWindowBase,
4042     SIP_NULLPTR,
4043     SIP_NULLPTR,
4044     SIP_NULLPTR,
4045     release__ScrolledWindowBase,
4046     cast__ScrolledWindowBase,
4047     SIP_NULLPTR,
4048     SIP_NULLPTR,
4049     SIP_NULLPTR,
4050     SIP_NULLPTR,
4051     SIP_NULLPTR,
4052     SIP_NULLPTR
4053 };
4054