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/generic/helpext.h>
13
14 #include <wx/window.h>
15 #include <wx/frame.h>
16 #include <wx/gdicmn.h>
17 #include <wx/gdicmn.h>
18 #include <wx/object.h>
19 #include <wx/object.h>
20 #include <wx/object.h>
21
22
23 class sipwxExtHelpController : public ::wxExtHelpController
24 {
25 public:
26 sipwxExtHelpController( ::wxWindow*);
27 virtual ~sipwxExtHelpController();
28
29 /*
30 * There is a protected method for every virtual method visible from
31 * this class.
32 */
33 protected:
34 bool DisplayHelp(const ::wxString&) SIP_OVERRIDE;
35 bool Initialize(const ::wxString&) SIP_OVERRIDE;
36 bool DisplayBlock(long) SIP_OVERRIDE;
37 bool DisplayContents() SIP_OVERRIDE;
38 bool DisplayContextPopup(int) SIP_OVERRIDE;
39 bool DisplaySection(const ::wxString&) SIP_OVERRIDE;
40 bool DisplaySection(int) SIP_OVERRIDE;
41 bool DisplayTextPopup(const ::wxString&,const ::wxPoint&) SIP_OVERRIDE;
42 ::wxFrame* GetFrameParameters( ::wxSize*, ::wxPoint*,bool*) SIP_OVERRIDE;
43 ::wxWindow* GetParentWindow() const SIP_OVERRIDE;
44 bool KeywordSearch(const ::wxString&, ::wxHelpSearchMode) SIP_OVERRIDE;
45 bool LoadFile(const ::wxString&) SIP_OVERRIDE;
46 void OnQuit() SIP_OVERRIDE;
47 bool Quit() SIP_OVERRIDE;
48 void SetFrameParameters(const ::wxString&,const ::wxSize&,const ::wxPoint&,bool) SIP_OVERRIDE;
49 void SetParentWindow( ::wxWindow*) SIP_OVERRIDE;
50 void SetViewer(const ::wxString&,long) SIP_OVERRIDE;
51
52 public:
53 sipSimpleWrapper *sipPySelf;
54
55 private:
56 sipwxExtHelpController(const sipwxExtHelpController &);
57 sipwxExtHelpController &operator = (const sipwxExtHelpController &);
58
59 char sipPyMethods[17];
60 };
61
sipwxExtHelpController(::wxWindow * parentWindow)62 sipwxExtHelpController::sipwxExtHelpController( ::wxWindow*parentWindow): ::wxExtHelpController(parentWindow), sipPySelf(SIP_NULLPTR)
63 {
64 memset(sipPyMethods, 0, sizeof (sipPyMethods));
65 }
66
~sipwxExtHelpController()67 sipwxExtHelpController::~sipwxExtHelpController()
68 {
69 sipInstanceDestroyedEx(&sipPySelf);
70 }
71
DisplayHelp(const::wxString & relativeURL)72 bool sipwxExtHelpController::DisplayHelp(const ::wxString& relativeURL)
73 {
74 sip_gilstate_t sipGILState;
75 PyObject *sipMeth;
76
77 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_DisplayHelp);
78
79 if (!sipMeth)
80 return ::wxExtHelpController::DisplayHelp(relativeURL);
81
82 extern bool sipVH__adv_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&);
83
84 return sipVH__adv_5(sipGILState, 0, sipPySelf, sipMeth, relativeURL);
85 }
86
Initialize(const::wxString & dir)87 bool sipwxExtHelpController::Initialize(const ::wxString& dir)
88 {
89 sip_gilstate_t sipGILState;
90 PyObject *sipMeth;
91
92 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_Initialize);
93
94 if (!sipMeth)
95 return ::wxExtHelpController::Initialize(dir);
96
97 extern bool sipVH__adv_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&);
98
99 return sipVH__adv_5(sipGILState, 0, sipPySelf, sipMeth, dir);
100 }
101
DisplayBlock(long blockNo)102 bool sipwxExtHelpController::DisplayBlock(long blockNo)
103 {
104 sip_gilstate_t sipGILState;
105 PyObject *sipMeth;
106
107 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_DisplayBlock);
108
109 if (!sipMeth)
110 return ::wxExtHelpController::DisplayBlock(blockNo);
111
112 extern bool sipVH__adv_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
113
114 return sipVH__adv_11(sipGILState, 0, sipPySelf, sipMeth, blockNo);
115 }
116
DisplayContents()117 bool sipwxExtHelpController::DisplayContents()
118 {
119 sip_gilstate_t sipGILState;
120 PyObject *sipMeth;
121
122 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_DisplayContents);
123
124 if (!sipMeth)
125 return ::wxExtHelpController::DisplayContents();
126
127 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
128
129 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
130 }
131
DisplayContextPopup(int contextId)132 bool sipwxExtHelpController::DisplayContextPopup(int contextId)
133 {
134 sip_gilstate_t sipGILState;
135 PyObject *sipMeth;
136
137 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_DisplayContextPopup);
138
139 if (!sipMeth)
140 return ::wxExtHelpController::DisplayContextPopup(contextId);
141
142 extern bool sipVH__adv_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
143
144 return sipVH__adv_10(sipGILState, 0, sipPySelf, sipMeth, contextId);
145 }
146
DisplaySection(const::wxString & section)147 bool sipwxExtHelpController::DisplaySection(const ::wxString& section)
148 {
149 sip_gilstate_t sipGILState;
150 PyObject *sipMeth;
151
152 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_DisplaySection);
153
154 if (!sipMeth)
155 return ::wxExtHelpController::DisplaySection(section);
156
157 extern bool sipVH__adv_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&);
158
159 return sipVH__adv_5(sipGILState, 0, sipPySelf, sipMeth, section);
160 }
161
DisplaySection(int sectionNo)162 bool sipwxExtHelpController::DisplaySection(int sectionNo)
163 {
164 sip_gilstate_t sipGILState;
165 PyObject *sipMeth;
166
167 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_DisplaySection);
168
169 if (!sipMeth)
170 return ::wxExtHelpController::DisplaySection(sectionNo);
171
172 extern bool sipVH__adv_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
173
174 return sipVH__adv_10(sipGILState, 0, sipPySelf, sipMeth, sectionNo);
175 }
176
DisplayTextPopup(const::wxString & text,const::wxPoint & pos)177 bool sipwxExtHelpController::DisplayTextPopup(const ::wxString& text,const ::wxPoint& pos)
178 {
179 sip_gilstate_t sipGILState;
180 PyObject *sipMeth;
181
182 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_DisplayTextPopup);
183
184 if (!sipMeth)
185 return ::wxExtHelpController::DisplayTextPopup(text,pos);
186
187 extern bool sipVH__adv_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&,const ::wxPoint&);
188
189 return sipVH__adv_9(sipGILState, 0, sipPySelf, sipMeth, text, pos);
190 }
191
GetFrameParameters(::wxSize * size,::wxPoint * pos,bool * newFrameEachTime)192 ::wxFrame* sipwxExtHelpController::GetFrameParameters( ::wxSize*size, ::wxPoint*pos,bool*newFrameEachTime)
193 {
194 sip_gilstate_t sipGILState;
195 PyObject *sipMeth;
196
197 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_GetFrameParameters);
198
199 if (!sipMeth)
200 return ::wxExtHelpController::GetFrameParameters(size,pos,newFrameEachTime);
201
202 extern ::wxFrame* sipVH__adv_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxSize*, ::wxPoint*,bool*);
203
204 return sipVH__adv_8(sipGILState, 0, sipPySelf, sipMeth, size, pos, newFrameEachTime);
205 }
206
GetParentWindow() const207 ::wxWindow* sipwxExtHelpController::GetParentWindow() const
208 {
209 sip_gilstate_t sipGILState;
210 PyObject *sipMeth;
211
212 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,SIP_NULLPTR,sipName_GetParentWindow);
213
214 if (!sipMeth)
215 return ::wxExtHelpController::GetParentWindow();
216
217 extern ::wxWindow* sipVH__adv_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
218
219 return sipVH__adv_7(sipGILState, 0, sipPySelf, sipMeth);
220 }
221
KeywordSearch(const::wxString & k,::wxHelpSearchMode mode)222 bool sipwxExtHelpController::KeywordSearch(const ::wxString& k, ::wxHelpSearchMode mode)
223 {
224 sip_gilstate_t sipGILState;
225 PyObject *sipMeth;
226
227 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_KeywordSearch);
228
229 if (!sipMeth)
230 return ::wxExtHelpController::KeywordSearch(k,mode);
231
232 extern bool sipVH__adv_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&, ::wxHelpSearchMode);
233
234 return sipVH__adv_6(sipGILState, 0, sipPySelf, sipMeth, k, mode);
235 }
236
LoadFile(const::wxString & file)237 bool sipwxExtHelpController::LoadFile(const ::wxString& file)
238 {
239 sip_gilstate_t sipGILState;
240 PyObject *sipMeth;
241
242 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_LoadFile);
243
244 if (!sipMeth)
245 return ::wxExtHelpController::LoadFile(file);
246
247 extern bool sipVH__adv_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&);
248
249 return sipVH__adv_5(sipGILState, 0, sipPySelf, sipMeth, file);
250 }
251
OnQuit()252 void sipwxExtHelpController::OnQuit()
253 {
254 sip_gilstate_t sipGILState;
255 PyObject *sipMeth;
256
257 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_OnQuit);
258
259 if (!sipMeth)
260 {
261 ::wxExtHelpController::OnQuit();
262 return;
263 }
264
265 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
266
267 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
268 }
269
Quit()270 bool sipwxExtHelpController::Quit()
271 {
272 sip_gilstate_t sipGILState;
273 PyObject *sipMeth;
274
275 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_Quit);
276
277 if (!sipMeth)
278 return ::wxExtHelpController::Quit();
279
280 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
281
282 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
283 }
284
SetFrameParameters(const::wxString & titleFormat,const::wxSize & size,const::wxPoint & pos,bool newFrameEachTime)285 void sipwxExtHelpController::SetFrameParameters(const ::wxString& titleFormat,const ::wxSize& size,const ::wxPoint& pos,bool newFrameEachTime)
286 {
287 sip_gilstate_t sipGILState;
288 PyObject *sipMeth;
289
290 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_SetFrameParameters);
291
292 if (!sipMeth)
293 {
294 ::wxExtHelpController::SetFrameParameters(titleFormat,size,pos,newFrameEachTime);
295 return;
296 }
297
298 extern void sipVH__adv_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&,const ::wxSize&,const ::wxPoint&,bool);
299
300 sipVH__adv_2(sipGILState, 0, sipPySelf, sipMeth, titleFormat, size, pos, newFrameEachTime);
301 }
302
SetParentWindow(::wxWindow * parentWindow)303 void sipwxExtHelpController::SetParentWindow( ::wxWindow*parentWindow)
304 {
305 sip_gilstate_t sipGILState;
306 PyObject *sipMeth;
307
308 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_SetParentWindow);
309
310 if (!sipMeth)
311 {
312 ::wxExtHelpController::SetParentWindow(parentWindow);
313 return;
314 }
315
316 extern void sipVH__adv_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindow*);
317
318 sipVH__adv_1(sipGILState, 0, sipPySelf, sipMeth, parentWindow);
319 }
320
SetViewer(const::wxString & viewer,long flags)321 void sipwxExtHelpController::SetViewer(const ::wxString& viewer,long flags)
322 {
323 sip_gilstate_t sipGILState;
324 PyObject *sipMeth;
325
326 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_SetViewer);
327
328 if (!sipMeth)
329 {
330 ::wxExtHelpController::SetViewer(viewer,flags);
331 return;
332 }
333
334 extern void sipVH__adv_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&,long);
335
336 sipVH__adv_0(sipGILState, 0, sipPySelf, sipMeth, viewer, flags);
337 }
338
339
340 PyDoc_STRVAR(doc_wxExtHelpController_SetViewer, "SetViewer(viewer=wx.EmptyString, flags=wx.HELP_NETSCAPE)\n"
341 "\n"
342 "Tell it which browser to use.");
343
344 extern "C" {static PyObject *meth_wxExtHelpController_SetViewer(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_SetViewer(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)345 static PyObject *meth_wxExtHelpController_SetViewer(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
346 {
347 PyObject *sipParseErr = SIP_NULLPTR;
348 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
349
350 {
351 const ::wxString& viewerdef = wxEmptyString;
352 const ::wxString* viewer = &viewerdef;
353 int viewerState = 0;
354 long flags = wxHELP_NETSCAPE;
355 ::wxExtHelpController *sipCpp;
356
357 static const char *sipKwdList[] = {
358 sipName_viewer,
359 sipName_flags,
360 };
361
362 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J1l", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&viewer, &viewerState, &flags))
363 {
364 PyErr_Clear();
365
366 Py_BEGIN_ALLOW_THREADS
367 (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::SetViewer(*viewer,flags) : sipCpp->SetViewer(*viewer,flags));
368 Py_END_ALLOW_THREADS
369 sipReleaseType(const_cast< ::wxString *>(viewer),sipType_wxString,viewerState);
370
371 if (PyErr_Occurred())
372 return 0;
373
374 Py_INCREF(Py_None);
375 return Py_None;
376 }
377 }
378
379 /* Raise an exception if the arguments couldn't be parsed. */
380 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_SetViewer, SIP_NULLPTR);
381
382 return SIP_NULLPTR;
383 }
384
385
386 PyDoc_STRVAR(doc_wxExtHelpController_Initialize, "Initialize(dir) -> bool\n"
387 "\n"
388 "This must be called to tell the controller where to find the\n"
389 "documentation.");
390
391 extern "C" {static PyObject *meth_wxExtHelpController_Initialize(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_Initialize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)392 static PyObject *meth_wxExtHelpController_Initialize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
393 {
394 PyObject *sipParseErr = SIP_NULLPTR;
395 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
396
397 {
398 const ::wxString* dir;
399 int dirState = 0;
400 ::wxExtHelpController *sipCpp;
401
402 static const char *sipKwdList[] = {
403 sipName_dir,
404 };
405
406 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&dir, &dirState))
407 {
408 bool sipRes;
409
410 PyErr_Clear();
411
412 Py_BEGIN_ALLOW_THREADS
413 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::Initialize(*dir) : sipCpp->Initialize(*dir));
414 Py_END_ALLOW_THREADS
415 sipReleaseType(const_cast< ::wxString *>(dir),sipType_wxString,dirState);
416
417 if (PyErr_Occurred())
418 return 0;
419
420 return PyBool_FromLong(sipRes);
421 }
422 }
423
424 /* Raise an exception if the arguments couldn't be parsed. */
425 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_Initialize, SIP_NULLPTR);
426
427 return SIP_NULLPTR;
428 }
429
430
431 PyDoc_STRVAR(doc_wxExtHelpController_LoadFile, "LoadFile(file=wx.EmptyString) -> bool\n"
432 "\n"
433 "If file is \"\", reloads file given in Initialize.");
434
435 extern "C" {static PyObject *meth_wxExtHelpController_LoadFile(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_LoadFile(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)436 static PyObject *meth_wxExtHelpController_LoadFile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
437 {
438 PyObject *sipParseErr = SIP_NULLPTR;
439 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
440
441 {
442 const ::wxString& filedef = wxEmptyString;
443 const ::wxString* file = &filedef;
444 int fileState = 0;
445 ::wxExtHelpController *sipCpp;
446
447 static const char *sipKwdList[] = {
448 sipName_file,
449 };
450
451 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J1", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&file, &fileState))
452 {
453 bool sipRes;
454
455 PyErr_Clear();
456
457 Py_BEGIN_ALLOW_THREADS
458 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::LoadFile(*file) : sipCpp->LoadFile(*file));
459 Py_END_ALLOW_THREADS
460 sipReleaseType(const_cast< ::wxString *>(file),sipType_wxString,fileState);
461
462 if (PyErr_Occurred())
463 return 0;
464
465 return PyBool_FromLong(sipRes);
466 }
467 }
468
469 /* Raise an exception if the arguments couldn't be parsed. */
470 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_LoadFile, SIP_NULLPTR);
471
472 return SIP_NULLPTR;
473 }
474
475
476 PyDoc_STRVAR(doc_wxExtHelpController_DisplayContents, "DisplayContents() -> bool\n"
477 "\n"
478 "Display list of all help entries.");
479
480 extern "C" {static PyObject *meth_wxExtHelpController_DisplayContents(PyObject *, PyObject *);}
meth_wxExtHelpController_DisplayContents(PyObject * sipSelf,PyObject * sipArgs)481 static PyObject *meth_wxExtHelpController_DisplayContents(PyObject *sipSelf, PyObject *sipArgs)
482 {
483 PyObject *sipParseErr = SIP_NULLPTR;
484 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
485
486 {
487 ::wxExtHelpController *sipCpp;
488
489 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxExtHelpController, &sipCpp))
490 {
491 bool sipRes;
492
493 PyErr_Clear();
494
495 Py_BEGIN_ALLOW_THREADS
496 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::DisplayContents() : sipCpp->DisplayContents());
497 Py_END_ALLOW_THREADS
498
499 if (PyErr_Occurred())
500 return 0;
501
502 return PyBool_FromLong(sipRes);
503 }
504 }
505
506 /* Raise an exception if the arguments couldn't be parsed. */
507 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_DisplayContents, SIP_NULLPTR);
508
509 return SIP_NULLPTR;
510 }
511
512
513 PyDoc_STRVAR(doc_wxExtHelpController_DisplaySection, "DisplaySection(sectionNo) -> bool\n"
514 "DisplaySection(section) -> bool\n"
515 "\n"
516 "Display help for id sectionNo.\n"
517 "");
518
519 extern "C" {static PyObject *meth_wxExtHelpController_DisplaySection(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_DisplaySection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)520 static PyObject *meth_wxExtHelpController_DisplaySection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
521 {
522 PyObject *sipParseErr = SIP_NULLPTR;
523 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
524
525 {
526 int sectionNo;
527 ::wxExtHelpController *sipCpp;
528
529 static const char *sipKwdList[] = {
530 sipName_sectionNo,
531 };
532
533 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxExtHelpController, &sipCpp, §ionNo))
534 {
535 bool sipRes;
536
537 PyErr_Clear();
538
539 Py_BEGIN_ALLOW_THREADS
540 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::DisplaySection(sectionNo) : sipCpp->DisplaySection(sectionNo));
541 Py_END_ALLOW_THREADS
542
543 if (PyErr_Occurred())
544 return 0;
545
546 return PyBool_FromLong(sipRes);
547 }
548 }
549
550 {
551 const ::wxString* section;
552 int sectionState = 0;
553 ::wxExtHelpController *sipCpp;
554
555 static const char *sipKwdList[] = {
556 sipName_section,
557 };
558
559 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,§ion, §ionState))
560 {
561 bool sipRes;
562
563 PyErr_Clear();
564
565 Py_BEGIN_ALLOW_THREADS
566 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::DisplaySection(*section) : sipCpp->DisplaySection(*section));
567 Py_END_ALLOW_THREADS
568 sipReleaseType(const_cast< ::wxString *>(section),sipType_wxString,sectionState);
569
570 if (PyErr_Occurred())
571 return 0;
572
573 return PyBool_FromLong(sipRes);
574 }
575 }
576
577 /* Raise an exception if the arguments couldn't be parsed. */
578 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_DisplaySection, SIP_NULLPTR);
579
580 return SIP_NULLPTR;
581 }
582
583
584 PyDoc_STRVAR(doc_wxExtHelpController_DisplayBlock, "DisplayBlock(blockNo) -> bool\n"
585 "\n"
586 "Display help for URL (using DisplayHelp) or keyword (using\n"
587 "KeywordSearch)");
588
589 extern "C" {static PyObject *meth_wxExtHelpController_DisplayBlock(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_DisplayBlock(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)590 static PyObject *meth_wxExtHelpController_DisplayBlock(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
591 {
592 PyObject *sipParseErr = SIP_NULLPTR;
593 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
594
595 {
596 long blockNo;
597 ::wxExtHelpController *sipCpp;
598
599 static const char *sipKwdList[] = {
600 sipName_blockNo,
601 };
602
603 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxExtHelpController, &sipCpp, &blockNo))
604 {
605 bool sipRes;
606
607 PyErr_Clear();
608
609 Py_BEGIN_ALLOW_THREADS
610 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::DisplayBlock(blockNo) : sipCpp->DisplayBlock(blockNo));
611 Py_END_ALLOW_THREADS
612
613 if (PyErr_Occurred())
614 return 0;
615
616 return PyBool_FromLong(sipRes);
617 }
618 }
619
620 /* Raise an exception if the arguments couldn't be parsed. */
621 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_DisplayBlock, SIP_NULLPTR);
622
623 return SIP_NULLPTR;
624 }
625
626
627 PyDoc_STRVAR(doc_wxExtHelpController_KeywordSearch, "KeywordSearch(k, mode=wx.HELP_SEARCH_ALL) -> bool\n"
628 "\n"
629 "Search comment/documentation fields in map file and present a list to\n"
630 "chose from.");
631
632 extern "C" {static PyObject *meth_wxExtHelpController_KeywordSearch(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_KeywordSearch(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)633 static PyObject *meth_wxExtHelpController_KeywordSearch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
634 {
635 PyObject *sipParseErr = SIP_NULLPTR;
636 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
637
638 {
639 const ::wxString* k;
640 int kState = 0;
641 ::wxHelpSearchMode mode = wxHELP_SEARCH_ALL;
642 ::wxExtHelpController *sipCpp;
643
644 static const char *sipKwdList[] = {
645 sipName_k,
646 sipName_mode,
647 };
648
649 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|E", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&k, &kState, sipType_wxHelpSearchMode, &mode))
650 {
651 bool sipRes;
652
653 PyErr_Clear();
654
655 Py_BEGIN_ALLOW_THREADS
656 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::KeywordSearch(*k,mode) : sipCpp->KeywordSearch(*k,mode));
657 Py_END_ALLOW_THREADS
658 sipReleaseType(const_cast< ::wxString *>(k),sipType_wxString,kState);
659
660 if (PyErr_Occurred())
661 return 0;
662
663 return PyBool_FromLong(sipRes);
664 }
665 }
666
667 /* Raise an exception if the arguments couldn't be parsed. */
668 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_KeywordSearch, SIP_NULLPTR);
669
670 return SIP_NULLPTR;
671 }
672
673
674 PyDoc_STRVAR(doc_wxExtHelpController_Quit, "Quit() -> bool\n"
675 "\n"
676 "Does nothing.");
677
678 extern "C" {static PyObject *meth_wxExtHelpController_Quit(PyObject *, PyObject *);}
meth_wxExtHelpController_Quit(PyObject * sipSelf,PyObject * sipArgs)679 static PyObject *meth_wxExtHelpController_Quit(PyObject *sipSelf, PyObject *sipArgs)
680 {
681 PyObject *sipParseErr = SIP_NULLPTR;
682 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
683
684 {
685 ::wxExtHelpController *sipCpp;
686
687 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxExtHelpController, &sipCpp))
688 {
689 bool sipRes;
690
691 PyErr_Clear();
692
693 Py_BEGIN_ALLOW_THREADS
694 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::Quit() : sipCpp->Quit());
695 Py_END_ALLOW_THREADS
696
697 if (PyErr_Occurred())
698 return 0;
699
700 return PyBool_FromLong(sipRes);
701 }
702 }
703
704 /* Raise an exception if the arguments couldn't be parsed. */
705 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_Quit, SIP_NULLPTR);
706
707 return SIP_NULLPTR;
708 }
709
710
711 PyDoc_STRVAR(doc_wxExtHelpController_OnQuit, "OnQuit()\n"
712 "\n"
713 "Does nothing.");
714
715 extern "C" {static PyObject *meth_wxExtHelpController_OnQuit(PyObject *, PyObject *);}
meth_wxExtHelpController_OnQuit(PyObject * sipSelf,PyObject * sipArgs)716 static PyObject *meth_wxExtHelpController_OnQuit(PyObject *sipSelf, PyObject *sipArgs)
717 {
718 PyObject *sipParseErr = SIP_NULLPTR;
719 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
720
721 {
722 ::wxExtHelpController *sipCpp;
723
724 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxExtHelpController, &sipCpp))
725 {
726 PyErr_Clear();
727
728 Py_BEGIN_ALLOW_THREADS
729 (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::OnQuit() : sipCpp->OnQuit());
730 Py_END_ALLOW_THREADS
731
732 if (PyErr_Occurred())
733 return 0;
734
735 Py_INCREF(Py_None);
736 return Py_None;
737 }
738 }
739
740 /* Raise an exception if the arguments couldn't be parsed. */
741 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_OnQuit, SIP_NULLPTR);
742
743 return SIP_NULLPTR;
744 }
745
746
747 PyDoc_STRVAR(doc_wxExtHelpController_DisplayHelp, "DisplayHelp(relativeURL) -> bool\n"
748 "\n"
749 "Call the browser using a relative URL.");
750
751 extern "C" {static PyObject *meth_wxExtHelpController_DisplayHelp(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_DisplayHelp(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)752 static PyObject *meth_wxExtHelpController_DisplayHelp(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
753 {
754 PyObject *sipParseErr = SIP_NULLPTR;
755 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
756
757 {
758 const ::wxString* relativeURL;
759 int relativeURLState = 0;
760 ::wxExtHelpController *sipCpp;
761
762 static const char *sipKwdList[] = {
763 sipName_relativeURL,
764 };
765
766 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&relativeURL, &relativeURLState))
767 {
768 bool sipRes;
769
770 PyErr_Clear();
771
772 Py_BEGIN_ALLOW_THREADS
773 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::DisplayHelp(*relativeURL) : sipCpp->DisplayHelp(*relativeURL));
774 Py_END_ALLOW_THREADS
775 sipReleaseType(const_cast< ::wxString *>(relativeURL),sipType_wxString,relativeURLState);
776
777 if (PyErr_Occurred())
778 return 0;
779
780 return PyBool_FromLong(sipRes);
781 }
782 }
783
784 /* Raise an exception if the arguments couldn't be parsed. */
785 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_DisplayHelp, SIP_NULLPTR);
786
787 return SIP_NULLPTR;
788 }
789
790
791 PyDoc_STRVAR(doc_wxExtHelpController_SetFrameParameters, "SetFrameParameters(titleFormat, size, pos=wx.DefaultPosition, newFrameEachTime=False)\n"
792 "\n"
793 "Allows one to override the default settings for the help frame.");
794
795 extern "C" {static PyObject *meth_wxExtHelpController_SetFrameParameters(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_SetFrameParameters(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)796 static PyObject *meth_wxExtHelpController_SetFrameParameters(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
797 {
798 PyObject *sipParseErr = SIP_NULLPTR;
799 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
800
801 {
802 const ::wxString* titleFormat;
803 int titleFormatState = 0;
804 const ::wxSize* size;
805 int sizeState = 0;
806 const ::wxPoint& posdef = wxDefaultPosition;
807 const ::wxPoint* pos = &posdef;
808 int posState = 0;
809 bool newFrameEachTime = 0;
810 ::wxExtHelpController *sipCpp;
811
812 static const char *sipKwdList[] = {
813 sipName_titleFormat,
814 sipName_size,
815 sipName_pos,
816 sipName_newFrameEachTime,
817 };
818
819 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1|J1b", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxString,&titleFormat, &titleFormatState, sipType_wxSize, &size, &sizeState, sipType_wxPoint, &pos, &posState, &newFrameEachTime))
820 {
821 PyErr_Clear();
822
823 Py_BEGIN_ALLOW_THREADS
824 (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::SetFrameParameters(*titleFormat,*size,*pos,newFrameEachTime) : sipCpp->SetFrameParameters(*titleFormat,*size,*pos,newFrameEachTime));
825 Py_END_ALLOW_THREADS
826 sipReleaseType(const_cast< ::wxString *>(titleFormat),sipType_wxString,titleFormatState);
827 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
828 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
829
830 if (PyErr_Occurred())
831 return 0;
832
833 Py_INCREF(Py_None);
834 return Py_None;
835 }
836 }
837
838 /* Raise an exception if the arguments couldn't be parsed. */
839 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_SetFrameParameters, SIP_NULLPTR);
840
841 return SIP_NULLPTR;
842 }
843
844
845 PyDoc_STRVAR(doc_wxExtHelpController_GetFrameParameters, "GetFrameParameters(size=None, pos=None, newFrameEachTime=None) -> wx.Frame\n"
846 "\n"
847 "Obtains the latest settings used by the help frame and the help frame.");
848
849 extern "C" {static PyObject *meth_wxExtHelpController_GetFrameParameters(PyObject *, PyObject *, PyObject *);}
meth_wxExtHelpController_GetFrameParameters(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)850 static PyObject *meth_wxExtHelpController_GetFrameParameters(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
851 {
852 PyObject *sipParseErr = SIP_NULLPTR;
853 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
854
855 {
856 ::wxSize* size = 0;
857 int sizeState = 0;
858 ::wxPoint* pos = 0;
859 int posState = 0;
860 bool newFrameEachTime;
861 ::wxExtHelpController *sipCpp;
862
863 static const char *sipKwdList[] = {
864 sipName_size,
865 sipName_pos,
866 };
867
868 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J0J0", &sipSelf, sipType_wxExtHelpController, &sipCpp, sipType_wxSize, &size, &sizeState, sipType_wxPoint, &pos, &posState))
869 {
870 ::wxFrame*sipRes;
871
872 PyErr_Clear();
873
874 Py_BEGIN_ALLOW_THREADS
875 sipRes = (sipSelfWasArg ? sipCpp-> ::wxExtHelpController::GetFrameParameters(size,pos,&newFrameEachTime) : sipCpp->GetFrameParameters(size,pos,&newFrameEachTime));
876 Py_END_ALLOW_THREADS
877 sipReleaseType(size,sipType_wxSize,sizeState);
878 sipReleaseType(pos,sipType_wxPoint,posState);
879
880 if (PyErr_Occurred())
881 return 0;
882
883 PyObject *sipResObj = sipConvertFromType(sipRes,sipType_wxFrame,SIP_NULLPTR);
884 return sipBuildResult(0,"(Rb)",sipResObj,newFrameEachTime);
885 }
886 }
887
888 /* Raise an exception if the arguments couldn't be parsed. */
889 sipNoMethod(sipParseErr, sipName_ExtHelpController, sipName_GetFrameParameters, SIP_NULLPTR);
890
891 return SIP_NULLPTR;
892 }
893
894
895 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
896 extern "C" {static void *cast_wxExtHelpController(void *, const sipTypeDef *);}
cast_wxExtHelpController(void * sipCppV,const sipTypeDef * targetType)897 static void *cast_wxExtHelpController(void *sipCppV, const sipTypeDef *targetType)
898 {
899 ::wxExtHelpController *sipCpp = reinterpret_cast< ::wxExtHelpController *>(sipCppV);
900
901 if (targetType == sipType_wxHelpControllerBase)
902 return static_cast< ::wxHelpControllerBase *>(sipCpp);
903
904 if (targetType == sipType_wxObject)
905 return static_cast< ::wxObject *>(sipCpp);
906
907 return sipCppV;
908 }
909
910
911 /* Call the instance's destructor. */
912 extern "C" {static void release_wxExtHelpController(void *, int);}
release_wxExtHelpController(void * sipCppV,int sipState)913 static void release_wxExtHelpController(void *sipCppV, int sipState)
914 {
915 Py_BEGIN_ALLOW_THREADS
916
917 if (sipState & SIP_DERIVED_CLASS)
918 delete reinterpret_cast<sipwxExtHelpController *>(sipCppV);
919 else
920 delete reinterpret_cast< ::wxExtHelpController *>(sipCppV);
921
922 Py_END_ALLOW_THREADS
923 }
924
925
926 extern "C" {static void dealloc_wxExtHelpController(sipSimpleWrapper *);}
dealloc_wxExtHelpController(sipSimpleWrapper * sipSelf)927 static void dealloc_wxExtHelpController(sipSimpleWrapper *sipSelf)
928 {
929 if (sipIsDerivedClass(sipSelf))
930 reinterpret_cast<sipwxExtHelpController *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
931
932 if (sipIsOwnedByPython(sipSelf))
933 {
934 release_wxExtHelpController(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
935 }
936 }
937
938
939 extern "C" {static void *init_type_wxExtHelpController(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxExtHelpController(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)940 static void *init_type_wxExtHelpController(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
941 {
942 sipwxExtHelpController *sipCpp = SIP_NULLPTR;
943
944 {
945 ::wxWindow* parentWindow = 0;
946
947 static const char *sipKwdList[] = {
948 sipName_parentWindow,
949 };
950
951 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J8", sipType_wxWindow, &parentWindow))
952 {
953 PyErr_Clear();
954
955 Py_BEGIN_ALLOW_THREADS
956 sipCpp = new sipwxExtHelpController(parentWindow);
957 Py_END_ALLOW_THREADS
958
959 if (PyErr_Occurred())
960 {
961 delete sipCpp;
962 return SIP_NULLPTR;
963 }
964
965 sipCpp->sipPySelf = sipSelf;
966
967 return sipCpp;
968 }
969 }
970
971 return SIP_NULLPTR;
972 }
973
974
975 /* Define this type's super-types. */
976 static sipEncodedTypeDef supers_wxExtHelpController[] = {{25, 0, 1}};
977
978
979 static PyMethodDef methods_wxExtHelpController[] = {
980 {SIP_MLNAME_CAST(sipName_DisplayBlock), SIP_MLMETH_CAST(meth_wxExtHelpController_DisplayBlock), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_DisplayBlock)},
981 {SIP_MLNAME_CAST(sipName_DisplayContents), meth_wxExtHelpController_DisplayContents, METH_VARARGS, SIP_MLDOC_CAST(doc_wxExtHelpController_DisplayContents)},
982 {SIP_MLNAME_CAST(sipName_DisplayHelp), SIP_MLMETH_CAST(meth_wxExtHelpController_DisplayHelp), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_DisplayHelp)},
983 {SIP_MLNAME_CAST(sipName_DisplaySection), SIP_MLMETH_CAST(meth_wxExtHelpController_DisplaySection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_DisplaySection)},
984 {SIP_MLNAME_CAST(sipName_GetFrameParameters), SIP_MLMETH_CAST(meth_wxExtHelpController_GetFrameParameters), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_GetFrameParameters)},
985 {SIP_MLNAME_CAST(sipName_Initialize), SIP_MLMETH_CAST(meth_wxExtHelpController_Initialize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_Initialize)},
986 {SIP_MLNAME_CAST(sipName_KeywordSearch), SIP_MLMETH_CAST(meth_wxExtHelpController_KeywordSearch), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_KeywordSearch)},
987 {SIP_MLNAME_CAST(sipName_LoadFile), SIP_MLMETH_CAST(meth_wxExtHelpController_LoadFile), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_LoadFile)},
988 {SIP_MLNAME_CAST(sipName_OnQuit), meth_wxExtHelpController_OnQuit, METH_VARARGS, SIP_MLDOC_CAST(doc_wxExtHelpController_OnQuit)},
989 {SIP_MLNAME_CAST(sipName_Quit), meth_wxExtHelpController_Quit, METH_VARARGS, SIP_MLDOC_CAST(doc_wxExtHelpController_Quit)},
990 {SIP_MLNAME_CAST(sipName_SetFrameParameters), SIP_MLMETH_CAST(meth_wxExtHelpController_SetFrameParameters), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_SetFrameParameters)},
991 {SIP_MLNAME_CAST(sipName_SetViewer), SIP_MLMETH_CAST(meth_wxExtHelpController_SetViewer), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxExtHelpController_SetViewer)}
992 };
993
994 sipVariableDef variables_wxExtHelpController[] = {
995 {PropertyVariable, sipName_FrameParameters, &methods_wxExtHelpController[4], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
996 };
997
998 PyDoc_STRVAR(doc_wxExtHelpController, "ExtHelpController(parentWindow=None)\n"
999 "\n"
1000 "This class implements help via an external browser.");
1001
1002
1003 sipClassTypeDef sipTypeDef__adv_wxExtHelpController = {
1004 {
1005 -1,
1006 SIP_NULLPTR,
1007 SIP_NULLPTR,
1008 SIP_TYPE_SCC|SIP_TYPE_CLASS,
1009 sipNameNr_wxExtHelpController,
1010 {SIP_NULLPTR},
1011 SIP_NULLPTR
1012 },
1013 {
1014 sipNameNr_ExtHelpController,
1015 {0, 0, 1},
1016 12, methods_wxExtHelpController,
1017 0, SIP_NULLPTR,
1018 1, variables_wxExtHelpController,
1019 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1020 },
1021 doc_wxExtHelpController,
1022 -1,
1023 -1,
1024 supers_wxExtHelpController,
1025 SIP_NULLPTR,
1026 init_type_wxExtHelpController,
1027 SIP_NULLPTR,
1028 SIP_NULLPTR,
1029 #if PY_MAJOR_VERSION >= 3
1030 SIP_NULLPTR,
1031 SIP_NULLPTR,
1032 #else
1033 SIP_NULLPTR,
1034 SIP_NULLPTR,
1035 SIP_NULLPTR,
1036 SIP_NULLPTR,
1037 #endif
1038 dealloc_wxExtHelpController,
1039 SIP_NULLPTR,
1040 SIP_NULLPTR,
1041 SIP_NULLPTR,
1042 release_wxExtHelpController,
1043 cast_wxExtHelpController,
1044 SIP_NULLPTR,
1045 SIP_NULLPTR,
1046 SIP_NULLPTR,
1047 SIP_NULLPTR,
1048 SIP_NULLPTR,
1049 SIP_NULLPTR
1050 };
1051