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_dataview.h"
11
12 #include <wx/dataview.h>
13
14 #include <wx/dataview.h>
15 #include <wx/dataview.h>
16 #include <wx/dataview.h>
17
18
19 class sipwxDataViewIndexListModel : public ::wxDataViewIndexListModel
20 {
21 public:
22 sipwxDataViewIndexListModel(uint);
23 virtual ~sipwxDataViewIndexListModel();
24
25 /*
26 * There is a protected method for every virtual method visible from
27 * this class.
28 */
29 protected:
30 bool IsVirtualListModel() const SIP_OVERRIDE;
31 bool IsListModel() const SIP_OVERRIDE;
32 bool SetValue(const ::wxDVCVariant&,const ::wxDataViewItem&,uint) SIP_OVERRIDE;
33 void Resort() SIP_OVERRIDE;
34 bool IsContainer(const ::wxDataViewItem&) const SIP_OVERRIDE;
35 bool HasDefaultCompare() const SIP_OVERRIDE;
36 bool HasContainerColumns(const ::wxDataViewItem&) const SIP_OVERRIDE;
37 void GetValue( ::wxDVCVariant&,const ::wxDataViewItem&,uint) const SIP_OVERRIDE;
38 ::wxDataViewItem GetParent(const ::wxDataViewItem&) const SIP_OVERRIDE;
39 ::wxString GetColumnType(uint) const SIP_OVERRIDE;
40 uint GetColumnCount() const SIP_OVERRIDE;
41 uint GetChildren(const ::wxDataViewItem&, ::wxDataViewItemArray&) const SIP_OVERRIDE;
42 bool IsEnabled(const ::wxDataViewItem&,uint) const SIP_OVERRIDE;
43 bool GetAttr(const ::wxDataViewItem&,uint, ::wxDataViewItemAttr&) const SIP_OVERRIDE;
44 int Compare(const ::wxDataViewItem&,const ::wxDataViewItem&,uint,bool) const SIP_OVERRIDE;
45 bool GetAttrByRow(uint,uint, ::wxDataViewItemAttr&) const SIP_OVERRIDE;
46 bool IsEnabledByRow(uint,uint) const SIP_OVERRIDE;
47 uint GetCount() const SIP_OVERRIDE;
48 uint GetRow(const ::wxDataViewItem&) const SIP_OVERRIDE;
49 void GetValueByRow( ::wxDVCVariant&,uint,uint) const SIP_OVERRIDE;
50 bool SetValueByRow(const ::wxDVCVariant&,uint,uint) SIP_OVERRIDE;
51
52 public:
53 sipSimpleWrapper *sipPySelf;
54
55 private:
56 sipwxDataViewIndexListModel(const sipwxDataViewIndexListModel &);
57 sipwxDataViewIndexListModel &operator = (const sipwxDataViewIndexListModel &);
58
59 char sipPyMethods[21];
60 };
61
sipwxDataViewIndexListModel(uint initial_size)62 sipwxDataViewIndexListModel::sipwxDataViewIndexListModel(uint initial_size): ::wxDataViewIndexListModel(initial_size), sipPySelf(SIP_NULLPTR)
63 {
64 memset(sipPyMethods, 0, sizeof (sipPyMethods));
65 }
66
~sipwxDataViewIndexListModel()67 sipwxDataViewIndexListModel::~sipwxDataViewIndexListModel()
68 {
69 sipInstanceDestroyedEx(&sipPySelf);
70 }
71
IsVirtualListModel() const72 bool sipwxDataViewIndexListModel::IsVirtualListModel() const
73 {
74 sip_gilstate_t sipGILState;
75 PyObject *sipMeth;
76
77 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_IsVirtualListModel);
78
79 if (!sipMeth)
80 return ::wxDataViewIndexListModel::IsVirtualListModel();
81
82 extern bool sipVH__dataview_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
83
84 return sipVH__dataview_0(sipGILState, 0, sipPySelf, sipMeth);
85 }
86
IsListModel() const87 bool sipwxDataViewIndexListModel::IsListModel() const
88 {
89 sip_gilstate_t sipGILState;
90 PyObject *sipMeth;
91
92 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_IsListModel);
93
94 if (!sipMeth)
95 return ::wxDataViewIndexListModel::IsListModel();
96
97 extern bool sipVH__dataview_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
98
99 return sipVH__dataview_0(sipGILState, 0, sipPySelf, sipMeth);
100 }
101
SetValue(const::wxDVCVariant & variant,const::wxDataViewItem & item,uint col)102 bool sipwxDataViewIndexListModel::SetValue(const ::wxDVCVariant& variant,const ::wxDataViewItem& item,uint col)
103 {
104 sip_gilstate_t sipGILState;
105 PyObject *sipMeth;
106
107 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_SetValue);
108
109 if (!sipMeth)
110 return ::wxDataViewIndexListModel::SetValue(variant,item,col);
111
112 extern bool sipVH__dataview_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDVCVariant&,const ::wxDataViewItem&,uint);
113
114 return sipVH__dataview_14(sipGILState, 0, sipPySelf, sipMeth, variant, item, col);
115 }
116
Resort()117 void sipwxDataViewIndexListModel::Resort()
118 {
119 sip_gilstate_t sipGILState;
120 PyObject *sipMeth;
121
122 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_Resort);
123
124 if (!sipMeth)
125 {
126 ::wxDataViewIndexListModel::Resort();
127 return;
128 }
129
130 extern void sipVH__dataview_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
131
132 sipVH__dataview_5(sipGILState, 0, sipPySelf, sipMeth);
133 }
134
IsContainer(const::wxDataViewItem & item) const135 bool sipwxDataViewIndexListModel::IsContainer(const ::wxDataViewItem& item) const
136 {
137 sip_gilstate_t sipGILState;
138 PyObject *sipMeth;
139
140 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,SIP_NULLPTR,sipName_IsContainer);
141
142 if (!sipMeth)
143 return ::wxDataViewIndexListModel::IsContainer(item);
144
145 extern bool sipVH__dataview_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&);
146
147 return sipVH__dataview_2(sipGILState, 0, sipPySelf, sipMeth, item);
148 }
149
HasDefaultCompare() const150 bool sipwxDataViewIndexListModel::HasDefaultCompare() const
151 {
152 sip_gilstate_t sipGILState;
153 PyObject *sipMeth;
154
155 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_HasDefaultCompare);
156
157 if (!sipMeth)
158 return ::wxDataViewIndexListModel::HasDefaultCompare();
159
160 extern bool sipVH__dataview_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
161
162 return sipVH__dataview_0(sipGILState, 0, sipPySelf, sipMeth);
163 }
164
HasContainerColumns(const::wxDataViewItem & item) const165 bool sipwxDataViewIndexListModel::HasContainerColumns(const ::wxDataViewItem& item) const
166 {
167 sip_gilstate_t sipGILState;
168 PyObject *sipMeth;
169
170 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_HasContainerColumns);
171
172 if (!sipMeth)
173 return ::wxDataViewIndexListModel::HasContainerColumns(item);
174
175 extern bool sipVH__dataview_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&);
176
177 return sipVH__dataview_2(sipGILState, 0, sipPySelf, sipMeth, item);
178 }
179
GetValue(::wxDVCVariant & variant,const::wxDataViewItem & item,uint col) const180 void sipwxDataViewIndexListModel::GetValue( ::wxDVCVariant& variant,const ::wxDataViewItem& item,uint col) const
181 {
182 sip_gilstate_t sipGILState;
183 PyObject *sipMeth;
184
185 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_GetValue);
186
187 if (!sipMeth)
188 {
189 ::wxDataViewIndexListModel::GetValue(variant,item,col);
190 return;
191 }
192
193 extern void sipVH__dataview_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDVCVariant&,const ::wxDataViewItem&,uint);
194
195 sipVH__dataview_13(sipGILState, 0, sipPySelf, sipMeth, variant, item, col);
196 }
197
GetParent(const::wxDataViewItem & item) const198 ::wxDataViewItem sipwxDataViewIndexListModel::GetParent(const ::wxDataViewItem& item) const
199 {
200 sip_gilstate_t sipGILState;
201 PyObject *sipMeth;
202
203 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_GetParent);
204
205 if (!sipMeth)
206 return ::wxDataViewIndexListModel::GetParent(item);
207
208 extern ::wxDataViewItem sipVH__dataview_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&);
209
210 return sipVH__dataview_12(sipGILState, 0, sipPySelf, sipMeth, item);
211 }
212
GetColumnType(uint col) const213 ::wxString sipwxDataViewIndexListModel::GetColumnType(uint col) const
214 {
215 sip_gilstate_t sipGILState;
216 PyObject *sipMeth;
217
218 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_DataViewIndexListModel,sipName_GetColumnType);
219
220 if (!sipMeth)
221 return ::wxString();
222
223 extern ::wxString sipVH__dataview_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
224
225 return sipVH__dataview_11(sipGILState, 0, sipPySelf, sipMeth, col);
226 }
227
GetColumnCount() const228 uint sipwxDataViewIndexListModel::GetColumnCount() const
229 {
230 sip_gilstate_t sipGILState;
231 PyObject *sipMeth;
232
233 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_DataViewIndexListModel,sipName_GetColumnCount);
234
235 if (!sipMeth)
236 return 0;
237
238 extern uint sipVH__dataview_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
239
240 return sipVH__dataview_10(sipGILState, 0, sipPySelf, sipMeth);
241 }
242
GetChildren(const::wxDataViewItem & item,::wxDataViewItemArray & children) const243 uint sipwxDataViewIndexListModel::GetChildren(const ::wxDataViewItem& item, ::wxDataViewItemArray& children) const
244 {
245 sip_gilstate_t sipGILState;
246 PyObject *sipMeth;
247
248 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,SIP_NULLPTR,sipName_GetChildren);
249
250 if (!sipMeth)
251 return ::wxDataViewIndexListModel::GetChildren(item,children);
252
253 extern uint sipVH__dataview_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&, ::wxDataViewItemArray&);
254
255 return sipVH__dataview_9(sipGILState, 0, sipPySelf, sipMeth, item, children);
256 }
257
IsEnabled(const::wxDataViewItem & item,uint col) const258 bool sipwxDataViewIndexListModel::IsEnabled(const ::wxDataViewItem& item,uint col) const
259 {
260 sip_gilstate_t sipGILState;
261 PyObject *sipMeth;
262
263 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_IsEnabled);
264
265 if (!sipMeth)
266 return ::wxDataViewIndexListModel::IsEnabled(item,col);
267
268 extern bool sipVH__dataview_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&,uint);
269
270 return sipVH__dataview_6(sipGILState, 0, sipPySelf, sipMeth, item, col);
271 }
272
GetAttr(const::wxDataViewItem & item,uint col,::wxDataViewItemAttr & attr) const273 bool sipwxDataViewIndexListModel::GetAttr(const ::wxDataViewItem& item,uint col, ::wxDataViewItemAttr& attr) const
274 {
275 sip_gilstate_t sipGILState;
276 PyObject *sipMeth;
277
278 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_GetAttr);
279
280 if (!sipMeth)
281 return ::wxDataViewIndexListModel::GetAttr(item,col,attr);
282
283 extern bool sipVH__dataview_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&,uint, ::wxDataViewItemAttr&);
284
285 return sipVH__dataview_8(sipGILState, 0, sipPySelf, sipMeth, item, col, attr);
286 }
287
Compare(const::wxDataViewItem & item1,const::wxDataViewItem & item2,uint column,bool ascending) const288 int sipwxDataViewIndexListModel::Compare(const ::wxDataViewItem& item1,const ::wxDataViewItem& item2,uint column,bool ascending) const
289 {
290 sip_gilstate_t sipGILState;
291 PyObject *sipMeth;
292
293 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_Compare);
294
295 if (!sipMeth)
296 return ::wxDataViewIndexListModel::Compare(item1,item2,column,ascending);
297
298 extern int sipVH__dataview_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&,const ::wxDataViewItem&,uint,bool);
299
300 return sipVH__dataview_7(sipGILState, 0, sipPySelf, sipMeth, item1, item2, column, ascending);
301 }
302
GetAttrByRow(uint row,uint col,::wxDataViewItemAttr & attr) const303 bool sipwxDataViewIndexListModel::GetAttrByRow(uint row,uint col, ::wxDataViewItemAttr& attr) const
304 {
305 sip_gilstate_t sipGILState;
306 PyObject *sipMeth;
307
308 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,SIP_NULLPTR,sipName_GetAttrByRow);
309
310 if (!sipMeth)
311 return ::wxDataViewIndexListModel::GetAttrByRow(row,col,attr);
312
313 extern bool sipVH__dataview_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,uint, ::wxDataViewItemAttr&);
314
315 return sipVH__dataview_15(sipGILState, 0, sipPySelf, sipMeth, row, col, attr);
316 }
317
IsEnabledByRow(uint row,uint col) const318 bool sipwxDataViewIndexListModel::IsEnabledByRow(uint row,uint col) const
319 {
320 sip_gilstate_t sipGILState;
321 PyObject *sipMeth;
322
323 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,SIP_NULLPTR,sipName_IsEnabledByRow);
324
325 if (!sipMeth)
326 return ::wxDataViewIndexListModel::IsEnabledByRow(row,col);
327
328 extern bool sipVH__dataview_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,uint);
329
330 return sipVH__dataview_16(sipGILState, 0, sipPySelf, sipMeth, row, col);
331 }
332
GetCount() const333 uint sipwxDataViewIndexListModel::GetCount() const
334 {
335 sip_gilstate_t sipGILState;
336 PyObject *sipMeth;
337
338 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,SIP_NULLPTR,sipName_GetCount);
339
340 if (!sipMeth)
341 return ::wxDataViewIndexListModel::GetCount();
342
343 extern uint sipVH__dataview_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
344
345 return sipVH__dataview_10(sipGILState, 0, sipPySelf, sipMeth);
346 }
347
GetRow(const::wxDataViewItem & item) const348 uint sipwxDataViewIndexListModel::GetRow(const ::wxDataViewItem& item) const
349 {
350 sip_gilstate_t sipGILState;
351 PyObject *sipMeth;
352
353 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,SIP_NULLPTR,sipName_GetRow);
354
355 if (!sipMeth)
356 return ::wxDataViewIndexListModel::GetRow(item);
357
358 extern uint sipVH__dataview_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDataViewItem&);
359
360 return sipVH__dataview_17(sipGILState, 0, sipPySelf, sipMeth, item);
361 }
362
GetValueByRow(::wxDVCVariant & variant,uint row,uint col) const363 void sipwxDataViewIndexListModel::GetValueByRow( ::wxDVCVariant& variant,uint row,uint col) const
364 {
365 sip_gilstate_t sipGILState;
366 PyObject *sipMeth;
367
368 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,sipName_DataViewIndexListModel,sipName_GetValueByRow);
369
370 if (!sipMeth)
371 return;
372
373 extern void sipVH__dataview_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDVCVariant&,uint,uint);
374
375 sipVH__dataview_18(sipGILState, 0, sipPySelf, sipMeth, variant, row, col);
376 }
377
SetValueByRow(const::wxDVCVariant & variant,uint row,uint col)378 bool sipwxDataViewIndexListModel::SetValueByRow(const ::wxDVCVariant& variant,uint row,uint col)
379 {
380 sip_gilstate_t sipGILState;
381 PyObject *sipMeth;
382
383 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,sipName_DataViewIndexListModel,sipName_SetValueByRow);
384
385 if (!sipMeth)
386 return 0;
387
388 extern bool sipVH__dataview_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxDVCVariant&,uint,uint);
389
390 return sipVH__dataview_19(sipGILState, 0, sipPySelf, sipMeth, variant, row, col);
391 }
392
393
394 PyDoc_STRVAR(doc_wxDataViewIndexListModel_GetItem, "GetItem(row) -> DataViewItem\n"
395 "\n"
396 "Returns the wxDataViewItem at the given row.");
397
398 extern "C" {static PyObject *meth_wxDataViewIndexListModel_GetItem(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_GetItem(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)399 static PyObject *meth_wxDataViewIndexListModel_GetItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
400 {
401 PyObject *sipParseErr = SIP_NULLPTR;
402
403 {
404 uint row;
405 const ::wxDataViewIndexListModel *sipCpp;
406
407 static const char *sipKwdList[] = {
408 sipName_row,
409 };
410
411 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &row))
412 {
413 ::wxDataViewItem*sipRes;
414
415 PyErr_Clear();
416
417 Py_BEGIN_ALLOW_THREADS
418 sipRes = new ::wxDataViewItem(sipCpp->GetItem(row));
419 Py_END_ALLOW_THREADS
420
421 if (PyErr_Occurred())
422 return 0;
423
424 return sipConvertFromNewType(sipRes,sipType_wxDataViewItem,SIP_NULLPTR);
425 }
426 }
427
428 /* Raise an exception if the arguments couldn't be parsed. */
429 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_GetItem, SIP_NULLPTR);
430
431 return SIP_NULLPTR;
432 }
433
434
435 PyDoc_STRVAR(doc_wxDataViewIndexListModel_Reset, "Reset(new_size)\n"
436 "\n"
437 "Call this after if the data has to be read again from the model.");
438
439 extern "C" {static PyObject *meth_wxDataViewIndexListModel_Reset(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_Reset(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)440 static PyObject *meth_wxDataViewIndexListModel_Reset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
441 {
442 PyObject *sipParseErr = SIP_NULLPTR;
443
444 {
445 uint new_size;
446 ::wxDataViewIndexListModel *sipCpp;
447
448 static const char *sipKwdList[] = {
449 sipName_new_size,
450 };
451
452 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &new_size))
453 {
454 PyErr_Clear();
455
456 Py_BEGIN_ALLOW_THREADS
457 sipCpp->Reset(new_size);
458 Py_END_ALLOW_THREADS
459
460 if (PyErr_Occurred())
461 return 0;
462
463 Py_INCREF(Py_None);
464 return Py_None;
465 }
466 }
467
468 /* Raise an exception if the arguments couldn't be parsed. */
469 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_Reset, SIP_NULLPTR);
470
471 return SIP_NULLPTR;
472 }
473
474
475 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowAppended, "RowAppended()\n"
476 "\n"
477 "Call this after a row has been appended to the model.");
478
479 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowAppended(PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowAppended(PyObject * sipSelf,PyObject * sipArgs)480 static PyObject *meth_wxDataViewIndexListModel_RowAppended(PyObject *sipSelf, PyObject *sipArgs)
481 {
482 PyObject *sipParseErr = SIP_NULLPTR;
483
484 {
485 ::wxDataViewIndexListModel *sipCpp;
486
487 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp))
488 {
489 PyErr_Clear();
490
491 Py_BEGIN_ALLOW_THREADS
492 sipCpp->RowAppended();
493 Py_END_ALLOW_THREADS
494
495 if (PyErr_Occurred())
496 return 0;
497
498 Py_INCREF(Py_None);
499 return Py_None;
500 }
501 }
502
503 /* Raise an exception if the arguments couldn't be parsed. */
504 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowAppended, SIP_NULLPTR);
505
506 return SIP_NULLPTR;
507 }
508
509
510 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowChanged, "RowChanged(row)\n"
511 "\n"
512 "Call this after a row has been changed.");
513
514 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowChanged(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowChanged(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)515 static PyObject *meth_wxDataViewIndexListModel_RowChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
516 {
517 PyObject *sipParseErr = SIP_NULLPTR;
518
519 {
520 uint row;
521 ::wxDataViewIndexListModel *sipCpp;
522
523 static const char *sipKwdList[] = {
524 sipName_row,
525 };
526
527 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &row))
528 {
529 PyErr_Clear();
530
531 Py_BEGIN_ALLOW_THREADS
532 sipCpp->RowChanged(row);
533 Py_END_ALLOW_THREADS
534
535 if (PyErr_Occurred())
536 return 0;
537
538 Py_INCREF(Py_None);
539 return Py_None;
540 }
541 }
542
543 /* Raise an exception if the arguments couldn't be parsed. */
544 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowChanged, SIP_NULLPTR);
545
546 return SIP_NULLPTR;
547 }
548
549
550 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowDeleted, "RowDeleted(row)\n"
551 "\n"
552 "Call this after a row has been deleted.");
553
554 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowDeleted(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowDeleted(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)555 static PyObject *meth_wxDataViewIndexListModel_RowDeleted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
556 {
557 PyObject *sipParseErr = SIP_NULLPTR;
558
559 {
560 uint row;
561 ::wxDataViewIndexListModel *sipCpp;
562
563 static const char *sipKwdList[] = {
564 sipName_row,
565 };
566
567 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &row))
568 {
569 PyErr_Clear();
570
571 Py_BEGIN_ALLOW_THREADS
572 sipCpp->RowDeleted(row);
573 Py_END_ALLOW_THREADS
574
575 if (PyErr_Occurred())
576 return 0;
577
578 Py_INCREF(Py_None);
579 return Py_None;
580 }
581 }
582
583 /* Raise an exception if the arguments couldn't be parsed. */
584 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowDeleted, SIP_NULLPTR);
585
586 return SIP_NULLPTR;
587 }
588
589
590 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowInserted, "RowInserted(before)\n"
591 "\n"
592 "Call this after a row has been inserted at the given position.");
593
594 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowInserted(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowInserted(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)595 static PyObject *meth_wxDataViewIndexListModel_RowInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
596 {
597 PyObject *sipParseErr = SIP_NULLPTR;
598
599 {
600 uint before;
601 ::wxDataViewIndexListModel *sipCpp;
602
603 static const char *sipKwdList[] = {
604 sipName_before,
605 };
606
607 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &before))
608 {
609 PyErr_Clear();
610
611 Py_BEGIN_ALLOW_THREADS
612 sipCpp->RowInserted(before);
613 Py_END_ALLOW_THREADS
614
615 if (PyErr_Occurred())
616 return 0;
617
618 Py_INCREF(Py_None);
619 return Py_None;
620 }
621 }
622
623 /* Raise an exception if the arguments couldn't be parsed. */
624 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowInserted, SIP_NULLPTR);
625
626 return SIP_NULLPTR;
627 }
628
629
630 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowPrepended, "RowPrepended()\n"
631 "\n"
632 "Call this after a row has been prepended to the model.");
633
634 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowPrepended(PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowPrepended(PyObject * sipSelf,PyObject * sipArgs)635 static PyObject *meth_wxDataViewIndexListModel_RowPrepended(PyObject *sipSelf, PyObject *sipArgs)
636 {
637 PyObject *sipParseErr = SIP_NULLPTR;
638
639 {
640 ::wxDataViewIndexListModel *sipCpp;
641
642 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp))
643 {
644 PyErr_Clear();
645
646 Py_BEGIN_ALLOW_THREADS
647 sipCpp->RowPrepended();
648 Py_END_ALLOW_THREADS
649
650 if (PyErr_Occurred())
651 return 0;
652
653 Py_INCREF(Py_None);
654 return Py_None;
655 }
656 }
657
658 /* Raise an exception if the arguments couldn't be parsed. */
659 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowPrepended, SIP_NULLPTR);
660
661 return SIP_NULLPTR;
662 }
663
664
665 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowValueChanged, "RowValueChanged(row, col)\n"
666 "\n"
667 "Call this after a value has been changed.");
668
669 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowValueChanged(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowValueChanged(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)670 static PyObject *meth_wxDataViewIndexListModel_RowValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
671 {
672 PyObject *sipParseErr = SIP_NULLPTR;
673
674 {
675 uint row;
676 uint col;
677 ::wxDataViewIndexListModel *sipCpp;
678
679 static const char *sipKwdList[] = {
680 sipName_row,
681 sipName_col,
682 };
683
684 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Buu", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, &row, &col))
685 {
686 PyErr_Clear();
687
688 Py_BEGIN_ALLOW_THREADS
689 sipCpp->RowValueChanged(row,col);
690 Py_END_ALLOW_THREADS
691
692 if (PyErr_Occurred())
693 return 0;
694
695 Py_INCREF(Py_None);
696 return Py_None;
697 }
698 }
699
700 /* Raise an exception if the arguments couldn't be parsed. */
701 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowValueChanged, SIP_NULLPTR);
702
703 return SIP_NULLPTR;
704 }
705
706
707 PyDoc_STRVAR(doc_wxDataViewIndexListModel_RowsDeleted, "RowsDeleted(rows)\n"
708 "\n"
709 "Call this after rows have been deleted.");
710
711 extern "C" {static PyObject *meth_wxDataViewIndexListModel_RowsDeleted(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_RowsDeleted(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)712 static PyObject *meth_wxDataViewIndexListModel_RowsDeleted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
713 {
714 PyObject *sipParseErr = SIP_NULLPTR;
715
716 {
717 const ::wxArrayInt* rows;
718 int rowsState = 0;
719 ::wxDataViewIndexListModel *sipCpp;
720
721 static const char *sipKwdList[] = {
722 sipName_rows,
723 };
724
725 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, sipType_wxArrayInt,&rows, &rowsState))
726 {
727 PyErr_Clear();
728
729 Py_BEGIN_ALLOW_THREADS
730 sipCpp->RowsDeleted(*rows);
731 Py_END_ALLOW_THREADS
732 sipReleaseType(const_cast< ::wxArrayInt *>(rows),sipType_wxArrayInt,rowsState);
733
734 if (PyErr_Occurred())
735 return 0;
736
737 Py_INCREF(Py_None);
738 return Py_None;
739 }
740 }
741
742 /* Raise an exception if the arguments couldn't be parsed. */
743 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_RowsDeleted, SIP_NULLPTR);
744
745 return SIP_NULLPTR;
746 }
747
748
749 PyDoc_STRVAR(doc_wxDataViewIndexListModel_GetRow, "GetRow(self, item: DataViewItem) -> int");
750
751 extern "C" {static PyObject *meth_wxDataViewIndexListModel_GetRow(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_GetRow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)752 static PyObject *meth_wxDataViewIndexListModel_GetRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
753 {
754 PyObject *sipParseErr = SIP_NULLPTR;
755 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
756
757 {
758 const ::wxDataViewItem* item;
759 const ::wxDataViewIndexListModel *sipCpp;
760
761 static const char *sipKwdList[] = {
762 sipName_item,
763 };
764
765 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, sipType_wxDataViewItem, &item))
766 {
767 uint sipRes;
768
769 PyErr_Clear();
770
771 Py_BEGIN_ALLOW_THREADS
772 sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewIndexListModel::GetRow(*item) : sipCpp->GetRow(*item));
773 Py_END_ALLOW_THREADS
774
775 if (PyErr_Occurred())
776 return 0;
777
778 return PyLong_FromUnsignedLong(sipRes);
779 }
780 }
781
782 /* Raise an exception if the arguments couldn't be parsed. */
783 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_GetRow, doc_wxDataViewIndexListModel_GetRow);
784
785 return SIP_NULLPTR;
786 }
787
788
789 PyDoc_STRVAR(doc_wxDataViewIndexListModel_GetCount, "GetCount(self) -> int");
790
791 extern "C" {static PyObject *meth_wxDataViewIndexListModel_GetCount(PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_GetCount(PyObject * sipSelf,PyObject * sipArgs)792 static PyObject *meth_wxDataViewIndexListModel_GetCount(PyObject *sipSelf, PyObject *sipArgs)
793 {
794 PyObject *sipParseErr = SIP_NULLPTR;
795 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
796
797 {
798 const ::wxDataViewIndexListModel *sipCpp;
799
800 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp))
801 {
802 uint sipRes;
803
804 PyErr_Clear();
805
806 Py_BEGIN_ALLOW_THREADS
807 sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewIndexListModel::GetCount() : sipCpp->GetCount());
808 Py_END_ALLOW_THREADS
809
810 if (PyErr_Occurred())
811 return 0;
812
813 return PyLong_FromUnsignedLong(sipRes);
814 }
815 }
816
817 /* Raise an exception if the arguments couldn't be parsed. */
818 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_GetCount, doc_wxDataViewIndexListModel_GetCount);
819
820 return SIP_NULLPTR;
821 }
822
823
824 PyDoc_STRVAR(doc_wxDataViewIndexListModel_GetChildren, "GetChildren(self, item: DataViewItem, children: DataViewItemArray) -> int");
825
826 extern "C" {static PyObject *meth_wxDataViewIndexListModel_GetChildren(PyObject *, PyObject *, PyObject *);}
meth_wxDataViewIndexListModel_GetChildren(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)827 static PyObject *meth_wxDataViewIndexListModel_GetChildren(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
828 {
829 PyObject *sipParseErr = SIP_NULLPTR;
830 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
831
832 {
833 const ::wxDataViewItem* item;
834 ::wxDataViewItemArray* children;
835 const ::wxDataViewIndexListModel *sipCpp;
836
837 static const char *sipKwdList[] = {
838 sipName_item,
839 sipName_children,
840 };
841
842 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9", &sipSelf, sipType_wxDataViewIndexListModel, &sipCpp, sipType_wxDataViewItem, &item, sipType_wxDataViewItemArray, &children))
843 {
844 uint sipRes;
845
846 PyErr_Clear();
847
848 Py_BEGIN_ALLOW_THREADS
849 sipRes = (sipSelfWasArg ? sipCpp-> ::wxDataViewIndexListModel::GetChildren(*item,*children) : sipCpp->GetChildren(*item,*children));
850 Py_END_ALLOW_THREADS
851
852 if (PyErr_Occurred())
853 return 0;
854
855 return PyLong_FromUnsignedLong(sipRes);
856 }
857 }
858
859 /* Raise an exception if the arguments couldn't be parsed. */
860 sipNoMethod(sipParseErr, sipName_DataViewIndexListModel, sipName_GetChildren, doc_wxDataViewIndexListModel_GetChildren);
861
862 return SIP_NULLPTR;
863 }
864
865
866 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
867 extern "C" {static void *cast_wxDataViewIndexListModel(void *, const sipTypeDef *);}
cast_wxDataViewIndexListModel(void * sipCppV,const sipTypeDef * targetType)868 static void *cast_wxDataViewIndexListModel(void *sipCppV, const sipTypeDef *targetType)
869 {
870 ::wxDataViewIndexListModel *sipCpp = reinterpret_cast< ::wxDataViewIndexListModel *>(sipCppV);
871
872 if (targetType == sipType_wxDataViewListModel)
873 return static_cast< ::wxDataViewListModel *>(sipCpp);
874
875 if (targetType == sipType_wxDataViewModel)
876 return static_cast< ::wxDataViewModel *>(sipCpp);
877
878 if (targetType == sipType_wxRefCounter)
879 return static_cast< ::wxRefCounter *>(sipCpp);
880
881 return sipCppV;
882 }
883
884
885 /* Call the instance's destructor. */
886 extern "C" {static void release_wxDataViewIndexListModel(void *, int);}
release_wxDataViewIndexListModel(void * sipCppV,int sipState)887 static void release_wxDataViewIndexListModel(void *sipCppV, int sipState)
888 {
889 Py_BEGIN_ALLOW_THREADS
890
891 if (sipState & SIP_DERIVED_CLASS)
892 delete reinterpret_cast<sipwxDataViewIndexListModel *>(sipCppV);
893 else
894 delete reinterpret_cast< ::wxDataViewIndexListModel *>(sipCppV);
895
896 Py_END_ALLOW_THREADS
897 }
898
899
900 extern "C" {static void dealloc_wxDataViewIndexListModel(sipSimpleWrapper *);}
dealloc_wxDataViewIndexListModel(sipSimpleWrapper * sipSelf)901 static void dealloc_wxDataViewIndexListModel(sipSimpleWrapper *sipSelf)
902 {
903 if (sipIsDerivedClass(sipSelf))
904 reinterpret_cast<sipwxDataViewIndexListModel *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
905
906 if (sipIsOwnedByPython(sipSelf))
907 {
908 release_wxDataViewIndexListModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
909 }
910 }
911
912
913 extern "C" {static void *init_type_wxDataViewIndexListModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxDataViewIndexListModel(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)914 static void *init_type_wxDataViewIndexListModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
915 {
916 sipwxDataViewIndexListModel *sipCpp = SIP_NULLPTR;
917
918 {
919 uint initial_size = 0;
920
921 static const char *sipKwdList[] = {
922 sipName_initial_size,
923 };
924
925 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|u", &initial_size))
926 {
927 PyErr_Clear();
928
929 Py_BEGIN_ALLOW_THREADS
930 sipCpp = new sipwxDataViewIndexListModel(initial_size);
931 Py_END_ALLOW_THREADS
932
933 if (PyErr_Occurred())
934 {
935 delete sipCpp;
936 return SIP_NULLPTR;
937 }
938
939 sipCpp->sipPySelf = sipSelf;
940
941 return sipCpp;
942 }
943 }
944
945 return SIP_NULLPTR;
946 }
947
948
949 /* Define this type's super-types. */
950 static sipEncodedTypeDef supers_wxDataViewIndexListModel[] = {{18, 255, 1}};
951
952
953 static PyMethodDef methods_wxDataViewIndexListModel[] = {
954 {SIP_MLNAME_CAST(sipName_GetChildren), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_GetChildren), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_GetChildren)},
955 {SIP_MLNAME_CAST(sipName_GetCount), meth_wxDataViewIndexListModel_GetCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_GetCount)},
956 {SIP_MLNAME_CAST(sipName_GetItem), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_GetItem), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_GetItem)},
957 {SIP_MLNAME_CAST(sipName_GetRow), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_GetRow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_GetRow)},
958 {SIP_MLNAME_CAST(sipName_Reset), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_Reset), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_Reset)},
959 {SIP_MLNAME_CAST(sipName_RowAppended), meth_wxDataViewIndexListModel_RowAppended, METH_VARARGS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowAppended)},
960 {SIP_MLNAME_CAST(sipName_RowChanged), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_RowChanged), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowChanged)},
961 {SIP_MLNAME_CAST(sipName_RowDeleted), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_RowDeleted), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowDeleted)},
962 {SIP_MLNAME_CAST(sipName_RowInserted), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_RowInserted), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowInserted)},
963 {SIP_MLNAME_CAST(sipName_RowPrepended), meth_wxDataViewIndexListModel_RowPrepended, METH_VARARGS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowPrepended)},
964 {SIP_MLNAME_CAST(sipName_RowValueChanged), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_RowValueChanged), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowValueChanged)},
965 {SIP_MLNAME_CAST(sipName_RowsDeleted), SIP_MLMETH_CAST(meth_wxDataViewIndexListModel_RowsDeleted), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxDataViewIndexListModel_RowsDeleted)}
966 };
967
968 PyDoc_STRVAR(doc_wxDataViewIndexListModel, "DataViewIndexListModel(initial_size=0)\n"
969 "\n"
970 "wxDataViewIndexListModel is a specialized data model which lets you\n"
971 "address an item by its position (row) rather than its wxDataViewItem\n"
972 "(which you can obtain from this class).");
973
974
975 sipClassTypeDef sipTypeDef__dataview_wxDataViewIndexListModel = {
976 {
977 -1,
978 SIP_NULLPTR,
979 SIP_NULLPTR,
980 SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
981 sipNameNr_wxDataViewIndexListModel,
982 {SIP_NULLPTR},
983 SIP_NULLPTR
984 },
985 {
986 sipNameNr_DataViewIndexListModel,
987 {0, 0, 1},
988 12, methods_wxDataViewIndexListModel,
989 0, SIP_NULLPTR,
990 0, SIP_NULLPTR,
991 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
992 },
993 doc_wxDataViewIndexListModel,
994 -1,
995 -1,
996 supers_wxDataViewIndexListModel,
997 SIP_NULLPTR,
998 init_type_wxDataViewIndexListModel,
999 SIP_NULLPTR,
1000 SIP_NULLPTR,
1001 #if PY_MAJOR_VERSION >= 3
1002 SIP_NULLPTR,
1003 SIP_NULLPTR,
1004 #else
1005 SIP_NULLPTR,
1006 SIP_NULLPTR,
1007 SIP_NULLPTR,
1008 SIP_NULLPTR,
1009 #endif
1010 dealloc_wxDataViewIndexListModel,
1011 SIP_NULLPTR,
1012 SIP_NULLPTR,
1013 SIP_NULLPTR,
1014 release_wxDataViewIndexListModel,
1015 cast_wxDataViewIndexListModel,
1016 SIP_NULLPTR,
1017 SIP_NULLPTR,
1018 SIP_NULLPTR,
1019 SIP_NULLPTR,
1020 SIP_NULLPTR,
1021 SIP_NULLPTR
1022 };
1023