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_adv.h"
11
12 #include <wx/aboutdlg.h>
13
14 #include <wx/icon.h>
15
16
17 PyDoc_STRVAR(doc_wxAboutDialogInfo_AddArtist, "AddArtist(artist)\n"
18 "\n"
19 "Adds an artist name to be shown in the program credits.");
20
21 extern "C" {static PyObject *meth_wxAboutDialogInfo_AddArtist(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_AddArtist(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)22 static PyObject *meth_wxAboutDialogInfo_AddArtist(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
23 {
24 PyObject *sipParseErr = SIP_NULLPTR;
25
26 {
27 const ::wxString* artist;
28 int artistState = 0;
29 ::wxAboutDialogInfo *sipCpp;
30
31 static const char *sipKwdList[] = {
32 sipName_artist,
33 };
34
35 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&artist, &artistState))
36 {
37 PyErr_Clear();
38
39 Py_BEGIN_ALLOW_THREADS
40 sipCpp->AddArtist(*artist);
41 Py_END_ALLOW_THREADS
42 sipReleaseType(const_cast< ::wxString *>(artist),sipType_wxString,artistState);
43
44 if (PyErr_Occurred())
45 return 0;
46
47 Py_INCREF(Py_None);
48 return Py_None;
49 }
50 }
51
52 /* Raise an exception if the arguments couldn't be parsed. */
53 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_AddArtist, SIP_NULLPTR);
54
55 return SIP_NULLPTR;
56 }
57
58
59 PyDoc_STRVAR(doc_wxAboutDialogInfo_AddDeveloper, "AddDeveloper(developer)\n"
60 "\n"
61 "Adds a developer name to be shown in the program credits.");
62
63 extern "C" {static PyObject *meth_wxAboutDialogInfo_AddDeveloper(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_AddDeveloper(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)64 static PyObject *meth_wxAboutDialogInfo_AddDeveloper(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
65 {
66 PyObject *sipParseErr = SIP_NULLPTR;
67
68 {
69 const ::wxString* developer;
70 int developerState = 0;
71 ::wxAboutDialogInfo *sipCpp;
72
73 static const char *sipKwdList[] = {
74 sipName_developer,
75 };
76
77 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&developer, &developerState))
78 {
79 PyErr_Clear();
80
81 Py_BEGIN_ALLOW_THREADS
82 sipCpp->AddDeveloper(*developer);
83 Py_END_ALLOW_THREADS
84 sipReleaseType(const_cast< ::wxString *>(developer),sipType_wxString,developerState);
85
86 if (PyErr_Occurred())
87 return 0;
88
89 Py_INCREF(Py_None);
90 return Py_None;
91 }
92 }
93
94 /* Raise an exception if the arguments couldn't be parsed. */
95 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_AddDeveloper, SIP_NULLPTR);
96
97 return SIP_NULLPTR;
98 }
99
100
101 PyDoc_STRVAR(doc_wxAboutDialogInfo_AddDocWriter, "AddDocWriter(docwriter)\n"
102 "\n"
103 "Adds a documentation writer name to be shown in the program credits.");
104
105 extern "C" {static PyObject *meth_wxAboutDialogInfo_AddDocWriter(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_AddDocWriter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)106 static PyObject *meth_wxAboutDialogInfo_AddDocWriter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
107 {
108 PyObject *sipParseErr = SIP_NULLPTR;
109
110 {
111 const ::wxString* docwriter;
112 int docwriterState = 0;
113 ::wxAboutDialogInfo *sipCpp;
114
115 static const char *sipKwdList[] = {
116 sipName_docwriter,
117 };
118
119 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&docwriter, &docwriterState))
120 {
121 PyErr_Clear();
122
123 Py_BEGIN_ALLOW_THREADS
124 sipCpp->AddDocWriter(*docwriter);
125 Py_END_ALLOW_THREADS
126 sipReleaseType(const_cast< ::wxString *>(docwriter),sipType_wxString,docwriterState);
127
128 if (PyErr_Occurred())
129 return 0;
130
131 Py_INCREF(Py_None);
132 return Py_None;
133 }
134 }
135
136 /* Raise an exception if the arguments couldn't be parsed. */
137 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_AddDocWriter, SIP_NULLPTR);
138
139 return SIP_NULLPTR;
140 }
141
142
143 PyDoc_STRVAR(doc_wxAboutDialogInfo_AddTranslator, "AddTranslator(translator)\n"
144 "\n"
145 "Adds a translator name to be shown in the program credits.");
146
147 extern "C" {static PyObject *meth_wxAboutDialogInfo_AddTranslator(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_AddTranslator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)148 static PyObject *meth_wxAboutDialogInfo_AddTranslator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
149 {
150 PyObject *sipParseErr = SIP_NULLPTR;
151
152 {
153 const ::wxString* translator;
154 int translatorState = 0;
155 ::wxAboutDialogInfo *sipCpp;
156
157 static const char *sipKwdList[] = {
158 sipName_translator,
159 };
160
161 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&translator, &translatorState))
162 {
163 PyErr_Clear();
164
165 Py_BEGIN_ALLOW_THREADS
166 sipCpp->AddTranslator(*translator);
167 Py_END_ALLOW_THREADS
168 sipReleaseType(const_cast< ::wxString *>(translator),sipType_wxString,translatorState);
169
170 if (PyErr_Occurred())
171 return 0;
172
173 Py_INCREF(Py_None);
174 return Py_None;
175 }
176 }
177
178 /* Raise an exception if the arguments couldn't be parsed. */
179 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_AddTranslator, SIP_NULLPTR);
180
181 return SIP_NULLPTR;
182 }
183
184
185 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetName, "GetName() -> String\n"
186 "\n"
187 "Get the name of the program.");
188
189 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetName(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetName(PyObject * sipSelf,PyObject * sipArgs)190 static PyObject *meth_wxAboutDialogInfo_GetName(PyObject *sipSelf, PyObject *sipArgs)
191 {
192 PyObject *sipParseErr = SIP_NULLPTR;
193
194 {
195 const ::wxAboutDialogInfo *sipCpp;
196
197 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
198 {
199 ::wxString*sipRes;
200
201 PyErr_Clear();
202
203 Py_BEGIN_ALLOW_THREADS
204 sipRes = new ::wxString(sipCpp->GetName());
205 Py_END_ALLOW_THREADS
206
207 if (PyErr_Occurred())
208 return 0;
209
210 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
211 }
212 }
213
214 /* Raise an exception if the arguments couldn't be parsed. */
215 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetName, SIP_NULLPTR);
216
217 return SIP_NULLPTR;
218 }
219
220
221 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasDescription, "HasDescription() -> bool\n"
222 "\n"
223 "Returns true if a description string has been specified.");
224
225 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasDescription(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasDescription(PyObject * sipSelf,PyObject * sipArgs)226 static PyObject *meth_wxAboutDialogInfo_HasDescription(PyObject *sipSelf, PyObject *sipArgs)
227 {
228 PyObject *sipParseErr = SIP_NULLPTR;
229
230 {
231 const ::wxAboutDialogInfo *sipCpp;
232
233 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
234 {
235 bool sipRes;
236
237 PyErr_Clear();
238
239 Py_BEGIN_ALLOW_THREADS
240 sipRes = sipCpp->HasDescription();
241 Py_END_ALLOW_THREADS
242
243 if (PyErr_Occurred())
244 return 0;
245
246 return PyBool_FromLong(sipRes);
247 }
248 }
249
250 /* Raise an exception if the arguments couldn't be parsed. */
251 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasDescription, SIP_NULLPTR);
252
253 return SIP_NULLPTR;
254 }
255
256
257 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetDescription, "GetDescription() -> String\n"
258 "\n"
259 "Get the description string.");
260
261 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetDescription(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetDescription(PyObject * sipSelf,PyObject * sipArgs)262 static PyObject *meth_wxAboutDialogInfo_GetDescription(PyObject *sipSelf, PyObject *sipArgs)
263 {
264 PyObject *sipParseErr = SIP_NULLPTR;
265
266 {
267 ::wxAboutDialogInfo *sipCpp;
268
269 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
270 {
271 ::wxString*sipRes;
272
273 PyErr_Clear();
274
275 Py_BEGIN_ALLOW_THREADS
276 sipRes = new ::wxString(sipCpp->GetDescription());
277 Py_END_ALLOW_THREADS
278
279 if (PyErr_Occurred())
280 return 0;
281
282 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
283 }
284 }
285
286 /* Raise an exception if the arguments couldn't be parsed. */
287 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetDescription, SIP_NULLPTR);
288
289 return SIP_NULLPTR;
290 }
291
292
293 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasCopyright, "HasCopyright() -> bool\n"
294 "\n"
295 "Returns true if a copyright string has been specified.");
296
297 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasCopyright(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasCopyright(PyObject * sipSelf,PyObject * sipArgs)298 static PyObject *meth_wxAboutDialogInfo_HasCopyright(PyObject *sipSelf, PyObject *sipArgs)
299 {
300 PyObject *sipParseErr = SIP_NULLPTR;
301
302 {
303 const ::wxAboutDialogInfo *sipCpp;
304
305 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
306 {
307 bool sipRes;
308
309 PyErr_Clear();
310
311 Py_BEGIN_ALLOW_THREADS
312 sipRes = sipCpp->HasCopyright();
313 Py_END_ALLOW_THREADS
314
315 if (PyErr_Occurred())
316 return 0;
317
318 return PyBool_FromLong(sipRes);
319 }
320 }
321
322 /* Raise an exception if the arguments couldn't be parsed. */
323 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasCopyright, SIP_NULLPTR);
324
325 return SIP_NULLPTR;
326 }
327
328
329 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetCopyright, "GetCopyright() -> String\n"
330 "\n"
331 "Get the copyright string.");
332
333 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetCopyright(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetCopyright(PyObject * sipSelf,PyObject * sipArgs)334 static PyObject *meth_wxAboutDialogInfo_GetCopyright(PyObject *sipSelf, PyObject *sipArgs)
335 {
336 PyObject *sipParseErr = SIP_NULLPTR;
337
338 {
339 const ::wxAboutDialogInfo *sipCpp;
340
341 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
342 {
343 ::wxString*sipRes;
344
345 PyErr_Clear();
346
347 Py_BEGIN_ALLOW_THREADS
348 sipRes = new ::wxString(sipCpp->GetCopyright());
349 Py_END_ALLOW_THREADS
350
351 if (PyErr_Occurred())
352 return 0;
353
354 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
355 }
356 }
357
358 /* Raise an exception if the arguments couldn't be parsed. */
359 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetCopyright, SIP_NULLPTR);
360
361 return SIP_NULLPTR;
362 }
363
364
365 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetArtists, "SetArtists(artists)\n"
366 "\n"
367 "Sets the list of artists to be shown in the program credits.");
368
369 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetArtists(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetArtists(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)370 static PyObject *meth_wxAboutDialogInfo_SetArtists(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
371 {
372 PyObject *sipParseErr = SIP_NULLPTR;
373
374 {
375 const ::wxArrayString* artists;
376 int artistsState = 0;
377 ::wxAboutDialogInfo *sipCpp;
378
379 static const char *sipKwdList[] = {
380 sipName_artists,
381 };
382
383 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxArrayString,&artists, &artistsState))
384 {
385 PyErr_Clear();
386
387 Py_BEGIN_ALLOW_THREADS
388 sipCpp->SetArtists(*artists);
389 Py_END_ALLOW_THREADS
390 sipReleaseType(const_cast< ::wxArrayString *>(artists),sipType_wxArrayString,artistsState);
391
392 if (PyErr_Occurred())
393 return 0;
394
395 Py_INCREF(Py_None);
396 return Py_None;
397 }
398 }
399
400 /* Raise an exception if the arguments couldn't be parsed. */
401 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetArtists, SIP_NULLPTR);
402
403 return SIP_NULLPTR;
404 }
405
406
407 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetCopyright, "SetCopyright(copyright)\n"
408 "\n"
409 "Set the short string containing the program copyright information.");
410
411 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetCopyright(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetCopyright(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)412 static PyObject *meth_wxAboutDialogInfo_SetCopyright(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
413 {
414 PyObject *sipParseErr = SIP_NULLPTR;
415
416 {
417 const ::wxString* copyright;
418 int copyrightState = 0;
419 ::wxAboutDialogInfo *sipCpp;
420
421 static const char *sipKwdList[] = {
422 sipName_copyright,
423 };
424
425 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,©right, ©rightState))
426 {
427 PyErr_Clear();
428
429 Py_BEGIN_ALLOW_THREADS
430 sipCpp->SetCopyright(*copyright);
431 Py_END_ALLOW_THREADS
432 sipReleaseType(const_cast< ::wxString *>(copyright),sipType_wxString,copyrightState);
433
434 if (PyErr_Occurred())
435 return 0;
436
437 Py_INCREF(Py_None);
438 return Py_None;
439 }
440 }
441
442 /* Raise an exception if the arguments couldn't be parsed. */
443 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetCopyright, SIP_NULLPTR);
444
445 return SIP_NULLPTR;
446 }
447
448
449 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetDescription, "SetDescription(desc)\n"
450 "\n"
451 "Set brief, but possibly multiline, description of the program.");
452
453 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetDescription(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetDescription(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)454 static PyObject *meth_wxAboutDialogInfo_SetDescription(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
455 {
456 PyObject *sipParseErr = SIP_NULLPTR;
457
458 {
459 const ::wxString* desc;
460 int descState = 0;
461 ::wxAboutDialogInfo *sipCpp;
462
463 static const char *sipKwdList[] = {
464 sipName_desc,
465 };
466
467 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&desc, &descState))
468 {
469 PyErr_Clear();
470
471 Py_BEGIN_ALLOW_THREADS
472 sipCpp->SetDescription(*desc);
473 Py_END_ALLOW_THREADS
474 sipReleaseType(const_cast< ::wxString *>(desc),sipType_wxString,descState);
475
476 if (PyErr_Occurred())
477 return 0;
478
479 Py_INCREF(Py_None);
480 return Py_None;
481 }
482 }
483
484 /* Raise an exception if the arguments couldn't be parsed. */
485 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetDescription, SIP_NULLPTR);
486
487 return SIP_NULLPTR;
488 }
489
490
491 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetDevelopers, "SetDevelopers(developers)\n"
492 "\n"
493 "Set the list of developers of the program.");
494
495 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetDevelopers(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetDevelopers(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)496 static PyObject *meth_wxAboutDialogInfo_SetDevelopers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
497 {
498 PyObject *sipParseErr = SIP_NULLPTR;
499
500 {
501 const ::wxArrayString* developers;
502 int developersState = 0;
503 ::wxAboutDialogInfo *sipCpp;
504
505 static const char *sipKwdList[] = {
506 sipName_developers,
507 };
508
509 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxArrayString,&developers, &developersState))
510 {
511 PyErr_Clear();
512
513 Py_BEGIN_ALLOW_THREADS
514 sipCpp->SetDevelopers(*developers);
515 Py_END_ALLOW_THREADS
516 sipReleaseType(const_cast< ::wxArrayString *>(developers),sipType_wxArrayString,developersState);
517
518 if (PyErr_Occurred())
519 return 0;
520
521 Py_INCREF(Py_None);
522 return Py_None;
523 }
524 }
525
526 /* Raise an exception if the arguments couldn't be parsed. */
527 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetDevelopers, SIP_NULLPTR);
528
529 return SIP_NULLPTR;
530 }
531
532
533 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetDocWriters, "SetDocWriters(docwriters)\n"
534 "\n"
535 "Set the list of documentation writers.");
536
537 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetDocWriters(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetDocWriters(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)538 static PyObject *meth_wxAboutDialogInfo_SetDocWriters(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
539 {
540 PyObject *sipParseErr = SIP_NULLPTR;
541
542 {
543 const ::wxArrayString* docwriters;
544 int docwritersState = 0;
545 ::wxAboutDialogInfo *sipCpp;
546
547 static const char *sipKwdList[] = {
548 sipName_docwriters,
549 };
550
551 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxArrayString,&docwriters, &docwritersState))
552 {
553 PyErr_Clear();
554
555 Py_BEGIN_ALLOW_THREADS
556 sipCpp->SetDocWriters(*docwriters);
557 Py_END_ALLOW_THREADS
558 sipReleaseType(const_cast< ::wxArrayString *>(docwriters),sipType_wxArrayString,docwritersState);
559
560 if (PyErr_Occurred())
561 return 0;
562
563 Py_INCREF(Py_None);
564 return Py_None;
565 }
566 }
567
568 /* Raise an exception if the arguments couldn't be parsed. */
569 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetDocWriters, SIP_NULLPTR);
570
571 return SIP_NULLPTR;
572 }
573
574
575 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasIcon, "HasIcon() -> bool\n"
576 "\n"
577 "Returns true if an icon has been set for the about dialog.");
578
579 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasIcon(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasIcon(PyObject * sipSelf,PyObject * sipArgs)580 static PyObject *meth_wxAboutDialogInfo_HasIcon(PyObject *sipSelf, PyObject *sipArgs)
581 {
582 PyObject *sipParseErr = SIP_NULLPTR;
583
584 {
585 const ::wxAboutDialogInfo *sipCpp;
586
587 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
588 {
589 bool sipRes;
590
591 PyErr_Clear();
592
593 Py_BEGIN_ALLOW_THREADS
594 sipRes = sipCpp->HasIcon();
595 Py_END_ALLOW_THREADS
596
597 if (PyErr_Occurred())
598 return 0;
599
600 return PyBool_FromLong(sipRes);
601 }
602 }
603
604 /* Raise an exception if the arguments couldn't be parsed. */
605 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasIcon, SIP_NULLPTR);
606
607 return SIP_NULLPTR;
608 }
609
610
611 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetIcon, "GetIcon() -> wx.Icon\n"
612 "\n"
613 "Returns the icon set by SetIcon().");
614
615 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetIcon(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetIcon(PyObject * sipSelf,PyObject * sipArgs)616 static PyObject *meth_wxAboutDialogInfo_GetIcon(PyObject *sipSelf, PyObject *sipArgs)
617 {
618 PyObject *sipParseErr = SIP_NULLPTR;
619
620 {
621 const ::wxAboutDialogInfo *sipCpp;
622
623 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
624 {
625 ::wxIcon*sipRes;
626
627 PyErr_Clear();
628
629 Py_BEGIN_ALLOW_THREADS
630 sipRes = new ::wxIcon(sipCpp->GetIcon());
631 Py_END_ALLOW_THREADS
632
633 if (PyErr_Occurred())
634 return 0;
635
636 return sipConvertFromNewType(sipRes,sipType_wxIcon,SIP_NULLPTR);
637 }
638 }
639
640 /* Raise an exception if the arguments couldn't be parsed. */
641 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetIcon, SIP_NULLPTR);
642
643 return SIP_NULLPTR;
644 }
645
646
647 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetIcon, "SetIcon(icon)\n"
648 "\n"
649 "Set the icon to be shown in the dialog.");
650
651 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetIcon(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetIcon(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)652 static PyObject *meth_wxAboutDialogInfo_SetIcon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
653 {
654 PyObject *sipParseErr = SIP_NULLPTR;
655
656 {
657 const ::wxIcon* icon;
658 ::wxAboutDialogInfo *sipCpp;
659
660 static const char *sipKwdList[] = {
661 sipName_icon,
662 };
663
664 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxIcon, &icon))
665 {
666 PyErr_Clear();
667
668 Py_BEGIN_ALLOW_THREADS
669 sipCpp->SetIcon(*icon);
670 Py_END_ALLOW_THREADS
671
672 if (PyErr_Occurred())
673 return 0;
674
675 Py_INCREF(Py_None);
676 return Py_None;
677 }
678 }
679
680 /* Raise an exception if the arguments couldn't be parsed. */
681 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetIcon, SIP_NULLPTR);
682
683 return SIP_NULLPTR;
684 }
685
686
687 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasLicence, "HasLicence() -> bool\n"
688 "\n"
689 "Returns true if the licence string has been set.");
690
691 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasLicence(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasLicence(PyObject * sipSelf,PyObject * sipArgs)692 static PyObject *meth_wxAboutDialogInfo_HasLicence(PyObject *sipSelf, PyObject *sipArgs)
693 {
694 PyObject *sipParseErr = SIP_NULLPTR;
695
696 {
697 const ::wxAboutDialogInfo *sipCpp;
698
699 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
700 {
701 bool sipRes;
702
703 PyErr_Clear();
704
705 Py_BEGIN_ALLOW_THREADS
706 sipRes = sipCpp->HasLicence();
707 Py_END_ALLOW_THREADS
708
709 if (PyErr_Occurred())
710 return 0;
711
712 return PyBool_FromLong(sipRes);
713 }
714 }
715
716 /* Raise an exception if the arguments couldn't be parsed. */
717 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasLicence, SIP_NULLPTR);
718
719 return SIP_NULLPTR;
720 }
721
722
723 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetLicence, "GetLicence() -> String\n"
724 "\n"
725 "Returns the licence string.");
726
727 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetLicence(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetLicence(PyObject * sipSelf,PyObject * sipArgs)728 static PyObject *meth_wxAboutDialogInfo_GetLicence(PyObject *sipSelf, PyObject *sipArgs)
729 {
730 PyObject *sipParseErr = SIP_NULLPTR;
731
732 {
733 const ::wxAboutDialogInfo *sipCpp;
734
735 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
736 {
737 ::wxString*sipRes;
738
739 PyErr_Clear();
740
741 Py_BEGIN_ALLOW_THREADS
742 sipRes = new ::wxString(sipCpp->GetLicence());
743 Py_END_ALLOW_THREADS
744
745 if (PyErr_Occurred())
746 return 0;
747
748 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
749 }
750 }
751
752 /* Raise an exception if the arguments couldn't be parsed. */
753 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetLicence, SIP_NULLPTR);
754
755 return SIP_NULLPTR;
756 }
757
758
759 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetLicence, "SetLicence(licence)\n"
760 "\n"
761 "Set the long, multiline string containing the text of the program\n"
762 "licence.");
763
764 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetLicence(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetLicence(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)765 static PyObject *meth_wxAboutDialogInfo_SetLicence(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
766 {
767 PyObject *sipParseErr = SIP_NULLPTR;
768
769 {
770 const ::wxString* licence;
771 int licenceState = 0;
772 ::wxAboutDialogInfo *sipCpp;
773
774 static const char *sipKwdList[] = {
775 sipName_licence,
776 };
777
778 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&licence, &licenceState))
779 {
780 PyErr_Clear();
781
782 Py_BEGIN_ALLOW_THREADS
783 sipCpp->SetLicence(*licence);
784 Py_END_ALLOW_THREADS
785 sipReleaseType(const_cast< ::wxString *>(licence),sipType_wxString,licenceState);
786
787 if (PyErr_Occurred())
788 return 0;
789
790 Py_INCREF(Py_None);
791 return Py_None;
792 }
793 }
794
795 /* Raise an exception if the arguments couldn't be parsed. */
796 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetLicence, SIP_NULLPTR);
797
798 return SIP_NULLPTR;
799 }
800
801
802 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetLicense, "SetLicense(licence)\n"
803 "\n"
804 "This is the same as SetLicence().");
805
806 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetLicense(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetLicense(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)807 static PyObject *meth_wxAboutDialogInfo_SetLicense(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
808 {
809 PyObject *sipParseErr = SIP_NULLPTR;
810
811 {
812 const ::wxString* licence;
813 int licenceState = 0;
814 ::wxAboutDialogInfo *sipCpp;
815
816 static const char *sipKwdList[] = {
817 sipName_licence,
818 };
819
820 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&licence, &licenceState))
821 {
822 PyErr_Clear();
823
824 Py_BEGIN_ALLOW_THREADS
825 sipCpp->SetLicense(*licence);
826 Py_END_ALLOW_THREADS
827 sipReleaseType(const_cast< ::wxString *>(licence),sipType_wxString,licenceState);
828
829 if (PyErr_Occurred())
830 return 0;
831
832 Py_INCREF(Py_None);
833 return Py_None;
834 }
835 }
836
837 /* Raise an exception if the arguments couldn't be parsed. */
838 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetLicense, SIP_NULLPTR);
839
840 return SIP_NULLPTR;
841 }
842
843
844 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetName, "SetName(name)\n"
845 "\n"
846 "Set the name of the program.");
847
848 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetName(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetName(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)849 static PyObject *meth_wxAboutDialogInfo_SetName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
850 {
851 PyObject *sipParseErr = SIP_NULLPTR;
852
853 {
854 const ::wxString* name;
855 int nameState = 0;
856 ::wxAboutDialogInfo *sipCpp;
857
858 static const char *sipKwdList[] = {
859 sipName_name,
860 };
861
862 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&name, &nameState))
863 {
864 PyErr_Clear();
865
866 Py_BEGIN_ALLOW_THREADS
867 sipCpp->SetName(*name);
868 Py_END_ALLOW_THREADS
869 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
870
871 if (PyErr_Occurred())
872 return 0;
873
874 Py_INCREF(Py_None);
875 return Py_None;
876 }
877 }
878
879 /* Raise an exception if the arguments couldn't be parsed. */
880 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetName, SIP_NULLPTR);
881
882 return SIP_NULLPTR;
883 }
884
885
886 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetTranslators, "SetTranslators(translators)\n"
887 "\n"
888 "Set the list of translators.");
889
890 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetTranslators(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetTranslators(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)891 static PyObject *meth_wxAboutDialogInfo_SetTranslators(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
892 {
893 PyObject *sipParseErr = SIP_NULLPTR;
894
895 {
896 const ::wxArrayString* translators;
897 int translatorsState = 0;
898 ::wxAboutDialogInfo *sipCpp;
899
900 static const char *sipKwdList[] = {
901 sipName_translators,
902 };
903
904 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxArrayString,&translators, &translatorsState))
905 {
906 PyErr_Clear();
907
908 Py_BEGIN_ALLOW_THREADS
909 sipCpp->SetTranslators(*translators);
910 Py_END_ALLOW_THREADS
911 sipReleaseType(const_cast< ::wxArrayString *>(translators),sipType_wxArrayString,translatorsState);
912
913 if (PyErr_Occurred())
914 return 0;
915
916 Py_INCREF(Py_None);
917 return Py_None;
918 }
919 }
920
921 /* Raise an exception if the arguments couldn't be parsed. */
922 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetTranslators, SIP_NULLPTR);
923
924 return SIP_NULLPTR;
925 }
926
927
928 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetVersion, "SetVersion(version, longVersion=\"\")\n"
929 "\n"
930 "Set the version of the program.");
931
932 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetVersion(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetVersion(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)933 static PyObject *meth_wxAboutDialogInfo_SetVersion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
934 {
935 PyObject *sipParseErr = SIP_NULLPTR;
936
937 {
938 const ::wxString* version;
939 int versionState = 0;
940 const ::wxString& longVersiondef = wxString();
941 const ::wxString* longVersion = &longVersiondef;
942 int longVersionState = 0;
943 ::wxAboutDialogInfo *sipCpp;
944
945 static const char *sipKwdList[] = {
946 sipName_version,
947 sipName_longVersion,
948 };
949
950 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&version, &versionState, sipType_wxString,&longVersion, &longVersionState))
951 {
952 PyErr_Clear();
953
954 Py_BEGIN_ALLOW_THREADS
955 sipCpp->SetVersion(*version,*longVersion);
956 Py_END_ALLOW_THREADS
957 sipReleaseType(const_cast< ::wxString *>(version),sipType_wxString,versionState);
958 sipReleaseType(const_cast< ::wxString *>(longVersion),sipType_wxString,longVersionState);
959
960 if (PyErr_Occurred())
961 return 0;
962
963 Py_INCREF(Py_None);
964 return Py_None;
965 }
966 }
967
968 /* Raise an exception if the arguments couldn't be parsed. */
969 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetVersion, SIP_NULLPTR);
970
971 return SIP_NULLPTR;
972 }
973
974
975 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetVersion, "GetVersion() -> String\n"
976 "\n"
977 "Return the short version string.");
978
979 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetVersion(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetVersion(PyObject * sipSelf,PyObject * sipArgs)980 static PyObject *meth_wxAboutDialogInfo_GetVersion(PyObject *sipSelf, PyObject *sipArgs)
981 {
982 PyObject *sipParseErr = SIP_NULLPTR;
983
984 {
985 const ::wxAboutDialogInfo *sipCpp;
986
987 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
988 {
989 ::wxString*sipRes;
990
991 PyErr_Clear();
992
993 Py_BEGIN_ALLOW_THREADS
994 sipRes = new ::wxString(sipCpp->GetVersion());
995 Py_END_ALLOW_THREADS
996
997 if (PyErr_Occurred())
998 return 0;
999
1000 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1001 }
1002 }
1003
1004 /* Raise an exception if the arguments couldn't be parsed. */
1005 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetVersion, SIP_NULLPTR);
1006
1007 return SIP_NULLPTR;
1008 }
1009
1010
1011 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetLongVersion, "GetLongVersion() -> String\n"
1012 "\n"
1013 "Return the long version string if set.");
1014
1015 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetLongVersion(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetLongVersion(PyObject * sipSelf,PyObject * sipArgs)1016 static PyObject *meth_wxAboutDialogInfo_GetLongVersion(PyObject *sipSelf, PyObject *sipArgs)
1017 {
1018 PyObject *sipParseErr = SIP_NULLPTR;
1019
1020 {
1021 const ::wxAboutDialogInfo *sipCpp;
1022
1023 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1024 {
1025 ::wxString*sipRes;
1026
1027 PyErr_Clear();
1028
1029 Py_BEGIN_ALLOW_THREADS
1030 sipRes = new ::wxString(sipCpp->GetLongVersion());
1031 Py_END_ALLOW_THREADS
1032
1033 if (PyErr_Occurred())
1034 return 0;
1035
1036 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1037 }
1038 }
1039
1040 /* Raise an exception if the arguments couldn't be parsed. */
1041 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetLongVersion, SIP_NULLPTR);
1042
1043 return SIP_NULLPTR;
1044 }
1045
1046
1047 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasWebSite, "HasWebSite() -> bool\n"
1048 "\n"
1049 "Returns true if the website info has been set.");
1050
1051 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasWebSite(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasWebSite(PyObject * sipSelf,PyObject * sipArgs)1052 static PyObject *meth_wxAboutDialogInfo_HasWebSite(PyObject *sipSelf, PyObject *sipArgs)
1053 {
1054 PyObject *sipParseErr = SIP_NULLPTR;
1055
1056 {
1057 const ::wxAboutDialogInfo *sipCpp;
1058
1059 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1060 {
1061 bool sipRes;
1062
1063 PyErr_Clear();
1064
1065 Py_BEGIN_ALLOW_THREADS
1066 sipRes = sipCpp->HasWebSite();
1067 Py_END_ALLOW_THREADS
1068
1069 if (PyErr_Occurred())
1070 return 0;
1071
1072 return PyBool_FromLong(sipRes);
1073 }
1074 }
1075
1076 /* Raise an exception if the arguments couldn't be parsed. */
1077 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasWebSite, SIP_NULLPTR);
1078
1079 return SIP_NULLPTR;
1080 }
1081
1082
1083 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetWebSiteURL, "GetWebSiteURL() -> String\n"
1084 "\n"
1085 "Returns the website URL set for the dialog.");
1086
1087 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetWebSiteURL(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetWebSiteURL(PyObject * sipSelf,PyObject * sipArgs)1088 static PyObject *meth_wxAboutDialogInfo_GetWebSiteURL(PyObject *sipSelf, PyObject *sipArgs)
1089 {
1090 PyObject *sipParseErr = SIP_NULLPTR;
1091
1092 {
1093 const ::wxAboutDialogInfo *sipCpp;
1094
1095 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1096 {
1097 ::wxString*sipRes;
1098
1099 PyErr_Clear();
1100
1101 Py_BEGIN_ALLOW_THREADS
1102 sipRes = new ::wxString(sipCpp->GetWebSiteURL());
1103 Py_END_ALLOW_THREADS
1104
1105 if (PyErr_Occurred())
1106 return 0;
1107
1108 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1109 }
1110 }
1111
1112 /* Raise an exception if the arguments couldn't be parsed. */
1113 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetWebSiteURL, SIP_NULLPTR);
1114
1115 return SIP_NULLPTR;
1116 }
1117
1118
1119 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetWebSiteDescription, "GetWebSiteDescription() -> String\n"
1120 "\n"
1121 "Returns the description of the website URL set for the dialog.");
1122
1123 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetWebSiteDescription(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetWebSiteDescription(PyObject * sipSelf,PyObject * sipArgs)1124 static PyObject *meth_wxAboutDialogInfo_GetWebSiteDescription(PyObject *sipSelf, PyObject *sipArgs)
1125 {
1126 PyObject *sipParseErr = SIP_NULLPTR;
1127
1128 {
1129 const ::wxAboutDialogInfo *sipCpp;
1130
1131 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1132 {
1133 ::wxString*sipRes;
1134
1135 PyErr_Clear();
1136
1137 Py_BEGIN_ALLOW_THREADS
1138 sipRes = new ::wxString(sipCpp->GetWebSiteDescription());
1139 Py_END_ALLOW_THREADS
1140
1141 if (PyErr_Occurred())
1142 return 0;
1143
1144 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1145 }
1146 }
1147
1148 /* Raise an exception if the arguments couldn't be parsed. */
1149 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetWebSiteDescription, SIP_NULLPTR);
1150
1151 return SIP_NULLPTR;
1152 }
1153
1154
1155 PyDoc_STRVAR(doc_wxAboutDialogInfo_SetWebSite, "SetWebSite(url, desc=wx.EmptyString)\n"
1156 "\n"
1157 "Set the web site for the program and its description (which defaults\n"
1158 "to url itself if empty).");
1159
1160 extern "C" {static PyObject *meth_wxAboutDialogInfo_SetWebSite(PyObject *, PyObject *, PyObject *);}
meth_wxAboutDialogInfo_SetWebSite(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1161 static PyObject *meth_wxAboutDialogInfo_SetWebSite(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1162 {
1163 PyObject *sipParseErr = SIP_NULLPTR;
1164
1165 {
1166 const ::wxString* url;
1167 int urlState = 0;
1168 const ::wxString& descdef = wxEmptyString;
1169 const ::wxString* desc = &descdef;
1170 int descState = 0;
1171 ::wxAboutDialogInfo *sipCpp;
1172
1173 static const char *sipKwdList[] = {
1174 sipName_url,
1175 sipName_desc,
1176 };
1177
1178 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J1", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp, sipType_wxString,&url, &urlState, sipType_wxString,&desc, &descState))
1179 {
1180 PyErr_Clear();
1181
1182 Py_BEGIN_ALLOW_THREADS
1183 sipCpp->SetWebSite(*url,*desc);
1184 Py_END_ALLOW_THREADS
1185 sipReleaseType(const_cast< ::wxString *>(url),sipType_wxString,urlState);
1186 sipReleaseType(const_cast< ::wxString *>(desc),sipType_wxString,descState);
1187
1188 if (PyErr_Occurred())
1189 return 0;
1190
1191 Py_INCREF(Py_None);
1192 return Py_None;
1193 }
1194 }
1195
1196 /* Raise an exception if the arguments couldn't be parsed. */
1197 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_SetWebSite, SIP_NULLPTR);
1198
1199 return SIP_NULLPTR;
1200 }
1201
1202
1203 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasDevelopers, "HasDevelopers() -> bool\n"
1204 "\n"
1205 "Returns true if developers have been set in the dialog info.");
1206
1207 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasDevelopers(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasDevelopers(PyObject * sipSelf,PyObject * sipArgs)1208 static PyObject *meth_wxAboutDialogInfo_HasDevelopers(PyObject *sipSelf, PyObject *sipArgs)
1209 {
1210 PyObject *sipParseErr = SIP_NULLPTR;
1211
1212 {
1213 const ::wxAboutDialogInfo *sipCpp;
1214
1215 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1216 {
1217 bool sipRes;
1218
1219 PyErr_Clear();
1220
1221 Py_BEGIN_ALLOW_THREADS
1222 sipRes = sipCpp->HasDevelopers();
1223 Py_END_ALLOW_THREADS
1224
1225 if (PyErr_Occurred())
1226 return 0;
1227
1228 return PyBool_FromLong(sipRes);
1229 }
1230 }
1231
1232 /* Raise an exception if the arguments couldn't be parsed. */
1233 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasDevelopers, SIP_NULLPTR);
1234
1235 return SIP_NULLPTR;
1236 }
1237
1238
1239 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetDevelopers, "GetDevelopers() -> ArrayString\n"
1240 "\n"
1241 "Returns an array of the developer strings set in the dialog info.");
1242
1243 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetDevelopers(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetDevelopers(PyObject * sipSelf,PyObject * sipArgs)1244 static PyObject *meth_wxAboutDialogInfo_GetDevelopers(PyObject *sipSelf, PyObject *sipArgs)
1245 {
1246 PyObject *sipParseErr = SIP_NULLPTR;
1247
1248 {
1249 const ::wxAboutDialogInfo *sipCpp;
1250
1251 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1252 {
1253 ::wxArrayString*sipRes;
1254
1255 PyErr_Clear();
1256
1257 Py_BEGIN_ALLOW_THREADS
1258 sipRes = new ::wxArrayString(sipCpp->GetDevelopers());
1259 Py_END_ALLOW_THREADS
1260
1261 if (PyErr_Occurred())
1262 return 0;
1263
1264 return sipConvertFromNewType(sipRes,sipType_wxArrayString,SIP_NULLPTR);
1265 }
1266 }
1267
1268 /* Raise an exception if the arguments couldn't be parsed. */
1269 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetDevelopers, SIP_NULLPTR);
1270
1271 return SIP_NULLPTR;
1272 }
1273
1274
1275 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasDocWriters, "HasDocWriters() -> bool\n"
1276 "\n"
1277 "Returns true if writers have been set in the dialog info.");
1278
1279 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasDocWriters(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasDocWriters(PyObject * sipSelf,PyObject * sipArgs)1280 static PyObject *meth_wxAboutDialogInfo_HasDocWriters(PyObject *sipSelf, PyObject *sipArgs)
1281 {
1282 PyObject *sipParseErr = SIP_NULLPTR;
1283
1284 {
1285 const ::wxAboutDialogInfo *sipCpp;
1286
1287 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1288 {
1289 bool sipRes;
1290
1291 PyErr_Clear();
1292
1293 Py_BEGIN_ALLOW_THREADS
1294 sipRes = sipCpp->HasDocWriters();
1295 Py_END_ALLOW_THREADS
1296
1297 if (PyErr_Occurred())
1298 return 0;
1299
1300 return PyBool_FromLong(sipRes);
1301 }
1302 }
1303
1304 /* Raise an exception if the arguments couldn't be parsed. */
1305 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasDocWriters, SIP_NULLPTR);
1306
1307 return SIP_NULLPTR;
1308 }
1309
1310
1311 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetDocWriters, "GetDocWriters() -> ArrayString\n"
1312 "\n"
1313 "Returns an array of the writer strings set in the dialog info.");
1314
1315 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetDocWriters(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetDocWriters(PyObject * sipSelf,PyObject * sipArgs)1316 static PyObject *meth_wxAboutDialogInfo_GetDocWriters(PyObject *sipSelf, PyObject *sipArgs)
1317 {
1318 PyObject *sipParseErr = SIP_NULLPTR;
1319
1320 {
1321 const ::wxAboutDialogInfo *sipCpp;
1322
1323 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1324 {
1325 ::wxArrayString*sipRes;
1326
1327 PyErr_Clear();
1328
1329 Py_BEGIN_ALLOW_THREADS
1330 sipRes = new ::wxArrayString(sipCpp->GetDocWriters());
1331 Py_END_ALLOW_THREADS
1332
1333 if (PyErr_Occurred())
1334 return 0;
1335
1336 return sipConvertFromNewType(sipRes,sipType_wxArrayString,SIP_NULLPTR);
1337 }
1338 }
1339
1340 /* Raise an exception if the arguments couldn't be parsed. */
1341 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetDocWriters, SIP_NULLPTR);
1342
1343 return SIP_NULLPTR;
1344 }
1345
1346
1347 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasArtists, "HasArtists() -> bool\n"
1348 "\n"
1349 "Returns true if artists have been set in the dialog info.");
1350
1351 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasArtists(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasArtists(PyObject * sipSelf,PyObject * sipArgs)1352 static PyObject *meth_wxAboutDialogInfo_HasArtists(PyObject *sipSelf, PyObject *sipArgs)
1353 {
1354 PyObject *sipParseErr = SIP_NULLPTR;
1355
1356 {
1357 const ::wxAboutDialogInfo *sipCpp;
1358
1359 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1360 {
1361 bool sipRes;
1362
1363 PyErr_Clear();
1364
1365 Py_BEGIN_ALLOW_THREADS
1366 sipRes = sipCpp->HasArtists();
1367 Py_END_ALLOW_THREADS
1368
1369 if (PyErr_Occurred())
1370 return 0;
1371
1372 return PyBool_FromLong(sipRes);
1373 }
1374 }
1375
1376 /* Raise an exception if the arguments couldn't be parsed. */
1377 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasArtists, SIP_NULLPTR);
1378
1379 return SIP_NULLPTR;
1380 }
1381
1382
1383 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetArtists, "GetArtists() -> ArrayString\n"
1384 "\n"
1385 "Returns an array of the artist strings set in the dialog info.");
1386
1387 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetArtists(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetArtists(PyObject * sipSelf,PyObject * sipArgs)1388 static PyObject *meth_wxAboutDialogInfo_GetArtists(PyObject *sipSelf, PyObject *sipArgs)
1389 {
1390 PyObject *sipParseErr = SIP_NULLPTR;
1391
1392 {
1393 const ::wxAboutDialogInfo *sipCpp;
1394
1395 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1396 {
1397 ::wxArrayString*sipRes;
1398
1399 PyErr_Clear();
1400
1401 Py_BEGIN_ALLOW_THREADS
1402 sipRes = new ::wxArrayString(sipCpp->GetArtists());
1403 Py_END_ALLOW_THREADS
1404
1405 if (PyErr_Occurred())
1406 return 0;
1407
1408 return sipConvertFromNewType(sipRes,sipType_wxArrayString,SIP_NULLPTR);
1409 }
1410 }
1411
1412 /* Raise an exception if the arguments couldn't be parsed. */
1413 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetArtists, SIP_NULLPTR);
1414
1415 return SIP_NULLPTR;
1416 }
1417
1418
1419 PyDoc_STRVAR(doc_wxAboutDialogInfo_HasTranslators, "HasTranslators() -> bool\n"
1420 "\n"
1421 "Returns true if translators have been set in the dialog info.");
1422
1423 extern "C" {static PyObject *meth_wxAboutDialogInfo_HasTranslators(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_HasTranslators(PyObject * sipSelf,PyObject * sipArgs)1424 static PyObject *meth_wxAboutDialogInfo_HasTranslators(PyObject *sipSelf, PyObject *sipArgs)
1425 {
1426 PyObject *sipParseErr = SIP_NULLPTR;
1427
1428 {
1429 const ::wxAboutDialogInfo *sipCpp;
1430
1431 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1432 {
1433 bool sipRes;
1434
1435 PyErr_Clear();
1436
1437 Py_BEGIN_ALLOW_THREADS
1438 sipRes = sipCpp->HasTranslators();
1439 Py_END_ALLOW_THREADS
1440
1441 if (PyErr_Occurred())
1442 return 0;
1443
1444 return PyBool_FromLong(sipRes);
1445 }
1446 }
1447
1448 /* Raise an exception if the arguments couldn't be parsed. */
1449 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_HasTranslators, SIP_NULLPTR);
1450
1451 return SIP_NULLPTR;
1452 }
1453
1454
1455 PyDoc_STRVAR(doc_wxAboutDialogInfo_GetTranslators, "GetTranslators() -> ArrayString\n"
1456 "\n"
1457 "Returns an array of the translator strings set in the dialog info.");
1458
1459 extern "C" {static PyObject *meth_wxAboutDialogInfo_GetTranslators(PyObject *, PyObject *);}
meth_wxAboutDialogInfo_GetTranslators(PyObject * sipSelf,PyObject * sipArgs)1460 static PyObject *meth_wxAboutDialogInfo_GetTranslators(PyObject *sipSelf, PyObject *sipArgs)
1461 {
1462 PyObject *sipParseErr = SIP_NULLPTR;
1463
1464 {
1465 const ::wxAboutDialogInfo *sipCpp;
1466
1467 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAboutDialogInfo, &sipCpp))
1468 {
1469 ::wxArrayString*sipRes;
1470
1471 PyErr_Clear();
1472
1473 Py_BEGIN_ALLOW_THREADS
1474 sipRes = new ::wxArrayString(sipCpp->GetTranslators());
1475 Py_END_ALLOW_THREADS
1476
1477 if (PyErr_Occurred())
1478 return 0;
1479
1480 return sipConvertFromNewType(sipRes,sipType_wxArrayString,SIP_NULLPTR);
1481 }
1482 }
1483
1484 /* Raise an exception if the arguments couldn't be parsed. */
1485 sipNoMethod(sipParseErr, sipName_AboutDialogInfo, sipName_GetTranslators, SIP_NULLPTR);
1486
1487 return SIP_NULLPTR;
1488 }
1489
1490
1491 /* Call the instance's destructor. */
1492 extern "C" {static void release_wxAboutDialogInfo(void *, int);}
release_wxAboutDialogInfo(void * sipCppV,int)1493 static void release_wxAboutDialogInfo(void *sipCppV, int)
1494 {
1495 Py_BEGIN_ALLOW_THREADS
1496
1497 delete reinterpret_cast< ::wxAboutDialogInfo *>(sipCppV);
1498
1499 Py_END_ALLOW_THREADS
1500 }
1501
1502
1503 extern "C" {static void assign_wxAboutDialogInfo(void *, SIP_SSIZE_T, void *);}
assign_wxAboutDialogInfo(void * sipDst,SIP_SSIZE_T sipDstIdx,void * sipSrc)1504 static void assign_wxAboutDialogInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
1505 {
1506 reinterpret_cast< ::wxAboutDialogInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxAboutDialogInfo *>(sipSrc);
1507 }
1508
1509
1510 extern "C" {static void *array_wxAboutDialogInfo(SIP_SSIZE_T);}
array_wxAboutDialogInfo(SIP_SSIZE_T sipNrElem)1511 static void *array_wxAboutDialogInfo(SIP_SSIZE_T sipNrElem)
1512 {
1513 return new ::wxAboutDialogInfo[sipNrElem];
1514 }
1515
1516
1517 extern "C" {static void *copy_wxAboutDialogInfo(const void *, SIP_SSIZE_T);}
copy_wxAboutDialogInfo(const void * sipSrc,SIP_SSIZE_T sipSrcIdx)1518 static void *copy_wxAboutDialogInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
1519 {
1520 return new ::wxAboutDialogInfo(reinterpret_cast<const ::wxAboutDialogInfo *>(sipSrc)[sipSrcIdx]);
1521 }
1522
1523
1524 extern "C" {static void dealloc_wxAboutDialogInfo(sipSimpleWrapper *);}
dealloc_wxAboutDialogInfo(sipSimpleWrapper * sipSelf)1525 static void dealloc_wxAboutDialogInfo(sipSimpleWrapper *sipSelf)
1526 {
1527 if (sipIsOwnedByPython(sipSelf))
1528 {
1529 release_wxAboutDialogInfo(sipGetAddress(sipSelf), 0);
1530 }
1531 }
1532
1533
1534 extern "C" {static void *init_type_wxAboutDialogInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxAboutDialogInfo(sipSimpleWrapper *,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)1535 static void *init_type_wxAboutDialogInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
1536 {
1537 ::wxAboutDialogInfo *sipCpp = SIP_NULLPTR;
1538
1539 {
1540 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
1541 {
1542 PyErr_Clear();
1543
1544 Py_BEGIN_ALLOW_THREADS
1545 sipCpp = new ::wxAboutDialogInfo();
1546 Py_END_ALLOW_THREADS
1547
1548 if (PyErr_Occurred())
1549 {
1550 delete sipCpp;
1551 return SIP_NULLPTR;
1552 }
1553
1554 return sipCpp;
1555 }
1556 }
1557
1558 {
1559 const ::wxAboutDialogInfo* a0;
1560
1561 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_wxAboutDialogInfo, &a0))
1562 {
1563 Py_BEGIN_ALLOW_THREADS
1564 sipCpp = new ::wxAboutDialogInfo(*a0);
1565 Py_END_ALLOW_THREADS
1566
1567 return sipCpp;
1568 }
1569 }
1570
1571 return SIP_NULLPTR;
1572 }
1573
1574
1575 static PyMethodDef methods_wxAboutDialogInfo[] = {
1576 {SIP_MLNAME_CAST(sipName_AddArtist), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_AddArtist), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_AddArtist)},
1577 {SIP_MLNAME_CAST(sipName_AddDeveloper), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_AddDeveloper), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_AddDeveloper)},
1578 {SIP_MLNAME_CAST(sipName_AddDocWriter), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_AddDocWriter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_AddDocWriter)},
1579 {SIP_MLNAME_CAST(sipName_AddTranslator), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_AddTranslator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_AddTranslator)},
1580 {SIP_MLNAME_CAST(sipName_GetArtists), meth_wxAboutDialogInfo_GetArtists, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetArtists)},
1581 {SIP_MLNAME_CAST(sipName_GetCopyright), meth_wxAboutDialogInfo_GetCopyright, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetCopyright)},
1582 {SIP_MLNAME_CAST(sipName_GetDescription), meth_wxAboutDialogInfo_GetDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetDescription)},
1583 {SIP_MLNAME_CAST(sipName_GetDevelopers), meth_wxAboutDialogInfo_GetDevelopers, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetDevelopers)},
1584 {SIP_MLNAME_CAST(sipName_GetDocWriters), meth_wxAboutDialogInfo_GetDocWriters, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetDocWriters)},
1585 {SIP_MLNAME_CAST(sipName_GetIcon), meth_wxAboutDialogInfo_GetIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetIcon)},
1586 {SIP_MLNAME_CAST(sipName_GetLicence), meth_wxAboutDialogInfo_GetLicence, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetLicence)},
1587 {SIP_MLNAME_CAST(sipName_GetLongVersion), meth_wxAboutDialogInfo_GetLongVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetLongVersion)},
1588 {SIP_MLNAME_CAST(sipName_GetName), meth_wxAboutDialogInfo_GetName, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetName)},
1589 {SIP_MLNAME_CAST(sipName_GetTranslators), meth_wxAboutDialogInfo_GetTranslators, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetTranslators)},
1590 {SIP_MLNAME_CAST(sipName_GetVersion), meth_wxAboutDialogInfo_GetVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetVersion)},
1591 {SIP_MLNAME_CAST(sipName_GetWebSiteDescription), meth_wxAboutDialogInfo_GetWebSiteDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetWebSiteDescription)},
1592 {SIP_MLNAME_CAST(sipName_GetWebSiteURL), meth_wxAboutDialogInfo_GetWebSiteURL, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_GetWebSiteURL)},
1593 {SIP_MLNAME_CAST(sipName_HasArtists), meth_wxAboutDialogInfo_HasArtists, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasArtists)},
1594 {SIP_MLNAME_CAST(sipName_HasCopyright), meth_wxAboutDialogInfo_HasCopyright, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasCopyright)},
1595 {SIP_MLNAME_CAST(sipName_HasDescription), meth_wxAboutDialogInfo_HasDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasDescription)},
1596 {SIP_MLNAME_CAST(sipName_HasDevelopers), meth_wxAboutDialogInfo_HasDevelopers, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasDevelopers)},
1597 {SIP_MLNAME_CAST(sipName_HasDocWriters), meth_wxAboutDialogInfo_HasDocWriters, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasDocWriters)},
1598 {SIP_MLNAME_CAST(sipName_HasIcon), meth_wxAboutDialogInfo_HasIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasIcon)},
1599 {SIP_MLNAME_CAST(sipName_HasLicence), meth_wxAboutDialogInfo_HasLicence, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasLicence)},
1600 {SIP_MLNAME_CAST(sipName_HasTranslators), meth_wxAboutDialogInfo_HasTranslators, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasTranslators)},
1601 {SIP_MLNAME_CAST(sipName_HasWebSite), meth_wxAboutDialogInfo_HasWebSite, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_HasWebSite)},
1602 {SIP_MLNAME_CAST(sipName_SetArtists), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetArtists), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetArtists)},
1603 {SIP_MLNAME_CAST(sipName_SetCopyright), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetCopyright), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetCopyright)},
1604 {SIP_MLNAME_CAST(sipName_SetDescription), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetDescription), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetDescription)},
1605 {SIP_MLNAME_CAST(sipName_SetDevelopers), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetDevelopers), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetDevelopers)},
1606 {SIP_MLNAME_CAST(sipName_SetDocWriters), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetDocWriters), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetDocWriters)},
1607 {SIP_MLNAME_CAST(sipName_SetIcon), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetIcon), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetIcon)},
1608 {SIP_MLNAME_CAST(sipName_SetLicence), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetLicence), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetLicence)},
1609 {SIP_MLNAME_CAST(sipName_SetLicense), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetLicense), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetLicense)},
1610 {SIP_MLNAME_CAST(sipName_SetName), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetName), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetName)},
1611 {SIP_MLNAME_CAST(sipName_SetTranslators), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetTranslators), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetTranslators)},
1612 {SIP_MLNAME_CAST(sipName_SetVersion), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetVersion), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetVersion)},
1613 {SIP_MLNAME_CAST(sipName_SetWebSite), SIP_MLMETH_CAST(meth_wxAboutDialogInfo_SetWebSite), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAboutDialogInfo_SetWebSite)}
1614 };
1615
1616 sipVariableDef variables_wxAboutDialogInfo[] = {
1617 {PropertyVariable, sipName_WebSiteURL, &methods_wxAboutDialogInfo[16], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1618 {PropertyVariable, sipName_WebSiteDescription, &methods_wxAboutDialogInfo[15], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1619 {PropertyVariable, sipName_Version, &methods_wxAboutDialogInfo[14], &methods_wxAboutDialogInfo[36], SIP_NULLPTR, SIP_NULLPTR},
1620 {PropertyVariable, sipName_Translators, &methods_wxAboutDialogInfo[13], &methods_wxAboutDialogInfo[35], SIP_NULLPTR, SIP_NULLPTR},
1621 {PropertyVariable, sipName_Name, &methods_wxAboutDialogInfo[12], &methods_wxAboutDialogInfo[34], SIP_NULLPTR, SIP_NULLPTR},
1622 {PropertyVariable, sipName_LongVersion, &methods_wxAboutDialogInfo[11], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1623 {PropertyVariable, sipName_Licence, &methods_wxAboutDialogInfo[10], &methods_wxAboutDialogInfo[32], SIP_NULLPTR, SIP_NULLPTR},
1624 {PropertyVariable, sipName_Icon, &methods_wxAboutDialogInfo[9], &methods_wxAboutDialogInfo[31], SIP_NULLPTR, SIP_NULLPTR},
1625 {PropertyVariable, sipName_DocWriters, &methods_wxAboutDialogInfo[8], &methods_wxAboutDialogInfo[30], SIP_NULLPTR, SIP_NULLPTR},
1626 {PropertyVariable, sipName_Developers, &methods_wxAboutDialogInfo[7], &methods_wxAboutDialogInfo[29], SIP_NULLPTR, SIP_NULLPTR},
1627 {PropertyVariable, sipName_Description, &methods_wxAboutDialogInfo[6], &methods_wxAboutDialogInfo[28], SIP_NULLPTR, SIP_NULLPTR},
1628 {PropertyVariable, sipName_Copyright, &methods_wxAboutDialogInfo[5], &methods_wxAboutDialogInfo[27], SIP_NULLPTR, SIP_NULLPTR},
1629 {PropertyVariable, sipName_Artists, &methods_wxAboutDialogInfo[4], &methods_wxAboutDialogInfo[26], SIP_NULLPTR, SIP_NULLPTR},
1630 };
1631
1632 PyDoc_STRVAR(doc_wxAboutDialogInfo, "AboutDialogInfo()\n"
1633 "\n"
1634 "wxAboutDialogInfo contains information shown in the standard About\n"
1635 "dialog displayed by the wxAboutBox() function.");
1636
1637
1638 sipClassTypeDef sipTypeDef__adv_wxAboutDialogInfo = {
1639 {
1640 -1,
1641 SIP_NULLPTR,
1642 SIP_NULLPTR,
1643 SIP_TYPE_CLASS,
1644 sipNameNr_wxAboutDialogInfo,
1645 {SIP_NULLPTR},
1646 SIP_NULLPTR
1647 },
1648 {
1649 sipNameNr_AboutDialogInfo,
1650 {0, 0, 1},
1651 38, methods_wxAboutDialogInfo,
1652 0, SIP_NULLPTR,
1653 13, variables_wxAboutDialogInfo,
1654 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1655 },
1656 doc_wxAboutDialogInfo,
1657 -1,
1658 -1,
1659 SIP_NULLPTR,
1660 SIP_NULLPTR,
1661 init_type_wxAboutDialogInfo,
1662 SIP_NULLPTR,
1663 SIP_NULLPTR,
1664 #if PY_MAJOR_VERSION >= 3
1665 SIP_NULLPTR,
1666 SIP_NULLPTR,
1667 #else
1668 SIP_NULLPTR,
1669 SIP_NULLPTR,
1670 SIP_NULLPTR,
1671 SIP_NULLPTR,
1672 #endif
1673 dealloc_wxAboutDialogInfo,
1674 assign_wxAboutDialogInfo,
1675 array_wxAboutDialogInfo,
1676 copy_wxAboutDialogInfo,
1677 release_wxAboutDialogInfo,
1678 SIP_NULLPTR,
1679 SIP_NULLPTR,
1680 SIP_NULLPTR,
1681 SIP_NULLPTR,
1682 SIP_NULLPTR,
1683 SIP_NULLPTR,
1684 SIP_NULLPTR
1685 };
1686