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