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/headerctrl.h>
13 
14         #include <wx/window.h>
15         #include <wx/gdicmn.h>
16         #include <wx/gdicmn.h>
17         #include <wx/headercol.h>
18         #include <wx/window.h>
19         #include <wx/event.h>
20         #include <wx/validate.h>
21         #include <wx/headercol.h>
22         #include <wx/menu.h>
23         #include <wx/dc.h>
24         #include <wx/event.h>
25         #include <wx/event.h>
26     #include <wx/setup.h>
27     #include <wxPython/wxpy_api.h>
28         #include <wx/event.h>
29         #include <wx/cursor.h>
30         #include <wx/caret.h>
31         #include <wx/layout.h>
32         #include <wx/sizer.h>
33         #include <wx/dnd.h>
34         #include <wx/access.h>
35         #include <wx/accel.h>
36         #include <wx/tooltip.h>
37         #include <wx/event.h>
38         #include <wx/gdicmn.h>
39         #include <wx/event.h>
40         #include <wx/event.h>
41         #include <wx/palette.h>
42         #include <wx/colour.h>
43         #include <wx/font.h>
44         #include <wx/region.h>
45 
46         #include <wx/eventfilter.h>
47         #include <wx/object.h>
48         #include <wx/object.h>
49         #include <wx/object.h>
50 
51 
52 class sipwxHeaderCtrlSimple : public  ::wxHeaderCtrlSimple
53 {
54 public:
55     sipwxHeaderCtrlSimple();
56     sipwxHeaderCtrlSimple( ::wxWindow*, ::wxWindowID,const  ::wxPoint&,const  ::wxSize&,long,const  ::wxString&);
57     virtual ~sipwxHeaderCtrlSimple();
58 
59     /*
60      * There is a public method for every protected method visible from
61      * this class.
62      */
63     void sipProtect_SendDestroyEvent();
64     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
65     void sipProtectVirt_DoEnable(bool,bool);
66     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
67     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
68     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
69      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
70      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
71     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
72     void sipProtectVirt_DoSetClientSize(bool,int,int);
73     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
74      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
75     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
76     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
77      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
78      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
79     void sipProtectVirt_DoFreeze(bool);
80     void sipProtectVirt_DoThaw(bool);
81     bool sipProtectVirt_HasTransparentBackground(bool);
82     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
83     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
84     int sipProtectVirt_GetBestFittingWidth(bool,uint) const;
85     const  ::wxHeaderColumn& sipProtectVirt_GetColumn(bool,uint) const;
86     void sipProtectVirt_UpdateColumnVisibility(bool,uint,bool);
87     void sipProtectVirt_UpdateColumnsOrder(bool,const  ::wxArrayInt&);
88     bool sipProtectVirt_UpdateColumnWidthToFit(bool,uint,int);
89     void sipProtectVirt_OnColumnCountChanging(bool,uint);
90 
91     /*
92      * There is a protected method for every virtual method visible from
93      * this class.
94      */
95 protected:
96     int GetBestFittingWidth(uint) const SIP_OVERRIDE;
97     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
98     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
99     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
100     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
101     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
102     bool AcceptsFocus() const SIP_OVERRIDE;
103     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
104     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
105     void SetCanFocus(bool) SIP_OVERRIDE;
106     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
107      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
108     bool HasTransparentBackground() SIP_OVERRIDE;
109     bool ShouldInheritColours() const SIP_OVERRIDE;
110      ::wxValidator* GetValidator() SIP_OVERRIDE;
111     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
112     bool TransferDataFromWindow() SIP_OVERRIDE;
113     bool TransferDataToWindow() SIP_OVERRIDE;
114     bool Validate() SIP_OVERRIDE;
115     bool Destroy() SIP_OVERRIDE;
116     void InheritAttributes() SIP_OVERRIDE;
117     void InitDialog() SIP_OVERRIDE;
118     void OnInternalIdle() SIP_OVERRIDE;
119      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
120     void DoEnable(bool) SIP_OVERRIDE;
121     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
122     void DoGetSize(int*,int*) const SIP_OVERRIDE;
123     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
124     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
125     void DoSetClientSize(int,int) SIP_OVERRIDE;
126     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
127      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
128     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
129     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
130      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
131      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
132     void DoFreeze() SIP_OVERRIDE;
133     void DoThaw() SIP_OVERRIDE;
134      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
135      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
136     const  ::wxHeaderColumn& GetColumn(uint) const SIP_OVERRIDE;
137     void UpdateColumnVisibility(uint,bool) SIP_OVERRIDE;
138     void UpdateColumnsOrder(const  ::wxArrayInt&) SIP_OVERRIDE;
139     bool UpdateColumnWidthToFit(uint,int) SIP_OVERRIDE;
140     void OnColumnCountChanging(uint) SIP_OVERRIDE;
141 
142 public:
143     sipSimpleWrapper *sipPySelf;
144 
145 private:
146     sipwxHeaderCtrlSimple(const sipwxHeaderCtrlSimple &);
147     sipwxHeaderCtrlSimple &operator = (const sipwxHeaderCtrlSimple &);
148 
149     char sipPyMethods[45];
150 };
151 
sipwxHeaderCtrlSimple()152 sipwxHeaderCtrlSimple::sipwxHeaderCtrlSimple():  ::wxHeaderCtrlSimple(), sipPySelf(SIP_NULLPTR)
153 {
154     memset(sipPyMethods, 0, sizeof (sipPyMethods));
155 }
156 
sipwxHeaderCtrlSimple(::wxWindow * parent,::wxWindowID winid,const::wxPoint & pos,const::wxSize & size,long style,const::wxString & name)157 sipwxHeaderCtrlSimple::sipwxHeaderCtrlSimple( ::wxWindow*parent, ::wxWindowID winid,const  ::wxPoint& pos,const  ::wxSize& size,long style,const  ::wxString& name):  ::wxHeaderCtrlSimple(parent,winid,pos,size,style,name), sipPySelf(SIP_NULLPTR)
158 {
159     memset(sipPyMethods, 0, sizeof (sipPyMethods));
160 }
161 
~sipwxHeaderCtrlSimple()162 sipwxHeaderCtrlSimple::~sipwxHeaderCtrlSimple()
163 {
164     sipInstanceDestroyedEx(&sipPySelf);
165 }
166 
GetBestFittingWidth(uint idx) const167 int sipwxHeaderCtrlSimple::GetBestFittingWidth(uint idx) const
168 {
169     sip_gilstate_t sipGILState;
170     PyObject *sipMeth;
171 
172     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_GetBestFittingWidth);
173 
174     if (!sipMeth)
175         return  ::wxHeaderCtrlSimple::GetBestFittingWidth(idx);
176 
177     extern int sipVH__core_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
178 
179     return sipVH__core_157(sipGILState, 0, sipPySelf, sipMeth, idx);
180 }
181 
RemoveChild(::wxWindowBase * child)182 void sipwxHeaderCtrlSimple::RemoveChild( ::wxWindowBase*child)
183 {
184     sip_gilstate_t sipGILState;
185     PyObject *sipMeth;
186 
187     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
188 
189     if (!sipMeth)
190     {
191          ::wxHeaderCtrlSimple::RemoveChild(child);
192         return;
193     }
194 
195     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
196 
197     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
198 }
199 
AddChild(::wxWindowBase * child)200 void sipwxHeaderCtrlSimple::AddChild( ::wxWindowBase*child)
201 {
202     sip_gilstate_t sipGILState;
203     PyObject *sipMeth;
204 
205     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_AddChild);
206 
207     if (!sipMeth)
208     {
209          ::wxHeaderCtrlSimple::AddChild(child);
210         return;
211     }
212 
213     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
214 
215     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
216 }
217 
ProcessEvent(::wxEvent & event)218 bool sipwxHeaderCtrlSimple::ProcessEvent( ::wxEvent& event)
219 {
220     sip_gilstate_t sipGILState;
221     PyObject *sipMeth;
222 
223     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
224 
225     if (!sipMeth)
226         return  ::wxHeaderCtrlSimple::ProcessEvent(event);
227 
228     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
229 
230     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
231 }
232 
TryBefore(::wxEvent & event)233 bool sipwxHeaderCtrlSimple::TryBefore( ::wxEvent& event)
234 {
235     sip_gilstate_t sipGILState;
236     PyObject *sipMeth;
237 
238     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
239 
240     if (!sipMeth)
241         return  ::wxHeaderCtrlSimple::TryBefore(event);
242 
243     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
244 
245     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
246 }
247 
TryAfter(::wxEvent & event)248 bool sipwxHeaderCtrlSimple::TryAfter( ::wxEvent& event)
249 {
250     sip_gilstate_t sipGILState;
251     PyObject *sipMeth;
252 
253     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
254 
255     if (!sipMeth)
256         return  ::wxHeaderCtrlSimple::TryAfter(event);
257 
258     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
259 
260     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
261 }
262 
AcceptsFocus() const263 bool sipwxHeaderCtrlSimple::AcceptsFocus() const
264 {
265     sip_gilstate_t sipGILState;
266     PyObject *sipMeth;
267 
268     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
269 
270     if (!sipMeth)
271         return  ::wxHeaderCtrlSimple::AcceptsFocus();
272 
273     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
274 
275     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
276 }
277 
AcceptsFocusFromKeyboard() const278 bool sipwxHeaderCtrlSimple::AcceptsFocusFromKeyboard() const
279 {
280     sip_gilstate_t sipGILState;
281     PyObject *sipMeth;
282 
283     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
284 
285     if (!sipMeth)
286         return  ::wxHeaderCtrlSimple::AcceptsFocusFromKeyboard();
287 
288     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
289 
290     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
291 }
292 
AcceptsFocusRecursively() const293 bool sipwxHeaderCtrlSimple::AcceptsFocusRecursively() const
294 {
295     sip_gilstate_t sipGILState;
296     PyObject *sipMeth;
297 
298     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
299 
300     if (!sipMeth)
301         return  ::wxHeaderCtrlSimple::AcceptsFocusRecursively();
302 
303     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
304 
305     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
306 }
307 
SetCanFocus(bool canFocus)308 void sipwxHeaderCtrlSimple::SetCanFocus(bool canFocus)
309 {
310     sip_gilstate_t sipGILState;
311     PyObject *sipMeth;
312 
313     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
314 
315     if (!sipMeth)
316     {
317          ::wxHeaderCtrlSimple::SetCanFocus(canFocus);
318         return;
319     }
320 
321     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
322 
323     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
324 }
325 
InformFirstDirection(int direction,int size,int availableOtherDir)326 bool sipwxHeaderCtrlSimple::InformFirstDirection(int direction,int size,int availableOtherDir)
327 {
328     sip_gilstate_t sipGILState;
329     PyObject *sipMeth;
330 
331     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
332 
333     if (!sipMeth)
334         return  ::wxHeaderCtrlSimple::InformFirstDirection(direction,size,availableOtherDir);
335 
336     extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
337 
338     return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
339 }
340 
GetClientAreaOrigin() const341  ::wxPoint sipwxHeaderCtrlSimple::GetClientAreaOrigin() const
342 {
343     sip_gilstate_t sipGILState;
344     PyObject *sipMeth;
345 
346     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
347 
348     if (!sipMeth)
349         return  ::wxHeaderCtrlSimple::GetClientAreaOrigin();
350 
351     extern  ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
352 
353     return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
354 }
355 
HasTransparentBackground()356 bool sipwxHeaderCtrlSimple::HasTransparentBackground()
357 {
358     sip_gilstate_t sipGILState;
359     PyObject *sipMeth;
360 
361     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
362 
363     if (!sipMeth)
364         return  ::wxHeaderCtrlSimple::HasTransparentBackground();
365 
366     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
367 
368     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
369 }
370 
ShouldInheritColours() const371 bool sipwxHeaderCtrlSimple::ShouldInheritColours() const
372 {
373     sip_gilstate_t sipGILState;
374     PyObject *sipMeth;
375 
376     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
377 
378     if (!sipMeth)
379         return  ::wxHeaderCtrlSimple::ShouldInheritColours();
380 
381     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
382 
383     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
384 }
385 
GetValidator()386  ::wxValidator* sipwxHeaderCtrlSimple::GetValidator()
387 {
388     sip_gilstate_t sipGILState;
389     PyObject *sipMeth;
390 
391     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
392 
393     if (!sipMeth)
394         return  ::wxHeaderCtrlSimple::GetValidator();
395 
396     extern  ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
397 
398     return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
399 }
400 
SetValidator(const::wxValidator & validator)401 void sipwxHeaderCtrlSimple::SetValidator(const  ::wxValidator& validator)
402 {
403     sip_gilstate_t sipGILState;
404     PyObject *sipMeth;
405 
406     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
407 
408     if (!sipMeth)
409     {
410          ::wxHeaderCtrlSimple::SetValidator(validator);
411         return;
412     }
413 
414     extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
415 
416     sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
417 }
418 
TransferDataFromWindow()419 bool sipwxHeaderCtrlSimple::TransferDataFromWindow()
420 {
421     sip_gilstate_t sipGILState;
422     PyObject *sipMeth;
423 
424     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
425 
426     if (!sipMeth)
427         return  ::wxHeaderCtrlSimple::TransferDataFromWindow();
428 
429     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
430 
431     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
432 }
433 
TransferDataToWindow()434 bool sipwxHeaderCtrlSimple::TransferDataToWindow()
435 {
436     sip_gilstate_t sipGILState;
437     PyObject *sipMeth;
438 
439     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
440 
441     if (!sipMeth)
442         return  ::wxHeaderCtrlSimple::TransferDataToWindow();
443 
444     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
445 
446     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
447 }
448 
Validate()449 bool sipwxHeaderCtrlSimple::Validate()
450 {
451     sip_gilstate_t sipGILState;
452     PyObject *sipMeth;
453 
454     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_Validate);
455 
456     if (!sipMeth)
457         return  ::wxHeaderCtrlSimple::Validate();
458 
459     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
460 
461     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
462 }
463 
Destroy()464 bool sipwxHeaderCtrlSimple::Destroy()
465 {
466     sip_gilstate_t sipGILState;
467     PyObject *sipMeth;
468 
469     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_Destroy);
470 
471     if (!sipMeth)
472         return  ::wxHeaderCtrlSimple::Destroy();
473 
474     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
475 
476     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
477 }
478 
InheritAttributes()479 void sipwxHeaderCtrlSimple::InheritAttributes()
480 {
481     sip_gilstate_t sipGILState;
482     PyObject *sipMeth;
483 
484     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
485 
486     if (!sipMeth)
487     {
488          ::wxHeaderCtrlSimple::InheritAttributes();
489         return;
490     }
491 
492     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
493 
494     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
495 }
496 
InitDialog()497 void sipwxHeaderCtrlSimple::InitDialog()
498 {
499     sip_gilstate_t sipGILState;
500     PyObject *sipMeth;
501 
502     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
503 
504     if (!sipMeth)
505     {
506          ::wxHeaderCtrlSimple::InitDialog();
507         return;
508     }
509 
510     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
511 
512     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
513 }
514 
OnInternalIdle()515 void sipwxHeaderCtrlSimple::OnInternalIdle()
516 {
517     sip_gilstate_t sipGILState;
518     PyObject *sipMeth;
519 
520     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
521 
522     if (!sipMeth)
523     {
524          ::wxHeaderCtrlSimple::OnInternalIdle();
525         return;
526     }
527 
528     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
529 
530     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
531 }
532 
GetMainWindowOfCompositeControl()533  ::wxWindow* sipwxHeaderCtrlSimple::GetMainWindowOfCompositeControl()
534 {
535     sip_gilstate_t sipGILState;
536     PyObject *sipMeth;
537 
538     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
539 
540     if (!sipMeth)
541         return  ::wxHeaderCtrlSimple::GetMainWindowOfCompositeControl();
542 
543     extern  ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
544 
545     return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
546 }
547 
DoEnable(bool enable)548 void sipwxHeaderCtrlSimple::DoEnable(bool enable)
549 {
550     sip_gilstate_t sipGILState;
551     PyObject *sipMeth;
552 
553     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
554 
555     if (!sipMeth)
556     {
557          ::wxHeaderCtrlSimple::DoEnable(enable);
558         return;
559     }
560 
561     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
562 
563     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
564 }
565 
DoGetPosition(int * x,int * y) const566 void sipwxHeaderCtrlSimple::DoGetPosition(int*x,int*y) const
567 {
568     sip_gilstate_t sipGILState;
569     PyObject *sipMeth;
570 
571     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
572 
573     if (!sipMeth)
574     {
575          ::wxHeaderCtrlSimple::DoGetPosition(x,y);
576         return;
577     }
578 
579     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
580 
581     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
582 }
583 
DoGetSize(int * width,int * height) const584 void sipwxHeaderCtrlSimple::DoGetSize(int*width,int*height) const
585 {
586     sip_gilstate_t sipGILState;
587     PyObject *sipMeth;
588 
589     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
590 
591     if (!sipMeth)
592     {
593          ::wxHeaderCtrlSimple::DoGetSize(width,height);
594         return;
595     }
596 
597     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
598 
599     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
600 }
601 
DoGetClientSize(int * width,int * height) const602 void sipwxHeaderCtrlSimple::DoGetClientSize(int*width,int*height) const
603 {
604     sip_gilstate_t sipGILState;
605     PyObject *sipMeth;
606 
607     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
608 
609     if (!sipMeth)
610     {
611          ::wxHeaderCtrlSimple::DoGetClientSize(width,height);
612         return;
613     }
614 
615     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
616 
617     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
618 }
619 
DoSetSize(int x,int y,int width,int height,int sizeFlags)620 void sipwxHeaderCtrlSimple::DoSetSize(int x,int y,int width,int height,int sizeFlags)
621 {
622     sip_gilstate_t sipGILState;
623     PyObject *sipMeth;
624 
625     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
626 
627     if (!sipMeth)
628     {
629          ::wxHeaderCtrlSimple::DoSetSize(x,y,width,height,sizeFlags);
630         return;
631     }
632 
633     extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
634 
635     sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
636 }
637 
DoSetClientSize(int width,int height)638 void sipwxHeaderCtrlSimple::DoSetClientSize(int width,int height)
639 {
640     sip_gilstate_t sipGILState;
641     PyObject *sipMeth;
642 
643     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
644 
645     if (!sipMeth)
646     {
647          ::wxHeaderCtrlSimple::DoSetClientSize(width,height);
648         return;
649     }
650 
651     extern void sipVH__core_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
652 
653     sipVH__core_118(sipGILState, 0, sipPySelf, sipMeth, width, height);
654 }
655 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)656 void sipwxHeaderCtrlSimple::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
657 {
658     sip_gilstate_t sipGILState;
659     PyObject *sipMeth;
660 
661     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
662 
663     if (!sipMeth)
664     {
665          ::wxHeaderCtrlSimple::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
666         return;
667     }
668 
669     extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
670 
671     sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
672 }
673 
DoGetBorderSize() const674  ::wxSize sipwxHeaderCtrlSimple::DoGetBorderSize() const
675 {
676     sip_gilstate_t sipGILState;
677     PyObject *sipMeth;
678 
679     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
680 
681     if (!sipMeth)
682         return  ::wxHeaderCtrlSimple::DoGetBorderSize();
683 
684     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
685 
686     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
687 }
688 
DoMoveWindow(int x,int y,int width,int height)689 void sipwxHeaderCtrlSimple::DoMoveWindow(int x,int y,int width,int height)
690 {
691     sip_gilstate_t sipGILState;
692     PyObject *sipMeth;
693 
694     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
695 
696     if (!sipMeth)
697     {
698          ::wxHeaderCtrlSimple::DoMoveWindow(x,y,width,height);
699         return;
700     }
701 
702     extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
703 
704     sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
705 }
706 
DoSetWindowVariant(::wxWindowVariant variant)707 void sipwxHeaderCtrlSimple::DoSetWindowVariant( ::wxWindowVariant variant)
708 {
709     sip_gilstate_t sipGILState;
710     PyObject *sipMeth;
711 
712     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
713 
714     if (!sipMeth)
715     {
716          ::wxHeaderCtrlSimple::DoSetWindowVariant(variant);
717         return;
718     }
719 
720     extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
721 
722     sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
723 }
724 
GetDefaultBorder() const725  ::wxBorder sipwxHeaderCtrlSimple::GetDefaultBorder() const
726 {
727     sip_gilstate_t sipGILState;
728     PyObject *sipMeth;
729 
730     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
731 
732     if (!sipMeth)
733         return  ::wxHeaderCtrlSimple::GetDefaultBorder();
734 
735     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
736 
737     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
738 }
739 
GetDefaultBorderForControl() const740  ::wxBorder sipwxHeaderCtrlSimple::GetDefaultBorderForControl() const
741 {
742     sip_gilstate_t sipGILState;
743     PyObject *sipMeth;
744 
745     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
746 
747     if (!sipMeth)
748         return  ::wxHeaderCtrlSimple::GetDefaultBorderForControl();
749 
750     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
751 
752     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
753 }
754 
DoFreeze()755 void sipwxHeaderCtrlSimple::DoFreeze()
756 {
757     sip_gilstate_t sipGILState;
758     PyObject *sipMeth;
759 
760     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
761 
762     if (!sipMeth)
763     {
764          ::wxHeaderCtrlSimple::DoFreeze();
765         return;
766     }
767 
768     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
769 
770     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
771 }
772 
DoThaw()773 void sipwxHeaderCtrlSimple::DoThaw()
774 {
775     sip_gilstate_t sipGILState;
776     PyObject *sipMeth;
777 
778     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
779 
780     if (!sipMeth)
781     {
782          ::wxHeaderCtrlSimple::DoThaw();
783         return;
784     }
785 
786     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
787 
788     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
789 }
790 
DoGetBestSize() const791  ::wxSize sipwxHeaderCtrlSimple::DoGetBestSize() const
792 {
793     sip_gilstate_t sipGILState;
794     PyObject *sipMeth;
795 
796     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
797 
798     if (!sipMeth)
799         return  ::wxHeaderCtrlSimple::DoGetBestSize();
800 
801     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
802 
803     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
804 }
805 
DoGetBestClientSize() const806  ::wxSize sipwxHeaderCtrlSimple::DoGetBestClientSize() const
807 {
808     sip_gilstate_t sipGILState;
809     PyObject *sipMeth;
810 
811     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
812 
813     if (!sipMeth)
814         return  ::wxHeaderCtrlSimple::DoGetBestClientSize();
815 
816     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
817 
818     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
819 }
820 
GetColumn(uint idx) const821 const  ::wxHeaderColumn& sipwxHeaderCtrlSimple::GetColumn(uint idx) const
822 {
823     sip_gilstate_t sipGILState;
824     PyObject *sipMeth;
825 
826     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_GetColumn);
827 
828     if (!sipMeth)
829         return  ::wxHeaderCtrlSimple::GetColumn(idx);
830 
831     extern const  ::wxHeaderColumn& sipVH__core_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
832 
833     return sipVH__core_152(sipGILState, 0, sipPySelf, sipMeth, idx);
834 }
835 
UpdateColumnVisibility(uint idx,bool show)836 void sipwxHeaderCtrlSimple::UpdateColumnVisibility(uint idx,bool show)
837 {
838     sip_gilstate_t sipGILState;
839     PyObject *sipMeth;
840 
841     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_UpdateColumnVisibility);
842 
843     if (!sipMeth)
844     {
845          ::wxHeaderCtrlSimple::UpdateColumnVisibility(idx,show);
846         return;
847     }
848 
849     extern void sipVH__core_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,bool);
850 
851     sipVH__core_153(sipGILState, 0, sipPySelf, sipMeth, idx, show);
852 }
853 
UpdateColumnsOrder(const::wxArrayInt & order)854 void sipwxHeaderCtrlSimple::UpdateColumnsOrder(const  ::wxArrayInt& order)
855 {
856     sip_gilstate_t sipGILState;
857     PyObject *sipMeth;
858 
859     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,SIP_NULLPTR,sipName_UpdateColumnsOrder);
860 
861     if (!sipMeth)
862     {
863          ::wxHeaderCtrlSimple::UpdateColumnsOrder(order);
864         return;
865     }
866 
867     extern void sipVH__core_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxArrayInt&);
868 
869     sipVH__core_154(sipGILState, 0, sipPySelf, sipMeth, order);
870 }
871 
UpdateColumnWidthToFit(uint idx,int widthTitle)872 bool sipwxHeaderCtrlSimple::UpdateColumnWidthToFit(uint idx,int widthTitle)
873 {
874     sip_gilstate_t sipGILState;
875     PyObject *sipMeth;
876 
877     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,SIP_NULLPTR,sipName_UpdateColumnWidthToFit);
878 
879     if (!sipMeth)
880         return  ::wxHeaderCtrlSimple::UpdateColumnWidthToFit(idx,widthTitle);
881 
882     extern bool sipVH__core_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,int);
883 
884     return sipVH__core_155(sipGILState, 0, sipPySelf, sipMeth, idx, widthTitle);
885 }
886 
OnColumnCountChanging(uint count)887 void sipwxHeaderCtrlSimple::OnColumnCountChanging(uint count)
888 {
889     sip_gilstate_t sipGILState;
890     PyObject *sipMeth;
891 
892     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,SIP_NULLPTR,sipName_OnColumnCountChanging);
893 
894     if (!sipMeth)
895     {
896          ::wxHeaderCtrlSimple::OnColumnCountChanging(count);
897         return;
898     }
899 
900     extern void sipVH__core_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
901 
902     sipVH__core_156(sipGILState, 0, sipPySelf, sipMeth, count);
903 }
904 
sipProtect_SendDestroyEvent()905 void sipwxHeaderCtrlSimple::sipProtect_SendDestroyEvent()
906 {
907      ::wxWindow::SendDestroyEvent();
908 }
909 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)910 bool sipwxHeaderCtrlSimple::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
911 {
912     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::ProcessEvent(event) : ProcessEvent(event));
913 }
914 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)915 void sipwxHeaderCtrlSimple::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
916 {
917     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoEnable(enable) : DoEnable(enable));
918 }
919 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const920 void sipwxHeaderCtrlSimple::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
921 {
922     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetPosition(x,y) : DoGetPosition(x,y));
923 }
924 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const925 void sipwxHeaderCtrlSimple::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
926 {
927     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetSize(width,height) : DoGetSize(width,height));
928 }
929 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const930 void sipwxHeaderCtrlSimple::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
931 {
932     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetClientSize(width,height) : DoGetClientSize(width,height));
933 }
934 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const935  ::wxSize sipwxHeaderCtrlSimple::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
936 {
937     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetBestSize() : DoGetBestSize());
938 }
939 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const940  ::wxSize sipwxHeaderCtrlSimple::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
941 {
942     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetBestClientSize() : DoGetBestClientSize());
943 }
944 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)945 void sipwxHeaderCtrlSimple::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
946 {
947     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
948 }
949 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)950 void sipwxHeaderCtrlSimple::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
951 {
952     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoSetClientSize(width,height) : DoSetClientSize(width,height));
953 }
954 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)955 void sipwxHeaderCtrlSimple::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
956 {
957     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
958 }
959 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const960  ::wxSize sipwxHeaderCtrlSimple::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
961 {
962     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoGetBorderSize() : DoGetBorderSize());
963 }
964 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)965 void sipwxHeaderCtrlSimple::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
966 {
967     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
968 }
969 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)970 void sipwxHeaderCtrlSimple::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
971 {
972     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
973 }
974 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const975  ::wxBorder sipwxHeaderCtrlSimple::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
976 {
977     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::GetDefaultBorder() : GetDefaultBorder());
978 }
979 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const980  ::wxBorder sipwxHeaderCtrlSimple::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
981 {
982     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::GetDefaultBorderForControl() : GetDefaultBorderForControl());
983 }
984 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)985 void sipwxHeaderCtrlSimple::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
986 {
987     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoFreeze() : DoFreeze());
988 }
989 
sipProtectVirt_DoThaw(bool sipSelfWasArg)990 void sipwxHeaderCtrlSimple::sipProtectVirt_DoThaw(bool sipSelfWasArg)
991 {
992     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::DoThaw() : DoThaw());
993 }
994 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)995 bool sipwxHeaderCtrlSimple::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
996 {
997     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::HasTransparentBackground() : HasTransparentBackground());
998 }
999 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1000 bool sipwxHeaderCtrlSimple::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1001 {
1002     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::TryBefore(event) : TryBefore(event));
1003 }
1004 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1005 bool sipwxHeaderCtrlSimple::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1006 {
1007     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::TryAfter(event) : TryAfter(event));
1008 }
1009 
sipProtectVirt_GetBestFittingWidth(bool sipSelfWasArg,uint idx) const1010 int sipwxHeaderCtrlSimple::sipProtectVirt_GetBestFittingWidth(bool sipSelfWasArg,uint idx) const
1011 {
1012     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::GetBestFittingWidth(idx) : GetBestFittingWidth(idx));
1013 }
1014 
sipProtectVirt_GetColumn(bool sipSelfWasArg,uint idx) const1015 const  ::wxHeaderColumn& sipwxHeaderCtrlSimple::sipProtectVirt_GetColumn(bool sipSelfWasArg,uint idx) const
1016 {
1017     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::GetColumn(idx) : GetColumn(idx));
1018 }
1019 
sipProtectVirt_UpdateColumnVisibility(bool sipSelfWasArg,uint idx,bool show)1020 void sipwxHeaderCtrlSimple::sipProtectVirt_UpdateColumnVisibility(bool sipSelfWasArg,uint idx,bool show)
1021 {
1022     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::UpdateColumnVisibility(idx,show) : UpdateColumnVisibility(idx,show));
1023 }
1024 
sipProtectVirt_UpdateColumnsOrder(bool sipSelfWasArg,const::wxArrayInt & order)1025 void sipwxHeaderCtrlSimple::sipProtectVirt_UpdateColumnsOrder(bool sipSelfWasArg,const  ::wxArrayInt& order)
1026 {
1027     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::UpdateColumnsOrder(order) : UpdateColumnsOrder(order));
1028 }
1029 
sipProtectVirt_UpdateColumnWidthToFit(bool sipSelfWasArg,uint idx,int widthTitle)1030 bool sipwxHeaderCtrlSimple::sipProtectVirt_UpdateColumnWidthToFit(bool sipSelfWasArg,uint idx,int widthTitle)
1031 {
1032     return (sipSelfWasArg ?  ::wxHeaderCtrlSimple::UpdateColumnWidthToFit(idx,widthTitle) : UpdateColumnWidthToFit(idx,widthTitle));
1033 }
1034 
sipProtectVirt_OnColumnCountChanging(bool sipSelfWasArg,uint count)1035 void sipwxHeaderCtrlSimple::sipProtectVirt_OnColumnCountChanging(bool sipSelfWasArg,uint count)
1036 {
1037     (sipSelfWasArg ?  ::wxHeaderCtrlSimple::OnColumnCountChanging(count) : OnColumnCountChanging(count));
1038 }
1039 
1040 
1041 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_SendDestroyEvent, "SendDestroyEvent()\n"
1042 "\n"
1043 "Generate wxWindowDestroyEvent for this window.");
1044 
1045 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1046 static PyObject *meth_wxHeaderCtrlSimple_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1047 {
1048     PyObject *sipParseErr = SIP_NULLPTR;
1049 
1050     {
1051         sipwxHeaderCtrlSimple *sipCpp;
1052 
1053         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1054         {
1055             PyErr_Clear();
1056 
1057             Py_BEGIN_ALLOW_THREADS
1058             sipCpp->sipProtect_SendDestroyEvent();
1059             Py_END_ALLOW_THREADS
1060 
1061             if (PyErr_Occurred())
1062                 return 0;
1063 
1064             Py_INCREF(Py_None);
1065             return Py_None;
1066         }
1067     }
1068 
1069     /* Raise an exception if the arguments couldn't be parsed. */
1070     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_SendDestroyEvent, SIP_NULLPTR);
1071 
1072     return SIP_NULLPTR;
1073 }
1074 
1075 
1076 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_InsertColumn, "InsertColumn(col, idx)\n"
1077 "\n"
1078 "Insert the column at the given position.");
1079 
1080 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_InsertColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_InsertColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1081 static PyObject *meth_wxHeaderCtrlSimple_InsertColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1082 {
1083     PyObject *sipParseErr = SIP_NULLPTR;
1084 
1085     {
1086         const  ::wxHeaderColumnSimple* col;
1087         uint idx;
1088          ::wxHeaderCtrlSimple *sipCpp;
1089 
1090         static const char *sipKwdList[] = {
1091             sipName_col,
1092             sipName_idx,
1093         };
1094 
1095         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9u", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxHeaderColumnSimple, &col, &idx))
1096         {
1097             PyErr_Clear();
1098 
1099             Py_BEGIN_ALLOW_THREADS
1100             sipCpp->InsertColumn(*col,idx);
1101             Py_END_ALLOW_THREADS
1102 
1103             if (PyErr_Occurred())
1104                 return 0;
1105 
1106             Py_INCREF(Py_None);
1107             return Py_None;
1108         }
1109     }
1110 
1111     /* Raise an exception if the arguments couldn't be parsed. */
1112     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_InsertColumn, SIP_NULLPTR);
1113 
1114     return SIP_NULLPTR;
1115 }
1116 
1117 
1118 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_AppendColumn, "AppendColumn(col)\n"
1119 "\n"
1120 "Append the column to the end of the control.");
1121 
1122 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_AppendColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_AppendColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1123 static PyObject *meth_wxHeaderCtrlSimple_AppendColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1124 {
1125     PyObject *sipParseErr = SIP_NULLPTR;
1126 
1127     {
1128         const  ::wxHeaderColumnSimple* col;
1129          ::wxHeaderCtrlSimple *sipCpp;
1130 
1131         static const char *sipKwdList[] = {
1132             sipName_col,
1133         };
1134 
1135         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxHeaderColumnSimple, &col))
1136         {
1137             PyErr_Clear();
1138 
1139             Py_BEGIN_ALLOW_THREADS
1140             sipCpp->AppendColumn(*col);
1141             Py_END_ALLOW_THREADS
1142 
1143             if (PyErr_Occurred())
1144                 return 0;
1145 
1146             Py_INCREF(Py_None);
1147             return Py_None;
1148         }
1149     }
1150 
1151     /* Raise an exception if the arguments couldn't be parsed. */
1152     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_AppendColumn, SIP_NULLPTR);
1153 
1154     return SIP_NULLPTR;
1155 }
1156 
1157 
1158 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DeleteColumn, "DeleteColumn(idx)\n"
1159 "\n"
1160 "Delete the column at the given position.");
1161 
1162 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DeleteColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DeleteColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1163 static PyObject *meth_wxHeaderCtrlSimple_DeleteColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1164 {
1165     PyObject *sipParseErr = SIP_NULLPTR;
1166 
1167     {
1168         uint idx;
1169          ::wxHeaderCtrlSimple *sipCpp;
1170 
1171         static const char *sipKwdList[] = {
1172             sipName_idx,
1173         };
1174 
1175         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx))
1176         {
1177             PyErr_Clear();
1178 
1179             Py_BEGIN_ALLOW_THREADS
1180             sipCpp->DeleteColumn(idx);
1181             Py_END_ALLOW_THREADS
1182 
1183             if (PyErr_Occurred())
1184                 return 0;
1185 
1186             Py_INCREF(Py_None);
1187             return Py_None;
1188         }
1189     }
1190 
1191     /* Raise an exception if the arguments couldn't be parsed. */
1192     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DeleteColumn, SIP_NULLPTR);
1193 
1194     return SIP_NULLPTR;
1195 }
1196 
1197 
1198 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_ShowColumn, "ShowColumn(idx, show=True)\n"
1199 "\n"
1200 "Show or hide the column.");
1201 
1202 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_ShowColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_ShowColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1203 static PyObject *meth_wxHeaderCtrlSimple_ShowColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1204 {
1205     PyObject *sipParseErr = SIP_NULLPTR;
1206 
1207     {
1208         uint idx;
1209         bool show = 1;
1210          ::wxHeaderCtrlSimple *sipCpp;
1211 
1212         static const char *sipKwdList[] = {
1213             sipName_idx,
1214             sipName_show,
1215         };
1216 
1217         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu|b", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx, &show))
1218         {
1219             PyErr_Clear();
1220 
1221             Py_BEGIN_ALLOW_THREADS
1222             sipCpp->ShowColumn(idx,show);
1223             Py_END_ALLOW_THREADS
1224 
1225             if (PyErr_Occurred())
1226                 return 0;
1227 
1228             Py_INCREF(Py_None);
1229             return Py_None;
1230         }
1231     }
1232 
1233     /* Raise an exception if the arguments couldn't be parsed. */
1234     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_ShowColumn, SIP_NULLPTR);
1235 
1236     return SIP_NULLPTR;
1237 }
1238 
1239 
1240 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_HideColumn, "HideColumn(idx)\n"
1241 "\n"
1242 "Hide the column with the given index.");
1243 
1244 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_HideColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_HideColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1245 static PyObject *meth_wxHeaderCtrlSimple_HideColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1246 {
1247     PyObject *sipParseErr = SIP_NULLPTR;
1248 
1249     {
1250         uint idx;
1251          ::wxHeaderCtrlSimple *sipCpp;
1252 
1253         static const char *sipKwdList[] = {
1254             sipName_idx,
1255         };
1256 
1257         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx))
1258         {
1259             PyErr_Clear();
1260 
1261             Py_BEGIN_ALLOW_THREADS
1262             sipCpp->HideColumn(idx);
1263             Py_END_ALLOW_THREADS
1264 
1265             if (PyErr_Occurred())
1266                 return 0;
1267 
1268             Py_INCREF(Py_None);
1269             return Py_None;
1270         }
1271     }
1272 
1273     /* Raise an exception if the arguments couldn't be parsed. */
1274     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_HideColumn, SIP_NULLPTR);
1275 
1276     return SIP_NULLPTR;
1277 }
1278 
1279 
1280 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_ShowSortIndicator, "ShowSortIndicator(idx, sortOrder=True)\n"
1281 "\n"
1282 "Update the column sort indicator.");
1283 
1284 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_ShowSortIndicator(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_ShowSortIndicator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1285 static PyObject *meth_wxHeaderCtrlSimple_ShowSortIndicator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1286 {
1287     PyObject *sipParseErr = SIP_NULLPTR;
1288 
1289     {
1290         uint idx;
1291         bool sortOrder = 1;
1292          ::wxHeaderCtrlSimple *sipCpp;
1293 
1294         static const char *sipKwdList[] = {
1295             sipName_idx,
1296             sipName_sortOrder,
1297         };
1298 
1299         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu|b", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx, &sortOrder))
1300         {
1301             PyErr_Clear();
1302 
1303             Py_BEGIN_ALLOW_THREADS
1304             sipCpp->ShowSortIndicator(idx,sortOrder);
1305             Py_END_ALLOW_THREADS
1306 
1307             if (PyErr_Occurred())
1308                 return 0;
1309 
1310             Py_INCREF(Py_None);
1311             return Py_None;
1312         }
1313     }
1314 
1315     /* Raise an exception if the arguments couldn't be parsed. */
1316     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_ShowSortIndicator, SIP_NULLPTR);
1317 
1318     return SIP_NULLPTR;
1319 }
1320 
1321 
1322 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_RemoveSortIndicator, "RemoveSortIndicator()\n"
1323 "\n"
1324 "Remove the sort indicator from the column being used as sort key.");
1325 
1326 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_RemoveSortIndicator(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_RemoveSortIndicator(PyObject * sipSelf,PyObject * sipArgs)1327 static PyObject *meth_wxHeaderCtrlSimple_RemoveSortIndicator(PyObject *sipSelf, PyObject *sipArgs)
1328 {
1329     PyObject *sipParseErr = SIP_NULLPTR;
1330 
1331     {
1332          ::wxHeaderCtrlSimple *sipCpp;
1333 
1334         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1335         {
1336             PyErr_Clear();
1337 
1338             Py_BEGIN_ALLOW_THREADS
1339             sipCpp->RemoveSortIndicator();
1340             Py_END_ALLOW_THREADS
1341 
1342             if (PyErr_Occurred())
1343                 return 0;
1344 
1345             Py_INCREF(Py_None);
1346             return Py_None;
1347         }
1348     }
1349 
1350     /* Raise an exception if the arguments couldn't be parsed. */
1351     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_RemoveSortIndicator, SIP_NULLPTR);
1352 
1353     return SIP_NULLPTR;
1354 }
1355 
1356 
1357 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
1358 
1359 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)1360 static PyObject *meth_wxHeaderCtrlSimple_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
1361 {
1362     PyObject *sipParseErr = SIP_NULLPTR;
1363     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1364 
1365     {
1366         const  ::wxHeaderCtrlSimple *sipCpp;
1367 
1368         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1369         {
1370              ::wxPoint*sipRes;
1371 
1372             PyErr_Clear();
1373 
1374             Py_BEGIN_ALLOW_THREADS
1375             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
1376             Py_END_ALLOW_THREADS
1377 
1378             if (PyErr_Occurred())
1379                 return 0;
1380 
1381             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1382         }
1383     }
1384 
1385     /* Raise an exception if the arguments couldn't be parsed. */
1386     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetClientAreaOrigin, doc_wxHeaderCtrlSimple_GetClientAreaOrigin);
1387 
1388     return SIP_NULLPTR;
1389 }
1390 
1391 
1392 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_Validate, "Validate(self) -> bool");
1393 
1394 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_Validate(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_Validate(PyObject * sipSelf,PyObject * sipArgs)1395 static PyObject *meth_wxHeaderCtrlSimple_Validate(PyObject *sipSelf, PyObject *sipArgs)
1396 {
1397     PyObject *sipParseErr = SIP_NULLPTR;
1398     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1399 
1400     {
1401          ::wxHeaderCtrlSimple *sipCpp;
1402 
1403         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1404         {
1405             bool sipRes;
1406 
1407             PyErr_Clear();
1408 
1409             Py_BEGIN_ALLOW_THREADS
1410             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::Validate() : sipCpp->Validate());
1411             Py_END_ALLOW_THREADS
1412 
1413             if (PyErr_Occurred())
1414                 return 0;
1415 
1416             return PyBool_FromLong(sipRes);
1417         }
1418     }
1419 
1420     /* Raise an exception if the arguments couldn't be parsed. */
1421     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_Validate, doc_wxHeaderCtrlSimple_Validate);
1422 
1423     return SIP_NULLPTR;
1424 }
1425 
1426 
1427 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
1428 
1429 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)1430 static PyObject *meth_wxHeaderCtrlSimple_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
1431 {
1432     PyObject *sipParseErr = SIP_NULLPTR;
1433     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1434 
1435     {
1436          ::wxHeaderCtrlSimple *sipCpp;
1437 
1438         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1439         {
1440             bool sipRes;
1441 
1442             PyErr_Clear();
1443 
1444             Py_BEGIN_ALLOW_THREADS
1445             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::TransferDataToWindow() : sipCpp->TransferDataToWindow());
1446             Py_END_ALLOW_THREADS
1447 
1448             if (PyErr_Occurred())
1449                 return 0;
1450 
1451             return PyBool_FromLong(sipRes);
1452         }
1453     }
1454 
1455     /* Raise an exception if the arguments couldn't be parsed. */
1456     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_TransferDataToWindow, doc_wxHeaderCtrlSimple_TransferDataToWindow);
1457 
1458     return SIP_NULLPTR;
1459 }
1460 
1461 
1462 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
1463 
1464 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)1465 static PyObject *meth_wxHeaderCtrlSimple_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
1466 {
1467     PyObject *sipParseErr = SIP_NULLPTR;
1468     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1469 
1470     {
1471          ::wxHeaderCtrlSimple *sipCpp;
1472 
1473         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1474         {
1475             bool sipRes;
1476 
1477             PyErr_Clear();
1478 
1479             Py_BEGIN_ALLOW_THREADS
1480             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
1481             Py_END_ALLOW_THREADS
1482 
1483             if (PyErr_Occurred())
1484                 return 0;
1485 
1486             return PyBool_FromLong(sipRes);
1487         }
1488     }
1489 
1490     /* Raise an exception if the arguments couldn't be parsed. */
1491     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_TransferDataFromWindow, doc_wxHeaderCtrlSimple_TransferDataFromWindow);
1492 
1493     return SIP_NULLPTR;
1494 }
1495 
1496 
1497 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_InitDialog, "InitDialog(self)");
1498 
1499 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_InitDialog(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_InitDialog(PyObject * sipSelf,PyObject * sipArgs)1500 static PyObject *meth_wxHeaderCtrlSimple_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
1501 {
1502     PyObject *sipParseErr = SIP_NULLPTR;
1503     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1504 
1505     {
1506          ::wxHeaderCtrlSimple *sipCpp;
1507 
1508         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1509         {
1510             PyErr_Clear();
1511 
1512             Py_BEGIN_ALLOW_THREADS
1513             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::InitDialog() : sipCpp->InitDialog());
1514             Py_END_ALLOW_THREADS
1515 
1516             if (PyErr_Occurred())
1517                 return 0;
1518 
1519             Py_INCREF(Py_None);
1520             return Py_None;
1521         }
1522     }
1523 
1524     /* Raise an exception if the arguments couldn't be parsed. */
1525     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_InitDialog, doc_wxHeaderCtrlSimple_InitDialog);
1526 
1527     return SIP_NULLPTR;
1528 }
1529 
1530 
1531 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_AcceptsFocus, "AcceptsFocus(self) -> bool");
1532 
1533 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocus(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)1534 static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
1535 {
1536     PyObject *sipParseErr = SIP_NULLPTR;
1537     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1538 
1539     {
1540         const  ::wxHeaderCtrlSimple *sipCpp;
1541 
1542         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1543         {
1544             bool sipRes;
1545 
1546             PyErr_Clear();
1547 
1548             Py_BEGIN_ALLOW_THREADS
1549             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::AcceptsFocus() : sipCpp->AcceptsFocus());
1550             Py_END_ALLOW_THREADS
1551 
1552             if (PyErr_Occurred())
1553                 return 0;
1554 
1555             return PyBool_FromLong(sipRes);
1556         }
1557     }
1558 
1559     /* Raise an exception if the arguments couldn't be parsed. */
1560     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_AcceptsFocus, doc_wxHeaderCtrlSimple_AcceptsFocus);
1561 
1562     return SIP_NULLPTR;
1563 }
1564 
1565 
1566 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
1567 
1568 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)1569 static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
1570 {
1571     PyObject *sipParseErr = SIP_NULLPTR;
1572     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1573 
1574     {
1575         const  ::wxHeaderCtrlSimple *sipCpp;
1576 
1577         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1578         {
1579             bool sipRes;
1580 
1581             PyErr_Clear();
1582 
1583             Py_BEGIN_ALLOW_THREADS
1584             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
1585             Py_END_ALLOW_THREADS
1586 
1587             if (PyErr_Occurred())
1588                 return 0;
1589 
1590             return PyBool_FromLong(sipRes);
1591         }
1592     }
1593 
1594     /* Raise an exception if the arguments couldn't be parsed. */
1595     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_AcceptsFocusRecursively, doc_wxHeaderCtrlSimple_AcceptsFocusRecursively);
1596 
1597     return SIP_NULLPTR;
1598 }
1599 
1600 
1601 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
1602 
1603 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)1604 static PyObject *meth_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
1605 {
1606     PyObject *sipParseErr = SIP_NULLPTR;
1607     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1608 
1609     {
1610         const  ::wxHeaderCtrlSimple *sipCpp;
1611 
1612         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1613         {
1614             bool sipRes;
1615 
1616             PyErr_Clear();
1617 
1618             Py_BEGIN_ALLOW_THREADS
1619             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
1620             Py_END_ALLOW_THREADS
1621 
1622             if (PyErr_Occurred())
1623                 return 0;
1624 
1625             return PyBool_FromLong(sipRes);
1626         }
1627     }
1628 
1629     /* Raise an exception if the arguments couldn't be parsed. */
1630     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_AcceptsFocusFromKeyboard, doc_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard);
1631 
1632     return SIP_NULLPTR;
1633 }
1634 
1635 
1636 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_AddChild, "AddChild(self, child: WindowBase)");
1637 
1638 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1639 static PyObject *meth_wxHeaderCtrlSimple_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1640 {
1641     PyObject *sipParseErr = SIP_NULLPTR;
1642     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1643 
1644     {
1645          ::wxWindowBase* child;
1646          ::wxHeaderCtrlSimple *sipCpp;
1647 
1648         static const char *sipKwdList[] = {
1649             sipName_child,
1650         };
1651 
1652         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxWindowBase, &child))
1653         {
1654             PyErr_Clear();
1655 
1656             Py_BEGIN_ALLOW_THREADS
1657             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::AddChild(child) : sipCpp->AddChild(child));
1658             Py_END_ALLOW_THREADS
1659 
1660             if (PyErr_Occurred())
1661                 return 0;
1662 
1663             Py_INCREF(Py_None);
1664             return Py_None;
1665         }
1666     }
1667 
1668     /* Raise an exception if the arguments couldn't be parsed. */
1669     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_AddChild, doc_wxHeaderCtrlSimple_AddChild);
1670 
1671     return SIP_NULLPTR;
1672 }
1673 
1674 
1675 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_RemoveChild, "RemoveChild(self, child: WindowBase)");
1676 
1677 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1678 static PyObject *meth_wxHeaderCtrlSimple_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1679 {
1680     PyObject *sipParseErr = SIP_NULLPTR;
1681     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1682 
1683     {
1684          ::wxWindowBase* child;
1685          ::wxHeaderCtrlSimple *sipCpp;
1686 
1687         static const char *sipKwdList[] = {
1688             sipName_child,
1689         };
1690 
1691         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxWindowBase, &child))
1692         {
1693             PyErr_Clear();
1694 
1695             Py_BEGIN_ALLOW_THREADS
1696             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::RemoveChild(child) : sipCpp->RemoveChild(child));
1697             Py_END_ALLOW_THREADS
1698 
1699             if (PyErr_Occurred())
1700                 return 0;
1701 
1702             Py_INCREF(Py_None);
1703             return Py_None;
1704         }
1705     }
1706 
1707     /* Raise an exception if the arguments couldn't be parsed. */
1708     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_RemoveChild, doc_wxHeaderCtrlSimple_RemoveChild);
1709 
1710     return SIP_NULLPTR;
1711 }
1712 
1713 
1714 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_InheritAttributes, "InheritAttributes(self)");
1715 
1716 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_InheritAttributes(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)1717 static PyObject *meth_wxHeaderCtrlSimple_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
1718 {
1719     PyObject *sipParseErr = SIP_NULLPTR;
1720     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1721 
1722     {
1723          ::wxHeaderCtrlSimple *sipCpp;
1724 
1725         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1726         {
1727             PyErr_Clear();
1728 
1729             Py_BEGIN_ALLOW_THREADS
1730             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::InheritAttributes() : sipCpp->InheritAttributes());
1731             Py_END_ALLOW_THREADS
1732 
1733             if (PyErr_Occurred())
1734                 return 0;
1735 
1736             Py_INCREF(Py_None);
1737             return Py_None;
1738         }
1739     }
1740 
1741     /* Raise an exception if the arguments couldn't be parsed. */
1742     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_InheritAttributes, doc_wxHeaderCtrlSimple_InheritAttributes);
1743 
1744     return SIP_NULLPTR;
1745 }
1746 
1747 
1748 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
1749 
1750 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)1751 static PyObject *meth_wxHeaderCtrlSimple_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
1752 {
1753     PyObject *sipParseErr = SIP_NULLPTR;
1754     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1755 
1756     {
1757         const  ::wxHeaderCtrlSimple *sipCpp;
1758 
1759         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1760         {
1761             bool sipRes;
1762 
1763             PyErr_Clear();
1764 
1765             Py_BEGIN_ALLOW_THREADS
1766             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::ShouldInheritColours() : sipCpp->ShouldInheritColours());
1767             Py_END_ALLOW_THREADS
1768 
1769             if (PyErr_Occurred())
1770                 return 0;
1771 
1772             return PyBool_FromLong(sipRes);
1773         }
1774     }
1775 
1776     /* Raise an exception if the arguments couldn't be parsed. */
1777     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_ShouldInheritColours, doc_wxHeaderCtrlSimple_ShouldInheritColours);
1778 
1779     return SIP_NULLPTR;
1780 }
1781 
1782 
1783 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_OnInternalIdle, "OnInternalIdle(self)");
1784 
1785 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_OnInternalIdle(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)1786 static PyObject *meth_wxHeaderCtrlSimple_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
1787 {
1788     PyObject *sipParseErr = SIP_NULLPTR;
1789     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1790 
1791     {
1792          ::wxHeaderCtrlSimple *sipCpp;
1793 
1794         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1795         {
1796             PyErr_Clear();
1797 
1798             Py_BEGIN_ALLOW_THREADS
1799             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::OnInternalIdle() : sipCpp->OnInternalIdle());
1800             Py_END_ALLOW_THREADS
1801 
1802             if (PyErr_Occurred())
1803                 return 0;
1804 
1805             Py_INCREF(Py_None);
1806             return Py_None;
1807         }
1808     }
1809 
1810     /* Raise an exception if the arguments couldn't be parsed. */
1811     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_OnInternalIdle, doc_wxHeaderCtrlSimple_OnInternalIdle);
1812 
1813     return SIP_NULLPTR;
1814 }
1815 
1816 
1817 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
1818 
1819 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)1820 static PyObject *meth_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
1821 {
1822     PyObject *sipParseErr = SIP_NULLPTR;
1823     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1824 
1825     {
1826          ::wxHeaderCtrlSimple *sipCpp;
1827 
1828         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1829         {
1830              ::wxWindow*sipRes;
1831 
1832             PyErr_Clear();
1833 
1834             Py_BEGIN_ALLOW_THREADS
1835             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
1836             Py_END_ALLOW_THREADS
1837 
1838             if (PyErr_Occurred())
1839                 return 0;
1840 
1841             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1842         }
1843     }
1844 
1845     /* Raise an exception if the arguments couldn't be parsed. */
1846     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetMainWindowOfCompositeControl, doc_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl);
1847 
1848     return SIP_NULLPTR;
1849 }
1850 
1851 
1852 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
1853 
1854 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1855 static PyObject *meth_wxHeaderCtrlSimple_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1856 {
1857     PyObject *sipParseErr = SIP_NULLPTR;
1858     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1859 
1860     {
1861         int direction;
1862         int size;
1863         int availableOtherDir;
1864          ::wxHeaderCtrlSimple *sipCpp;
1865 
1866         static const char *sipKwdList[] = {
1867             sipName_direction,
1868             sipName_size,
1869             sipName_availableOtherDir,
1870         };
1871 
1872         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &direction, &size, &availableOtherDir))
1873         {
1874             bool sipRes;
1875 
1876             PyErr_Clear();
1877 
1878             Py_BEGIN_ALLOW_THREADS
1879             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
1880             Py_END_ALLOW_THREADS
1881 
1882             if (PyErr_Occurred())
1883                 return 0;
1884 
1885             return PyBool_FromLong(sipRes);
1886         }
1887     }
1888 
1889     /* Raise an exception if the arguments couldn't be parsed. */
1890     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_InformFirstDirection, doc_wxHeaderCtrlSimple_InformFirstDirection);
1891 
1892     return SIP_NULLPTR;
1893 }
1894 
1895 
1896 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
1897 
1898 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1899 static PyObject *meth_wxHeaderCtrlSimple_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1900 {
1901     PyObject *sipParseErr = SIP_NULLPTR;
1902     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1903 
1904     {
1905         bool canFocus;
1906          ::wxHeaderCtrlSimple *sipCpp;
1907 
1908         static const char *sipKwdList[] = {
1909             sipName_canFocus,
1910         };
1911 
1912         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &canFocus))
1913         {
1914             PyErr_Clear();
1915 
1916             Py_BEGIN_ALLOW_THREADS
1917             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
1918             Py_END_ALLOW_THREADS
1919 
1920             if (PyErr_Occurred())
1921                 return 0;
1922 
1923             Py_INCREF(Py_None);
1924             return Py_None;
1925         }
1926     }
1927 
1928     /* Raise an exception if the arguments couldn't be parsed. */
1929     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_SetCanFocus, doc_wxHeaderCtrlSimple_SetCanFocus);
1930 
1931     return SIP_NULLPTR;
1932 }
1933 
1934 
1935 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_Destroy, "Destroy(self) -> bool");
1936 
1937 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_Destroy(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_Destroy(PyObject * sipSelf,PyObject * sipArgs)1938 static PyObject *meth_wxHeaderCtrlSimple_Destroy(PyObject *sipSelf, PyObject *sipArgs)
1939 {
1940     PyObject *sipParseErr = SIP_NULLPTR;
1941     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1942 
1943     {
1944          ::wxHeaderCtrlSimple *sipCpp;
1945 
1946         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
1947         {
1948             bool sipRes;
1949 
1950             PyErr_Clear();
1951 
1952             Py_BEGIN_ALLOW_THREADS
1953             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::Destroy() : sipCpp->Destroy());
1954             Py_END_ALLOW_THREADS
1955 
1956             if (PyErr_Occurred())
1957                 return 0;
1958 
1959             return PyBool_FromLong(sipRes);
1960         }
1961     }
1962 
1963     /* Raise an exception if the arguments couldn't be parsed. */
1964     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_Destroy, doc_wxHeaderCtrlSimple_Destroy);
1965 
1966     return SIP_NULLPTR;
1967 }
1968 
1969 
1970 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_SetValidator, "SetValidator(self, validator: Validator)");
1971 
1972 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1973 static PyObject *meth_wxHeaderCtrlSimple_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1974 {
1975     PyObject *sipParseErr = SIP_NULLPTR;
1976     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1977 
1978     {
1979         const  ::wxValidator* validator;
1980          ::wxHeaderCtrlSimple *sipCpp;
1981 
1982         static const char *sipKwdList[] = {
1983             sipName_validator,
1984         };
1985 
1986         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxValidator, &validator))
1987         {
1988             PyErr_Clear();
1989 
1990             Py_BEGIN_ALLOW_THREADS
1991             (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::SetValidator(*validator) : sipCpp->SetValidator(*validator));
1992             Py_END_ALLOW_THREADS
1993 
1994             if (PyErr_Occurred())
1995                 return 0;
1996 
1997             Py_INCREF(Py_None);
1998             return Py_None;
1999         }
2000     }
2001 
2002     /* Raise an exception if the arguments couldn't be parsed. */
2003     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_SetValidator, doc_wxHeaderCtrlSimple_SetValidator);
2004 
2005     return SIP_NULLPTR;
2006 }
2007 
2008 
2009 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetValidator, "GetValidator(self) -> Validator");
2010 
2011 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetValidator(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetValidator(PyObject * sipSelf,PyObject * sipArgs)2012 static PyObject *meth_wxHeaderCtrlSimple_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
2013 {
2014     PyObject *sipParseErr = SIP_NULLPTR;
2015     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2016 
2017     {
2018          ::wxHeaderCtrlSimple *sipCpp;
2019 
2020         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2021         {
2022              ::wxValidator*sipRes;
2023 
2024             PyErr_Clear();
2025 
2026             Py_BEGIN_ALLOW_THREADS
2027             sipRes = (sipSelfWasArg ? sipCpp-> ::wxHeaderCtrlSimple::GetValidator() : sipCpp->GetValidator());
2028             Py_END_ALLOW_THREADS
2029 
2030             if (PyErr_Occurred())
2031                 return 0;
2032 
2033             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
2034         }
2035     }
2036 
2037     /* Raise an exception if the arguments couldn't be parsed. */
2038     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetValidator, doc_wxHeaderCtrlSimple_GetValidator);
2039 
2040     return SIP_NULLPTR;
2041 }
2042 
2043 
2044 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
2045 
2046 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2047 static PyObject *meth_wxHeaderCtrlSimple_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2048 {
2049     PyObject *sipParseErr = SIP_NULLPTR;
2050     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2051 
2052     {
2053          ::wxEvent* event;
2054         sipwxHeaderCtrlSimple *sipCpp;
2055 
2056         static const char *sipKwdList[] = {
2057             sipName_event,
2058         };
2059 
2060         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxEvent, &event))
2061         {
2062             bool sipRes;
2063 
2064             PyErr_Clear();
2065 
2066             Py_BEGIN_ALLOW_THREADS
2067             sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
2068             Py_END_ALLOW_THREADS
2069 
2070             if (PyErr_Occurred())
2071                 return 0;
2072 
2073             return PyBool_FromLong(sipRes);
2074         }
2075     }
2076 
2077     /* Raise an exception if the arguments couldn't be parsed. */
2078     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_ProcessEvent, doc_wxHeaderCtrlSimple_ProcessEvent);
2079 
2080     return SIP_NULLPTR;
2081 }
2082 
2083 
2084 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoEnable, "DoEnable(self, enable: bool)");
2085 
2086 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2087 static PyObject *meth_wxHeaderCtrlSimple_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2088 {
2089     PyObject *sipParseErr = SIP_NULLPTR;
2090     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2091 
2092     {
2093         bool enable;
2094         sipwxHeaderCtrlSimple *sipCpp;
2095 
2096         static const char *sipKwdList[] = {
2097             sipName_enable,
2098         };
2099 
2100         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &enable))
2101         {
2102             PyErr_Clear();
2103 
2104             Py_BEGIN_ALLOW_THREADS
2105             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
2106             Py_END_ALLOW_THREADS
2107 
2108             if (PyErr_Occurred())
2109                 return 0;
2110 
2111             Py_INCREF(Py_None);
2112             return Py_None;
2113         }
2114     }
2115 
2116     /* Raise an exception if the arguments couldn't be parsed. */
2117     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoEnable, doc_wxHeaderCtrlSimple_DoEnable);
2118 
2119     return SIP_NULLPTR;
2120 }
2121 
2122 
2123 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
2124 
2125 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2126 static PyObject *meth_wxHeaderCtrlSimple_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2127 {
2128     PyObject *sipParseErr = SIP_NULLPTR;
2129     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2130 
2131     {
2132         int x;
2133         int y;
2134         const sipwxHeaderCtrlSimple *sipCpp;
2135 
2136         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2137         {
2138             PyErr_Clear();
2139 
2140             Py_BEGIN_ALLOW_THREADS
2141             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
2142             Py_END_ALLOW_THREADS
2143 
2144             if (PyErr_Occurred())
2145                 return 0;
2146 
2147             return sipBuildResult(0,"(ii)",x,y);
2148         }
2149     }
2150 
2151     /* Raise an exception if the arguments couldn't be parsed. */
2152     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetPosition, doc_wxHeaderCtrlSimple_DoGetPosition);
2153 
2154     return SIP_NULLPTR;
2155 }
2156 
2157 
2158 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
2159 
2160 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2161 static PyObject *meth_wxHeaderCtrlSimple_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2162 {
2163     PyObject *sipParseErr = SIP_NULLPTR;
2164     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2165 
2166     {
2167         int width;
2168         int height;
2169         const sipwxHeaderCtrlSimple *sipCpp;
2170 
2171         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2172         {
2173             PyErr_Clear();
2174 
2175             Py_BEGIN_ALLOW_THREADS
2176             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
2177             Py_END_ALLOW_THREADS
2178 
2179             if (PyErr_Occurred())
2180                 return 0;
2181 
2182             return sipBuildResult(0,"(ii)",width,height);
2183         }
2184     }
2185 
2186     /* Raise an exception if the arguments couldn't be parsed. */
2187     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetSize, doc_wxHeaderCtrlSimple_DoGetSize);
2188 
2189     return SIP_NULLPTR;
2190 }
2191 
2192 
2193 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
2194 
2195 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2196 static PyObject *meth_wxHeaderCtrlSimple_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2197 {
2198     PyObject *sipParseErr = SIP_NULLPTR;
2199     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2200 
2201     {
2202         int width;
2203         int height;
2204         const sipwxHeaderCtrlSimple *sipCpp;
2205 
2206         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2207         {
2208             PyErr_Clear();
2209 
2210             Py_BEGIN_ALLOW_THREADS
2211             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
2212             Py_END_ALLOW_THREADS
2213 
2214             if (PyErr_Occurred())
2215                 return 0;
2216 
2217             return sipBuildResult(0,"(ii)",width,height);
2218         }
2219     }
2220 
2221     /* Raise an exception if the arguments couldn't be parsed. */
2222     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetClientSize, doc_wxHeaderCtrlSimple_DoGetClientSize);
2223 
2224     return SIP_NULLPTR;
2225 }
2226 
2227 
2228 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetBestSize, "DoGetBestSize(self) -> Size");
2229 
2230 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetBestSize(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)2231 static PyObject *meth_wxHeaderCtrlSimple_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
2232 {
2233     PyObject *sipParseErr = SIP_NULLPTR;
2234     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2235 
2236     {
2237         const sipwxHeaderCtrlSimple *sipCpp;
2238 
2239         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2240         {
2241              ::wxSize*sipRes;
2242 
2243             PyErr_Clear();
2244 
2245             Py_BEGIN_ALLOW_THREADS
2246             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
2247             Py_END_ALLOW_THREADS
2248 
2249             if (PyErr_Occurred())
2250                 return 0;
2251 
2252             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2253         }
2254     }
2255 
2256     /* Raise an exception if the arguments couldn't be parsed. */
2257     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetBestSize, doc_wxHeaderCtrlSimple_DoGetBestSize);
2258 
2259     return SIP_NULLPTR;
2260 }
2261 
2262 
2263 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
2264 
2265 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)2266 static PyObject *meth_wxHeaderCtrlSimple_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
2267 {
2268     PyObject *sipParseErr = SIP_NULLPTR;
2269     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2270 
2271     {
2272         const sipwxHeaderCtrlSimple *sipCpp;
2273 
2274         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2275         {
2276              ::wxSize*sipRes;
2277 
2278             PyErr_Clear();
2279 
2280             Py_BEGIN_ALLOW_THREADS
2281             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
2282             Py_END_ALLOW_THREADS
2283 
2284             if (PyErr_Occurred())
2285                 return 0;
2286 
2287             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2288         }
2289     }
2290 
2291     /* Raise an exception if the arguments couldn't be parsed. */
2292     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetBestClientSize, doc_wxHeaderCtrlSimple_DoGetBestClientSize);
2293 
2294     return SIP_NULLPTR;
2295 }
2296 
2297 
2298 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
2299 
2300 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2301 static PyObject *meth_wxHeaderCtrlSimple_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2302 {
2303     PyObject *sipParseErr = SIP_NULLPTR;
2304     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2305 
2306     {
2307         int x;
2308         int y;
2309         int width;
2310         int height;
2311         int sizeFlags;
2312         sipwxHeaderCtrlSimple *sipCpp;
2313 
2314         static const char *sipKwdList[] = {
2315             sipName_x,
2316             sipName_y,
2317             sipName_width,
2318             sipName_height,
2319             sipName_sizeFlags,
2320         };
2321 
2322         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &x, &y, &width, &height, &sizeFlags))
2323         {
2324             PyErr_Clear();
2325 
2326             Py_BEGIN_ALLOW_THREADS
2327             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
2328             Py_END_ALLOW_THREADS
2329 
2330             if (PyErr_Occurred())
2331                 return 0;
2332 
2333             Py_INCREF(Py_None);
2334             return Py_None;
2335         }
2336     }
2337 
2338     /* Raise an exception if the arguments couldn't be parsed. */
2339     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoSetSize, doc_wxHeaderCtrlSimple_DoSetSize);
2340 
2341     return SIP_NULLPTR;
2342 }
2343 
2344 
2345 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
2346 
2347 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2348 static PyObject *meth_wxHeaderCtrlSimple_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2349 {
2350     PyObject *sipParseErr = SIP_NULLPTR;
2351     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2352 
2353     {
2354         int width;
2355         int height;
2356         sipwxHeaderCtrlSimple *sipCpp;
2357 
2358         static const char *sipKwdList[] = {
2359             sipName_width,
2360             sipName_height,
2361         };
2362 
2363         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &width, &height))
2364         {
2365             PyErr_Clear();
2366 
2367             Py_BEGIN_ALLOW_THREADS
2368             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
2369             Py_END_ALLOW_THREADS
2370 
2371             if (PyErr_Occurred())
2372                 return 0;
2373 
2374             Py_INCREF(Py_None);
2375             return Py_None;
2376         }
2377     }
2378 
2379     /* Raise an exception if the arguments couldn't be parsed. */
2380     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoSetClientSize, doc_wxHeaderCtrlSimple_DoSetClientSize);
2381 
2382     return SIP_NULLPTR;
2383 }
2384 
2385 
2386 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
2387 
2388 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2389 static PyObject *meth_wxHeaderCtrlSimple_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2390 {
2391     PyObject *sipParseErr = SIP_NULLPTR;
2392     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2393 
2394     {
2395         int minW;
2396         int minH;
2397         int maxW;
2398         int maxH;
2399         int incW;
2400         int incH;
2401         sipwxHeaderCtrlSimple *sipCpp;
2402 
2403         static const char *sipKwdList[] = {
2404             sipName_minW,
2405             sipName_minH,
2406             sipName_maxW,
2407             sipName_maxH,
2408             sipName_incW,
2409             sipName_incH,
2410         };
2411 
2412         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
2413         {
2414             PyErr_Clear();
2415 
2416             Py_BEGIN_ALLOW_THREADS
2417             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
2418             Py_END_ALLOW_THREADS
2419 
2420             if (PyErr_Occurred())
2421                 return 0;
2422 
2423             Py_INCREF(Py_None);
2424             return Py_None;
2425         }
2426     }
2427 
2428     /* Raise an exception if the arguments couldn't be parsed. */
2429     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoSetSizeHints, doc_wxHeaderCtrlSimple_DoSetSizeHints);
2430 
2431     return SIP_NULLPTR;
2432 }
2433 
2434 
2435 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
2436 
2437 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)2438 static PyObject *meth_wxHeaderCtrlSimple_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
2439 {
2440     PyObject *sipParseErr = SIP_NULLPTR;
2441     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2442 
2443     {
2444         const sipwxHeaderCtrlSimple *sipCpp;
2445 
2446         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2447         {
2448              ::wxSize*sipRes;
2449 
2450             PyErr_Clear();
2451 
2452             Py_BEGIN_ALLOW_THREADS
2453             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
2454             Py_END_ALLOW_THREADS
2455 
2456             if (PyErr_Occurred())
2457                 return 0;
2458 
2459             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2460         }
2461     }
2462 
2463     /* Raise an exception if the arguments couldn't be parsed. */
2464     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoGetBorderSize, doc_wxHeaderCtrlSimple_DoGetBorderSize);
2465 
2466     return SIP_NULLPTR;
2467 }
2468 
2469 
2470 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
2471 
2472 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2473 static PyObject *meth_wxHeaderCtrlSimple_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2474 {
2475     PyObject *sipParseErr = SIP_NULLPTR;
2476     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2477 
2478     {
2479         int x;
2480         int y;
2481         int width;
2482         int height;
2483         sipwxHeaderCtrlSimple *sipCpp;
2484 
2485         static const char *sipKwdList[] = {
2486             sipName_x,
2487             sipName_y,
2488             sipName_width,
2489             sipName_height,
2490         };
2491 
2492         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &x, &y, &width, &height))
2493         {
2494             PyErr_Clear();
2495 
2496             Py_BEGIN_ALLOW_THREADS
2497             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
2498             Py_END_ALLOW_THREADS
2499 
2500             if (PyErr_Occurred())
2501                 return 0;
2502 
2503             Py_INCREF(Py_None);
2504             return Py_None;
2505         }
2506     }
2507 
2508     /* Raise an exception if the arguments couldn't be parsed. */
2509     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoMoveWindow, doc_wxHeaderCtrlSimple_DoMoveWindow);
2510 
2511     return SIP_NULLPTR;
2512 }
2513 
2514 
2515 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
2516 
2517 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2518 static PyObject *meth_wxHeaderCtrlSimple_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2519 {
2520     PyObject *sipParseErr = SIP_NULLPTR;
2521     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2522 
2523     {
2524          ::wxWindowVariant variant;
2525         sipwxHeaderCtrlSimple *sipCpp;
2526 
2527         static const char *sipKwdList[] = {
2528             sipName_variant,
2529         };
2530 
2531         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxWindowVariant, &variant))
2532         {
2533             PyErr_Clear();
2534 
2535             Py_BEGIN_ALLOW_THREADS
2536             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
2537             Py_END_ALLOW_THREADS
2538 
2539             if (PyErr_Occurred())
2540                 return 0;
2541 
2542             Py_INCREF(Py_None);
2543             return Py_None;
2544         }
2545     }
2546 
2547     /* Raise an exception if the arguments couldn't be parsed. */
2548     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoSetWindowVariant, doc_wxHeaderCtrlSimple_DoSetWindowVariant);
2549 
2550     return SIP_NULLPTR;
2551 }
2552 
2553 
2554 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
2555 
2556 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)2557 static PyObject *meth_wxHeaderCtrlSimple_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
2558 {
2559     PyObject *sipParseErr = SIP_NULLPTR;
2560     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2561 
2562     {
2563         const sipwxHeaderCtrlSimple *sipCpp;
2564 
2565         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2566         {
2567              ::wxBorder sipRes;
2568 
2569             PyErr_Clear();
2570 
2571             Py_BEGIN_ALLOW_THREADS
2572             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
2573             Py_END_ALLOW_THREADS
2574 
2575             if (PyErr_Occurred())
2576                 return 0;
2577 
2578             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2579         }
2580     }
2581 
2582     /* Raise an exception if the arguments couldn't be parsed. */
2583     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetDefaultBorder, doc_wxHeaderCtrlSimple_GetDefaultBorder);
2584 
2585     return SIP_NULLPTR;
2586 }
2587 
2588 
2589 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
2590 
2591 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)2592 static PyObject *meth_wxHeaderCtrlSimple_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
2593 {
2594     PyObject *sipParseErr = SIP_NULLPTR;
2595     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2596 
2597     {
2598         const sipwxHeaderCtrlSimple *sipCpp;
2599 
2600         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2601         {
2602              ::wxBorder sipRes;
2603 
2604             PyErr_Clear();
2605 
2606             Py_BEGIN_ALLOW_THREADS
2607             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
2608             Py_END_ALLOW_THREADS
2609 
2610             if (PyErr_Occurred())
2611                 return 0;
2612 
2613             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2614         }
2615     }
2616 
2617     /* Raise an exception if the arguments couldn't be parsed. */
2618     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetDefaultBorderForControl, doc_wxHeaderCtrlSimple_GetDefaultBorderForControl);
2619 
2620     return SIP_NULLPTR;
2621 }
2622 
2623 
2624 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoFreeze, "DoFreeze(self)");
2625 
2626 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoFreeze(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)2627 static PyObject *meth_wxHeaderCtrlSimple_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
2628 {
2629     PyObject *sipParseErr = SIP_NULLPTR;
2630     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2631 
2632     {
2633         sipwxHeaderCtrlSimple *sipCpp;
2634 
2635         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2636         {
2637             PyErr_Clear();
2638 
2639             Py_BEGIN_ALLOW_THREADS
2640             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
2641             Py_END_ALLOW_THREADS
2642 
2643             if (PyErr_Occurred())
2644                 return 0;
2645 
2646             Py_INCREF(Py_None);
2647             return Py_None;
2648         }
2649     }
2650 
2651     /* Raise an exception if the arguments couldn't be parsed. */
2652     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoFreeze, doc_wxHeaderCtrlSimple_DoFreeze);
2653 
2654     return SIP_NULLPTR;
2655 }
2656 
2657 
2658 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_DoThaw, "DoThaw(self)");
2659 
2660 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_DoThaw(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_DoThaw(PyObject * sipSelf,PyObject * sipArgs)2661 static PyObject *meth_wxHeaderCtrlSimple_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
2662 {
2663     PyObject *sipParseErr = SIP_NULLPTR;
2664     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2665 
2666     {
2667         sipwxHeaderCtrlSimple *sipCpp;
2668 
2669         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2670         {
2671             PyErr_Clear();
2672 
2673             Py_BEGIN_ALLOW_THREADS
2674             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
2675             Py_END_ALLOW_THREADS
2676 
2677             if (PyErr_Occurred())
2678                 return 0;
2679 
2680             Py_INCREF(Py_None);
2681             return Py_None;
2682         }
2683     }
2684 
2685     /* Raise an exception if the arguments couldn't be parsed. */
2686     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_DoThaw, doc_wxHeaderCtrlSimple_DoThaw);
2687 
2688     return SIP_NULLPTR;
2689 }
2690 
2691 
2692 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
2693 
2694 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)2695 static PyObject *meth_wxHeaderCtrlSimple_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
2696 {
2697     PyObject *sipParseErr = SIP_NULLPTR;
2698     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2699 
2700     {
2701         sipwxHeaderCtrlSimple *sipCpp;
2702 
2703         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp))
2704         {
2705             bool sipRes;
2706 
2707             PyErr_Clear();
2708 
2709             Py_BEGIN_ALLOW_THREADS
2710             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
2711             Py_END_ALLOW_THREADS
2712 
2713             if (PyErr_Occurred())
2714                 return 0;
2715 
2716             return PyBool_FromLong(sipRes);
2717         }
2718     }
2719 
2720     /* Raise an exception if the arguments couldn't be parsed. */
2721     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_HasTransparentBackground, doc_wxHeaderCtrlSimple_HasTransparentBackground);
2722 
2723     return SIP_NULLPTR;
2724 }
2725 
2726 
2727 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_TryBefore, "TryBefore(self, event: Event) -> bool");
2728 
2729 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2730 static PyObject *meth_wxHeaderCtrlSimple_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2731 {
2732     PyObject *sipParseErr = SIP_NULLPTR;
2733     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2734 
2735     {
2736          ::wxEvent* event;
2737         sipwxHeaderCtrlSimple *sipCpp;
2738 
2739         static const char *sipKwdList[] = {
2740             sipName_event,
2741         };
2742 
2743         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxEvent, &event))
2744         {
2745             bool sipRes;
2746 
2747             PyErr_Clear();
2748 
2749             Py_BEGIN_ALLOW_THREADS
2750             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
2751             Py_END_ALLOW_THREADS
2752 
2753             if (PyErr_Occurred())
2754                 return 0;
2755 
2756             return PyBool_FromLong(sipRes);
2757         }
2758     }
2759 
2760     /* Raise an exception if the arguments couldn't be parsed. */
2761     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_TryBefore, doc_wxHeaderCtrlSimple_TryBefore);
2762 
2763     return SIP_NULLPTR;
2764 }
2765 
2766 
2767 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_TryAfter, "TryAfter(self, event: Event) -> bool");
2768 
2769 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2770 static PyObject *meth_wxHeaderCtrlSimple_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2771 {
2772     PyObject *sipParseErr = SIP_NULLPTR;
2773     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2774 
2775     {
2776          ::wxEvent* event;
2777         sipwxHeaderCtrlSimple *sipCpp;
2778 
2779         static const char *sipKwdList[] = {
2780             sipName_event,
2781         };
2782 
2783         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxEvent, &event))
2784         {
2785             bool sipRes;
2786 
2787             PyErr_Clear();
2788 
2789             Py_BEGIN_ALLOW_THREADS
2790             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
2791             Py_END_ALLOW_THREADS
2792 
2793             if (PyErr_Occurred())
2794                 return 0;
2795 
2796             return PyBool_FromLong(sipRes);
2797         }
2798     }
2799 
2800     /* Raise an exception if the arguments couldn't be parsed. */
2801     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_TryAfter, doc_wxHeaderCtrlSimple_TryAfter);
2802 
2803     return SIP_NULLPTR;
2804 }
2805 
2806 
2807 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
2808 
2809 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)2810 static PyObject *meth_wxHeaderCtrlSimple_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
2811 {
2812     PyObject *sipParseErr = SIP_NULLPTR;
2813 
2814     {
2815          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
2816 
2817         static const char *sipKwdList[] = {
2818             sipName_variant,
2819         };
2820 
2821         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
2822         {
2823              ::wxVisualAttributes*sipRes;
2824 
2825         if (!wxPyCheckForApp()) return NULL;
2826 
2827             PyErr_Clear();
2828 
2829             Py_BEGIN_ALLOW_THREADS
2830             sipRes = new  ::wxVisualAttributes( ::wxHeaderCtrlSimple::GetClassDefaultAttributes(variant));
2831             Py_END_ALLOW_THREADS
2832 
2833             if (PyErr_Occurred())
2834                 return 0;
2835 
2836             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
2837         }
2838     }
2839 
2840     /* Raise an exception if the arguments couldn't be parsed. */
2841     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
2842 
2843     return SIP_NULLPTR;
2844 }
2845 
2846 
2847 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetBestFittingWidth, "GetBestFittingWidth(idx) -> int\n"
2848 "\n"
2849 "This function can be overridden in the classes deriving from this\n"
2850 "control instead of overriding UpdateColumnWidthToFit().");
2851 
2852 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetBestFittingWidth(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetBestFittingWidth(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2853 static PyObject *meth_wxHeaderCtrlSimple_GetBestFittingWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2854 {
2855     PyObject *sipParseErr = SIP_NULLPTR;
2856     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2857 
2858     {
2859         uint idx;
2860         const sipwxHeaderCtrlSimple *sipCpp;
2861 
2862         static const char *sipKwdList[] = {
2863             sipName_idx,
2864         };
2865 
2866         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx))
2867         {
2868             int sipRes;
2869 
2870             PyErr_Clear();
2871 
2872             Py_BEGIN_ALLOW_THREADS
2873             sipRes = sipCpp->sipProtectVirt_GetBestFittingWidth(sipSelfWasArg,idx);
2874             Py_END_ALLOW_THREADS
2875 
2876             if (PyErr_Occurred())
2877                 return 0;
2878 
2879             return SIPLong_FromLong(sipRes);
2880         }
2881     }
2882 
2883     /* Raise an exception if the arguments couldn't be parsed. */
2884     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetBestFittingWidth, SIP_NULLPTR);
2885 
2886     return SIP_NULLPTR;
2887 }
2888 
2889 
2890 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_GetColumn, "GetColumn(self, idx: int) -> HeaderColumn");
2891 
2892 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_GetColumn(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_GetColumn(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2893 static PyObject *meth_wxHeaderCtrlSimple_GetColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2894 {
2895     PyObject *sipParseErr = SIP_NULLPTR;
2896     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2897 
2898     {
2899         uint idx;
2900         const sipwxHeaderCtrlSimple *sipCpp;
2901 
2902         static const char *sipKwdList[] = {
2903             sipName_idx,
2904         };
2905 
2906         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx))
2907         {
2908             const  ::wxHeaderColumn*sipRes;
2909 
2910             PyErr_Clear();
2911 
2912             Py_BEGIN_ALLOW_THREADS
2913             sipRes = &sipCpp->sipProtectVirt_GetColumn(sipSelfWasArg,idx);
2914             Py_END_ALLOW_THREADS
2915 
2916             if (PyErr_Occurred())
2917                 return 0;
2918 
2919             return sipConvertFromType(const_cast< ::wxHeaderColumn *>(sipRes),sipType_wxHeaderColumn,SIP_NULLPTR);
2920         }
2921     }
2922 
2923     /* Raise an exception if the arguments couldn't be parsed. */
2924     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_GetColumn, doc_wxHeaderCtrlSimple_GetColumn);
2925 
2926     return SIP_NULLPTR;
2927 }
2928 
2929 
2930 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_UpdateColumnVisibility, "UpdateColumnVisibility(self, idx: int, show: bool)");
2931 
2932 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnVisibility(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_UpdateColumnVisibility(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2933 static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnVisibility(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2934 {
2935     PyObject *sipParseErr = SIP_NULLPTR;
2936     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2937 
2938     {
2939         uint idx;
2940         bool show;
2941         sipwxHeaderCtrlSimple *sipCpp;
2942 
2943         static const char *sipKwdList[] = {
2944             sipName_idx,
2945             sipName_show,
2946         };
2947 
2948         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bub", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx, &show))
2949         {
2950             PyErr_Clear();
2951 
2952             Py_BEGIN_ALLOW_THREADS
2953             sipCpp->sipProtectVirt_UpdateColumnVisibility(sipSelfWasArg,idx,show);
2954             Py_END_ALLOW_THREADS
2955 
2956             if (PyErr_Occurred())
2957                 return 0;
2958 
2959             Py_INCREF(Py_None);
2960             return Py_None;
2961         }
2962     }
2963 
2964     /* Raise an exception if the arguments couldn't be parsed. */
2965     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_UpdateColumnVisibility, doc_wxHeaderCtrlSimple_UpdateColumnVisibility);
2966 
2967     return SIP_NULLPTR;
2968 }
2969 
2970 
2971 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_UpdateColumnsOrder, "UpdateColumnsOrder(self, order: object)");
2972 
2973 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnsOrder(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_UpdateColumnsOrder(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2974 static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnsOrder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2975 {
2976     PyObject *sipParseErr = SIP_NULLPTR;
2977     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2978 
2979     {
2980         const  ::wxArrayInt* order;
2981         int orderState = 0;
2982         sipwxHeaderCtrlSimple *sipCpp;
2983 
2984         static const char *sipKwdList[] = {
2985             sipName_order,
2986         };
2987 
2988         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, sipType_wxArrayInt,&order, &orderState))
2989         {
2990             PyErr_Clear();
2991 
2992             Py_BEGIN_ALLOW_THREADS
2993             sipCpp->sipProtectVirt_UpdateColumnsOrder(sipSelfWasArg,*order);
2994             Py_END_ALLOW_THREADS
2995             sipReleaseType(const_cast< ::wxArrayInt *>(order),sipType_wxArrayInt,orderState);
2996 
2997             if (PyErr_Occurred())
2998                 return 0;
2999 
3000             Py_INCREF(Py_None);
3001             return Py_None;
3002         }
3003     }
3004 
3005     /* Raise an exception if the arguments couldn't be parsed. */
3006     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_UpdateColumnsOrder, doc_wxHeaderCtrlSimple_UpdateColumnsOrder);
3007 
3008     return SIP_NULLPTR;
3009 }
3010 
3011 
3012 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_UpdateColumnWidthToFit, "UpdateColumnWidthToFit(self, idx: int, widthTitle: int) -> bool");
3013 
3014 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnWidthToFit(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_UpdateColumnWidthToFit(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3015 static PyObject *meth_wxHeaderCtrlSimple_UpdateColumnWidthToFit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3016 {
3017     PyObject *sipParseErr = SIP_NULLPTR;
3018     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3019 
3020     {
3021         uint idx;
3022         int widthTitle;
3023         sipwxHeaderCtrlSimple *sipCpp;
3024 
3025         static const char *sipKwdList[] = {
3026             sipName_idx,
3027             sipName_widthTitle,
3028         };
3029 
3030         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bui", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &idx, &widthTitle))
3031         {
3032             bool sipRes;
3033 
3034             PyErr_Clear();
3035 
3036             Py_BEGIN_ALLOW_THREADS
3037             sipRes = sipCpp->sipProtectVirt_UpdateColumnWidthToFit(sipSelfWasArg,idx,widthTitle);
3038             Py_END_ALLOW_THREADS
3039 
3040             if (PyErr_Occurred())
3041                 return 0;
3042 
3043             return PyBool_FromLong(sipRes);
3044         }
3045     }
3046 
3047     /* Raise an exception if the arguments couldn't be parsed. */
3048     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_UpdateColumnWidthToFit, doc_wxHeaderCtrlSimple_UpdateColumnWidthToFit);
3049 
3050     return SIP_NULLPTR;
3051 }
3052 
3053 
3054 PyDoc_STRVAR(doc_wxHeaderCtrlSimple_OnColumnCountChanging, "OnColumnCountChanging(self, count: int)");
3055 
3056 extern "C" {static PyObject *meth_wxHeaderCtrlSimple_OnColumnCountChanging(PyObject *, PyObject *, PyObject *);}
meth_wxHeaderCtrlSimple_OnColumnCountChanging(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3057 static PyObject *meth_wxHeaderCtrlSimple_OnColumnCountChanging(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3058 {
3059     PyObject *sipParseErr = SIP_NULLPTR;
3060     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3061 
3062     {
3063         uint count;
3064         sipwxHeaderCtrlSimple *sipCpp;
3065 
3066         static const char *sipKwdList[] = {
3067             sipName_count,
3068         };
3069 
3070         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxHeaderCtrlSimple, &sipCpp, &count))
3071         {
3072             PyErr_Clear();
3073 
3074             Py_BEGIN_ALLOW_THREADS
3075             sipCpp->sipProtectVirt_OnColumnCountChanging(sipSelfWasArg,count);
3076             Py_END_ALLOW_THREADS
3077 
3078             if (PyErr_Occurred())
3079                 return 0;
3080 
3081             Py_INCREF(Py_None);
3082             return Py_None;
3083         }
3084     }
3085 
3086     /* Raise an exception if the arguments couldn't be parsed. */
3087     sipNoMethod(sipParseErr, sipName_HeaderCtrlSimple, sipName_OnColumnCountChanging, doc_wxHeaderCtrlSimple_OnColumnCountChanging);
3088 
3089     return SIP_NULLPTR;
3090 }
3091 
3092 
3093 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
3094 extern "C" {static void *cast_wxHeaderCtrlSimple(void *, const sipTypeDef *);}
cast_wxHeaderCtrlSimple(void * sipCppV,const sipTypeDef * targetType)3095 static void *cast_wxHeaderCtrlSimple(void *sipCppV, const sipTypeDef *targetType)
3096 {
3097      ::wxHeaderCtrlSimple *sipCpp = reinterpret_cast< ::wxHeaderCtrlSimple *>(sipCppV);
3098 
3099     if (targetType == sipType_wxHeaderCtrl)
3100         return static_cast< ::wxHeaderCtrl *>(sipCpp);
3101 
3102     if (targetType == sipType_wxControl)
3103         return static_cast< ::wxControl *>(sipCpp);
3104 
3105     if (targetType == sipType_wxWindow)
3106         return static_cast< ::wxWindow *>(sipCpp);
3107 
3108     if (targetType == sipType_wxWindowBase)
3109         return static_cast< ::wxWindowBase *>(sipCpp);
3110 
3111     if (targetType == sipType_wxEvtHandler)
3112         return static_cast< ::wxEvtHandler *>(sipCpp);
3113 
3114     if (targetType == sipType_wxObject)
3115         return static_cast< ::wxObject *>(sipCpp);
3116 
3117     if (targetType == sipType_wxTrackable)
3118         return static_cast< ::wxTrackable *>(sipCpp);
3119 
3120     return sipCppV;
3121 }
3122 
3123 
3124 /* Call the instance's destructor. */
3125 extern "C" {static void release_wxHeaderCtrlSimple(void *, int);}
release_wxHeaderCtrlSimple(void * sipCppV,int sipState)3126 static void release_wxHeaderCtrlSimple(void *sipCppV, int sipState)
3127 {
3128     Py_BEGIN_ALLOW_THREADS
3129 
3130     if (sipState & SIP_DERIVED_CLASS)
3131         delete reinterpret_cast<sipwxHeaderCtrlSimple *>(sipCppV);
3132     else
3133         delete reinterpret_cast< ::wxHeaderCtrlSimple *>(sipCppV);
3134 
3135     Py_END_ALLOW_THREADS
3136 }
3137 
3138 
3139 extern "C" {static void dealloc_wxHeaderCtrlSimple(sipSimpleWrapper *);}
dealloc_wxHeaderCtrlSimple(sipSimpleWrapper * sipSelf)3140 static void dealloc_wxHeaderCtrlSimple(sipSimpleWrapper *sipSelf)
3141 {
3142     if (sipIsDerivedClass(sipSelf))
3143         reinterpret_cast<sipwxHeaderCtrlSimple *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
3144 
3145     if (sipIsOwnedByPython(sipSelf))
3146     {
3147         release_wxHeaderCtrlSimple(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
3148     }
3149 }
3150 
3151 
3152 extern "C" {static void *init_type_wxHeaderCtrlSimple(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxHeaderCtrlSimple(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)3153 static void *init_type_wxHeaderCtrlSimple(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
3154 {
3155     sipwxHeaderCtrlSimple *sipCpp = SIP_NULLPTR;
3156 
3157     {
3158         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
3159         {
3160 
3161         if (!wxPyCheckForApp()) return NULL;
3162 
3163             PyErr_Clear();
3164 
3165             Py_BEGIN_ALLOW_THREADS
3166             sipCpp = new sipwxHeaderCtrlSimple();
3167             Py_END_ALLOW_THREADS
3168 
3169             if (PyErr_Occurred())
3170             {
3171                 delete sipCpp;
3172                 return SIP_NULLPTR;
3173             }
3174 
3175             sipCpp->sipPySelf = sipSelf;
3176 
3177             return sipCpp;
3178         }
3179     }
3180 
3181     {
3182          ::wxWindow* parent;
3183          ::wxWindowID winid = wxID_ANY;
3184         const  ::wxPoint& posdef = wxDefaultPosition;
3185         const  ::wxPoint* pos = &posdef;
3186         int posState = 0;
3187         const  ::wxSize& sizedef = wxDefaultSize;
3188         const  ::wxSize* size = &sizedef;
3189         int sizeState = 0;
3190         long style = wxHD_DEFAULT_STYLE;
3191         const  ::wxString& namedef = wxHeaderCtrlNameStr;
3192         const  ::wxString* name = &namedef;
3193         int nameState = 0;
3194 
3195         static const char *sipKwdList[] = {
3196             sipName_parent,
3197             sipName_winid,
3198             sipName_pos,
3199             sipName_size,
3200             sipName_style,
3201             sipName_name,
3202         };
3203 
3204         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1lJ1", sipType_wxWindow, &parent, sipOwner, &winid, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
3205         {
3206 
3207         if (!wxPyCheckForApp()) return NULL;
3208 
3209             PyErr_Clear();
3210 
3211             Py_BEGIN_ALLOW_THREADS
3212             sipCpp = new sipwxHeaderCtrlSimple(parent,winid,*pos,*size,style,*name);
3213             Py_END_ALLOW_THREADS
3214             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
3215             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
3216             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
3217 
3218             if (PyErr_Occurred())
3219             {
3220                 delete sipCpp;
3221                 return SIP_NULLPTR;
3222             }
3223 
3224             sipCpp->sipPySelf = sipSelf;
3225 
3226             return sipCpp;
3227         }
3228     }
3229 
3230     return SIP_NULLPTR;
3231 }
3232 
3233 
3234 /* Define this type's super-types. */
3235 static sipEncodedTypeDef supers_wxHeaderCtrlSimple[] = {{232, 255, 1}};
3236 
3237 
3238 static PyMethodDef methods_wxHeaderCtrlSimple[] = {
3239     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxHeaderCtrlSimple_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_AcceptsFocus)},
3240     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_AcceptsFocusFromKeyboard)},
3241     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxHeaderCtrlSimple_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_AcceptsFocusRecursively)},
3242     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_AddChild)},
3243     {SIP_MLNAME_CAST(sipName_AppendColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_AppendColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_AppendColumn)},
3244     {SIP_MLNAME_CAST(sipName_DeleteColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DeleteColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DeleteColumn)},
3245     {SIP_MLNAME_CAST(sipName_Destroy), meth_wxHeaderCtrlSimple_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_Destroy)},
3246     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoEnable)},
3247     {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxHeaderCtrlSimple_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoFreeze)},
3248     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxHeaderCtrlSimple_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetBestClientSize)},
3249     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxHeaderCtrlSimple_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetBestSize)},
3250     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxHeaderCtrlSimple_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetBorderSize)},
3251     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetClientSize)},
3252     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetPosition)},
3253     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoGetSize)},
3254     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoMoveWindow)},
3255     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoSetClientSize)},
3256     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoSetSize)},
3257     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoSetSizeHints)},
3258     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoSetWindowVariant)},
3259     {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxHeaderCtrlSimple_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_DoThaw)},
3260     {SIP_MLNAME_CAST(sipName_GetBestFittingWidth), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_GetBestFittingWidth), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetBestFittingWidth)},
3261     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetClassDefaultAttributes)},
3262     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxHeaderCtrlSimple_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetClientAreaOrigin)},
3263     {SIP_MLNAME_CAST(sipName_GetColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_GetColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetColumn)},
3264     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxHeaderCtrlSimple_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetDefaultBorder)},
3265     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxHeaderCtrlSimple_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetDefaultBorderForControl)},
3266     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetMainWindowOfCompositeControl)},
3267     {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxHeaderCtrlSimple_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_GetValidator)},
3268     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxHeaderCtrlSimple_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_HasTransparentBackground)},
3269     {SIP_MLNAME_CAST(sipName_HideColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_HideColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_HideColumn)},
3270     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_InformFirstDirection)},
3271     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxHeaderCtrlSimple_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_InheritAttributes)},
3272     {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxHeaderCtrlSimple_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_InitDialog)},
3273     {SIP_MLNAME_CAST(sipName_InsertColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_InsertColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_InsertColumn)},
3274     {SIP_MLNAME_CAST(sipName_OnColumnCountChanging), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_OnColumnCountChanging), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_OnColumnCountChanging)},
3275     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxHeaderCtrlSimple_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_OnInternalIdle)},
3276     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_ProcessEvent)},
3277     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_RemoveChild)},
3278     {SIP_MLNAME_CAST(sipName_RemoveSortIndicator), meth_wxHeaderCtrlSimple_RemoveSortIndicator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_RemoveSortIndicator)},
3279     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxHeaderCtrlSimple_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
3280     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_SetCanFocus)},
3281     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_SetValidator)},
3282     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxHeaderCtrlSimple_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_ShouldInheritColours)},
3283     {SIP_MLNAME_CAST(sipName_ShowColumn), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_ShowColumn), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_ShowColumn)},
3284     {SIP_MLNAME_CAST(sipName_ShowSortIndicator), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_ShowSortIndicator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_ShowSortIndicator)},
3285     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxHeaderCtrlSimple_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_TransferDataFromWindow)},
3286     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxHeaderCtrlSimple_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_TransferDataToWindow)},
3287     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_TryAfter)},
3288     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_TryBefore)},
3289     {SIP_MLNAME_CAST(sipName_UpdateColumnVisibility), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_UpdateColumnVisibility), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_UpdateColumnVisibility)},
3290     {SIP_MLNAME_CAST(sipName_UpdateColumnWidthToFit), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_UpdateColumnWidthToFit), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_UpdateColumnWidthToFit)},
3291     {SIP_MLNAME_CAST(sipName_UpdateColumnsOrder), SIP_MLMETH_CAST(meth_wxHeaderCtrlSimple_UpdateColumnsOrder), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_UpdateColumnsOrder)},
3292     {SIP_MLNAME_CAST(sipName_Validate), meth_wxHeaderCtrlSimple_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHeaderCtrlSimple_Validate)}
3293 };
3294 
3295 PyDoc_STRVAR(doc_wxHeaderCtrlSimple, "HeaderCtrlSimple()\n"
3296 "HeaderCtrlSimple(parent, winid=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=HD_DEFAULT_STYLE, name=HeaderCtrlNameStr)\n"
3297 "\n"
3298 "wxHeaderCtrlSimple is a concrete header control which can be used\n"
3299 "directly, without inheriting from it as you need to do when using\n"
3300 "wxHeaderCtrl itself.");
3301 
3302 
3303 sipClassTypeDef sipTypeDef__core_wxHeaderCtrlSimple = {
3304     {
3305         -1,
3306         SIP_NULLPTR,
3307         SIP_NULLPTR,
3308         SIP_TYPE_SCC|SIP_TYPE_CLASS,
3309         sipNameNr_wxHeaderCtrlSimple,
3310         {SIP_NULLPTR},
3311         SIP_NULLPTR
3312     },
3313     {
3314         sipNameNr_HeaderCtrlSimple,
3315         {0, 0, 1},
3316         54, methods_wxHeaderCtrlSimple,
3317         0, SIP_NULLPTR,
3318         0, SIP_NULLPTR,
3319         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3320     },
3321     doc_wxHeaderCtrlSimple,
3322     -1,
3323     -1,
3324     supers_wxHeaderCtrlSimple,
3325     SIP_NULLPTR,
3326     init_type_wxHeaderCtrlSimple,
3327     SIP_NULLPTR,
3328     SIP_NULLPTR,
3329 #if PY_MAJOR_VERSION >= 3
3330     SIP_NULLPTR,
3331     SIP_NULLPTR,
3332 #else
3333     SIP_NULLPTR,
3334     SIP_NULLPTR,
3335     SIP_NULLPTR,
3336     SIP_NULLPTR,
3337 #endif
3338     dealloc_wxHeaderCtrlSimple,
3339     SIP_NULLPTR,
3340     SIP_NULLPTR,
3341     SIP_NULLPTR,
3342     release_wxHeaderCtrlSimple,
3343     cast_wxHeaderCtrlSimple,
3344     SIP_NULLPTR,
3345     SIP_NULLPTR,
3346     SIP_NULLPTR,
3347     SIP_NULLPTR,
3348     SIP_NULLPTR,
3349     SIP_NULLPTR
3350 };
3351