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_propgrid.h"
11 
12         #include <wx/propgrid/propgrid.h>
13 
14         #include <wx/window.h>
15         #include <wx/gdicmn.h>
16         #include <wx/gdicmn.h>
17         #include <wx/window.h>
18         #include <wx/event.h>
19         #include <wx/validate.h>
20         #include <wx/propgrid/editors.h>
21         #include <wx/propgrid/property.h>
22         #include <wx/colour.h>
23         #include <wx/propgrid/propgridiface.h>
24         #include <wx/propgrid/property.h>
25         #include <wx/propgrid/propgridpagestate.h>
26         #include <wx/textctrl.h>
27         #include <wx/gdicmn.h>
28         #include <wx/font.h>
29         #include <wx/statusbr.h>
30         #include <wx/dc.h>
31         #include <wx/event.h>
32         #include <wx/event.h>
33     #include <wx/setup.h>
34     #include <wxPython/wxpy_api.h>
35         #include <wx/event.h>
36         #include <wx/cursor.h>
37         #include <wx/caret.h>
38         #include <wx/layout.h>
39         #include <wx/sizer.h>
40         #include <wx/dnd.h>
41         #include <wx/access.h>
42         #include <wx/accel.h>
43         #include <wx/menu.h>
44         #include <wx/tooltip.h>
45         #include <wx/event.h>
46         #include <wx/event.h>
47         #include <wx/event.h>
48         #include <wx/palette.h>
49         #include <wx/region.h>
50 
51         #include <wx/eventfilter.h>
52         #include <wx/object.h>
53         #include <wx/object.h>
54         #include <wx/object.h>
55         #include <wx/datetime.h>
56         #include <wx/bitmap.h>
57         #include <wx/propgrid/propgridpagestate.h>
58         #include <wx/propgrid/property.h>
59         #include <wx/propgrid/propgridpagestate.h>
60 
61 
62 class sipwxPropertyGrid : public  ::wxPropertyGrid
63 {
64 public:
65     sipwxPropertyGrid();
66     sipwxPropertyGrid( ::wxWindow*, ::wxWindowID,const  ::wxPoint&,const  ::wxSize&,long,const  ::wxString&);
67     virtual ~sipwxPropertyGrid();
68 
69     /*
70      * There is a public method for every protected method visible from
71      * this class.
72      */
73     void sipProtect_SendDestroyEvent();
74     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
75     void sipProtectVirt_DoEnable(bool,bool);
76     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
77     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
78     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
79      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
80      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
81     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
82     void sipProtectVirt_DoSetClientSize(bool,int,int);
83     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
84      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
85     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
86     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
87      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
88      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
89     void sipProtectVirt_DoFreeze(bool);
90     void sipProtectVirt_DoThaw(bool);
91     bool sipProtectVirt_HasTransparentBackground(bool);
92     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
93     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
94 
95     /*
96      * There is a protected method for every virtual method visible from
97      * this class.
98      */
99 protected:
100     void Clear() SIP_OVERRIDE;
101      ::wxPGVIterator GetVIterator(int) const SIP_OVERRIDE;
102      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
103      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
104     void DoThaw() SIP_OVERRIDE;
105     void DoFreeze() SIP_OVERRIDE;
106      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
107      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
108     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
109     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
110      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
111     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
112     void DoSetClientSize(int,int) SIP_OVERRIDE;
113     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
114     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
115     void DoGetSize(int*,int*) const SIP_OVERRIDE;
116     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
117     void DoEnable(bool) SIP_OVERRIDE;
118      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
119     void OnInternalIdle() SIP_OVERRIDE;
120     void InitDialog() SIP_OVERRIDE;
121     void InheritAttributes() SIP_OVERRIDE;
122     bool Destroy() SIP_OVERRIDE;
123     bool Validate() SIP_OVERRIDE;
124     bool TransferDataToWindow() SIP_OVERRIDE;
125     bool TransferDataFromWindow() SIP_OVERRIDE;
126     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
127      ::wxValidator* GetValidator() SIP_OVERRIDE;
128     bool ShouldInheritColours() const SIP_OVERRIDE;
129     bool HasTransparentBackground() SIP_OVERRIDE;
130      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
131     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
132     void SetCanFocus(bool) SIP_OVERRIDE;
133     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
134     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
135     bool AcceptsFocus() const SIP_OVERRIDE;
136     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
137     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
138     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
139     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
140     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
141 
142 public:
143     sipSimpleWrapper *sipPySelf;
144 
145 private:
146     sipwxPropertyGrid(const sipwxPropertyGrid &);
147     sipwxPropertyGrid &operator = (const sipwxPropertyGrid &);
148 
149     char sipPyMethods[41];
150 };
151 
sipwxPropertyGrid()152 sipwxPropertyGrid::sipwxPropertyGrid():  ::wxPropertyGrid(), sipPySelf(SIP_NULLPTR)
153 {
154     memset(sipPyMethods, 0, sizeof (sipPyMethods));
155 }
156 
sipwxPropertyGrid(::wxWindow * parent,::wxWindowID id,const::wxPoint & pos,const::wxSize & size,long style,const::wxString & name)157 sipwxPropertyGrid::sipwxPropertyGrid( ::wxWindow*parent, ::wxWindowID id,const  ::wxPoint& pos,const  ::wxSize& size,long style,const  ::wxString& name):  ::wxPropertyGrid(parent,id,pos,size,style,name), sipPySelf(SIP_NULLPTR)
158 {
159     memset(sipPyMethods, 0, sizeof (sipPyMethods));
160 }
161 
~sipwxPropertyGrid()162 sipwxPropertyGrid::~sipwxPropertyGrid()
163 {
164     sipInstanceDestroyedEx(&sipPySelf);
165 }
166 
Clear()167 void sipwxPropertyGrid::Clear()
168 {
169     sip_gilstate_t sipGILState;
170     PyObject *sipMeth;
171 
172     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_Clear);
173 
174     if (!sipMeth)
175     {
176          ::wxPropertyGrid::Clear();
177         return;
178     }
179 
180     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
181 
182     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
183 }
184 
GetVIterator(int flags) const185  ::wxPGVIterator sipwxPropertyGrid::GetVIterator(int flags) const
186 {
187     sip_gilstate_t sipGILState;
188     PyObject *sipMeth;
189 
190     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_GetVIterator);
191 
192     if (!sipMeth)
193         return  ::wxPropertyGrid::GetVIterator(flags);
194 
195     extern  ::wxPGVIterator sipVH__propgrid_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
196 
197     return sipVH__propgrid_54(sipGILState, 0, sipPySelf, sipMeth, flags);
198 }
199 
DoGetBestClientSize() const200  ::wxSize sipwxPropertyGrid::DoGetBestClientSize() const
201 {
202     sip_gilstate_t sipGILState;
203     PyObject *sipMeth;
204 
205     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
206 
207     if (!sipMeth)
208         return  ::wxPropertyGrid::DoGetBestClientSize();
209 
210     extern  ::wxSize sipVH__propgrid_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
211 
212     return sipVH__propgrid_36(sipGILState, 0, sipPySelf, sipMeth);
213 }
214 
DoGetBestSize() const215  ::wxSize sipwxPropertyGrid::DoGetBestSize() const
216 {
217     sip_gilstate_t sipGILState;
218     PyObject *sipMeth;
219 
220     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
221 
222     if (!sipMeth)
223         return  ::wxPropertyGrid::DoGetBestSize();
224 
225     extern  ::wxSize sipVH__propgrid_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
226 
227     return sipVH__propgrid_36(sipGILState, 0, sipPySelf, sipMeth);
228 }
229 
DoThaw()230 void sipwxPropertyGrid::DoThaw()
231 {
232     sip_gilstate_t sipGILState;
233     PyObject *sipMeth;
234 
235     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
236 
237     if (!sipMeth)
238     {
239          ::wxPropertyGrid::DoThaw();
240         return;
241     }
242 
243     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
244 
245     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
246 }
247 
DoFreeze()248 void sipwxPropertyGrid::DoFreeze()
249 {
250     sip_gilstate_t sipGILState;
251     PyObject *sipMeth;
252 
253     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
254 
255     if (!sipMeth)
256     {
257          ::wxPropertyGrid::DoFreeze();
258         return;
259     }
260 
261     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
262 
263     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
264 }
265 
GetDefaultBorderForControl() const266  ::wxBorder sipwxPropertyGrid::GetDefaultBorderForControl() const
267 {
268     sip_gilstate_t sipGILState;
269     PyObject *sipMeth;
270 
271     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
272 
273     if (!sipMeth)
274         return  ::wxPropertyGrid::GetDefaultBorderForControl();
275 
276     extern  ::wxBorder sipVH__propgrid_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
277 
278     return sipVH__propgrid_37(sipGILState, 0, sipPySelf, sipMeth);
279 }
280 
GetDefaultBorder() const281  ::wxBorder sipwxPropertyGrid::GetDefaultBorder() const
282 {
283     sip_gilstate_t sipGILState;
284     PyObject *sipMeth;
285 
286     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
287 
288     if (!sipMeth)
289         return  ::wxPropertyGrid::GetDefaultBorder();
290 
291     extern  ::wxBorder sipVH__propgrid_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
292 
293     return sipVH__propgrid_37(sipGILState, 0, sipPySelf, sipMeth);
294 }
295 
DoSetWindowVariant(::wxWindowVariant variant)296 void sipwxPropertyGrid::DoSetWindowVariant( ::wxWindowVariant variant)
297 {
298     sip_gilstate_t sipGILState;
299     PyObject *sipMeth;
300 
301     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
302 
303     if (!sipMeth)
304     {
305          ::wxPropertyGrid::DoSetWindowVariant(variant);
306         return;
307     }
308 
309     extern void sipVH__propgrid_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
310 
311     sipVH__propgrid_38(sipGILState, 0, sipPySelf, sipMeth, variant);
312 }
313 
DoMoveWindow(int x,int y,int width,int height)314 void sipwxPropertyGrid::DoMoveWindow(int x,int y,int width,int height)
315 {
316     sip_gilstate_t sipGILState;
317     PyObject *sipMeth;
318 
319     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
320 
321     if (!sipMeth)
322     {
323          ::wxPropertyGrid::DoMoveWindow(x,y,width,height);
324         return;
325     }
326 
327     extern void sipVH__propgrid_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
328 
329     sipVH__propgrid_39(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
330 }
331 
DoGetBorderSize() const332  ::wxSize sipwxPropertyGrid::DoGetBorderSize() const
333 {
334     sip_gilstate_t sipGILState;
335     PyObject *sipMeth;
336 
337     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
338 
339     if (!sipMeth)
340         return  ::wxPropertyGrid::DoGetBorderSize();
341 
342     extern  ::wxSize sipVH__propgrid_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
343 
344     return sipVH__propgrid_36(sipGILState, 0, sipPySelf, sipMeth);
345 }
346 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)347 void sipwxPropertyGrid::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
348 {
349     sip_gilstate_t sipGILState;
350     PyObject *sipMeth;
351 
352     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
353 
354     if (!sipMeth)
355     {
356          ::wxPropertyGrid::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
357         return;
358     }
359 
360     extern void sipVH__propgrid_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
361 
362     sipVH__propgrid_40(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
363 }
364 
DoSetClientSize(int width,int height)365 void sipwxPropertyGrid::DoSetClientSize(int width,int height)
366 {
367     sip_gilstate_t sipGILState;
368     PyObject *sipMeth;
369 
370     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
371 
372     if (!sipMeth)
373     {
374          ::wxPropertyGrid::DoSetClientSize(width,height);
375         return;
376     }
377 
378     extern void sipVH__propgrid_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
379 
380     sipVH__propgrid_41(sipGILState, 0, sipPySelf, sipMeth, width, height);
381 }
382 
DoSetSize(int x,int y,int width,int height,int sizeFlags)383 void sipwxPropertyGrid::DoSetSize(int x,int y,int width,int height,int sizeFlags)
384 {
385     sip_gilstate_t sipGILState;
386     PyObject *sipMeth;
387 
388     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
389 
390     if (!sipMeth)
391     {
392          ::wxPropertyGrid::DoSetSize(x,y,width,height,sizeFlags);
393         return;
394     }
395 
396     extern void sipVH__propgrid_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
397 
398     sipVH__propgrid_42(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
399 }
400 
DoGetClientSize(int * width,int * height) const401 void sipwxPropertyGrid::DoGetClientSize(int*width,int*height) const
402 {
403     sip_gilstate_t sipGILState;
404     PyObject *sipMeth;
405 
406     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
407 
408     if (!sipMeth)
409     {
410          ::wxPropertyGrid::DoGetClientSize(width,height);
411         return;
412     }
413 
414     extern void sipVH__propgrid_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
415 
416     sipVH__propgrid_43(sipGILState, 0, sipPySelf, sipMeth, width, height);
417 }
418 
DoGetSize(int * width,int * height) const419 void sipwxPropertyGrid::DoGetSize(int*width,int*height) const
420 {
421     sip_gilstate_t sipGILState;
422     PyObject *sipMeth;
423 
424     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
425 
426     if (!sipMeth)
427     {
428          ::wxPropertyGrid::DoGetSize(width,height);
429         return;
430     }
431 
432     extern void sipVH__propgrid_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
433 
434     sipVH__propgrid_43(sipGILState, 0, sipPySelf, sipMeth, width, height);
435 }
436 
DoGetPosition(int * x,int * y) const437 void sipwxPropertyGrid::DoGetPosition(int*x,int*y) const
438 {
439     sip_gilstate_t sipGILState;
440     PyObject *sipMeth;
441 
442     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
443 
444     if (!sipMeth)
445     {
446          ::wxPropertyGrid::DoGetPosition(x,y);
447         return;
448     }
449 
450     extern void sipVH__propgrid_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
451 
452     sipVH__propgrid_43(sipGILState, 0, sipPySelf, sipMeth, x, y);
453 }
454 
DoEnable(bool enable)455 void sipwxPropertyGrid::DoEnable(bool enable)
456 {
457     sip_gilstate_t sipGILState;
458     PyObject *sipMeth;
459 
460     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
461 
462     if (!sipMeth)
463     {
464          ::wxPropertyGrid::DoEnable(enable);
465         return;
466     }
467 
468     extern void sipVH__propgrid_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
469 
470     sipVH__propgrid_44(sipGILState, 0, sipPySelf, sipMeth, enable);
471 }
472 
GetMainWindowOfCompositeControl()473  ::wxWindow* sipwxPropertyGrid::GetMainWindowOfCompositeControl()
474 {
475     sip_gilstate_t sipGILState;
476     PyObject *sipMeth;
477 
478     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
479 
480     if (!sipMeth)
481         return  ::wxPropertyGrid::GetMainWindowOfCompositeControl();
482 
483     extern  ::wxWindow* sipVH__propgrid_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
484 
485     return sipVH__propgrid_45(sipGILState, 0, sipPySelf, sipMeth);
486 }
487 
OnInternalIdle()488 void sipwxPropertyGrid::OnInternalIdle()
489 {
490     sip_gilstate_t sipGILState;
491     PyObject *sipMeth;
492 
493     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
494 
495     if (!sipMeth)
496     {
497          ::wxPropertyGrid::OnInternalIdle();
498         return;
499     }
500 
501     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
502 
503     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
504 }
505 
InitDialog()506 void sipwxPropertyGrid::InitDialog()
507 {
508     sip_gilstate_t sipGILState;
509     PyObject *sipMeth;
510 
511     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
512 
513     if (!sipMeth)
514     {
515          ::wxPropertyGrid::InitDialog();
516         return;
517     }
518 
519     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
520 
521     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
522 }
523 
InheritAttributes()524 void sipwxPropertyGrid::InheritAttributes()
525 {
526     sip_gilstate_t sipGILState;
527     PyObject *sipMeth;
528 
529     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
530 
531     if (!sipMeth)
532     {
533          ::wxPropertyGrid::InheritAttributes();
534         return;
535     }
536 
537     extern void sipVH__propgrid_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
538 
539     sipVH__propgrid_3(sipGILState, 0, sipPySelf, sipMeth);
540 }
541 
Destroy()542 bool sipwxPropertyGrid::Destroy()
543 {
544     sip_gilstate_t sipGILState;
545     PyObject *sipMeth;
546 
547     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_Destroy);
548 
549     if (!sipMeth)
550         return  ::wxPropertyGrid::Destroy();
551 
552     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
553 
554     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
555 }
556 
Validate()557 bool sipwxPropertyGrid::Validate()
558 {
559     sip_gilstate_t sipGILState;
560     PyObject *sipMeth;
561 
562     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_Validate);
563 
564     if (!sipMeth)
565         return  ::wxPropertyGrid::Validate();
566 
567     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
568 
569     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
570 }
571 
TransferDataToWindow()572 bool sipwxPropertyGrid::TransferDataToWindow()
573 {
574     sip_gilstate_t sipGILState;
575     PyObject *sipMeth;
576 
577     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
578 
579     if (!sipMeth)
580         return  ::wxPropertyGrid::TransferDataToWindow();
581 
582     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
583 
584     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
585 }
586 
TransferDataFromWindow()587 bool sipwxPropertyGrid::TransferDataFromWindow()
588 {
589     sip_gilstate_t sipGILState;
590     PyObject *sipMeth;
591 
592     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
593 
594     if (!sipMeth)
595         return  ::wxPropertyGrid::TransferDataFromWindow();
596 
597     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
598 
599     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
600 }
601 
SetValidator(const::wxValidator & validator)602 void sipwxPropertyGrid::SetValidator(const  ::wxValidator& validator)
603 {
604     sip_gilstate_t sipGILState;
605     PyObject *sipMeth;
606 
607     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
608 
609     if (!sipMeth)
610     {
611          ::wxPropertyGrid::SetValidator(validator);
612         return;
613     }
614 
615     extern void sipVH__propgrid_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
616 
617     sipVH__propgrid_46(sipGILState, 0, sipPySelf, sipMeth, validator);
618 }
619 
GetValidator()620  ::wxValidator* sipwxPropertyGrid::GetValidator()
621 {
622     sip_gilstate_t sipGILState;
623     PyObject *sipMeth;
624 
625     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
626 
627     if (!sipMeth)
628         return  ::wxPropertyGrid::GetValidator();
629 
630     extern  ::wxValidator* sipVH__propgrid_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
631 
632     return sipVH__propgrid_13(sipGILState, 0, sipPySelf, sipMeth);
633 }
634 
ShouldInheritColours() const635 bool sipwxPropertyGrid::ShouldInheritColours() const
636 {
637     sip_gilstate_t sipGILState;
638     PyObject *sipMeth;
639 
640     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
641 
642     if (!sipMeth)
643         return  ::wxPropertyGrid::ShouldInheritColours();
644 
645     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
646 
647     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
648 }
649 
HasTransparentBackground()650 bool sipwxPropertyGrid::HasTransparentBackground()
651 {
652     sip_gilstate_t sipGILState;
653     PyObject *sipMeth;
654 
655     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
656 
657     if (!sipMeth)
658         return  ::wxPropertyGrid::HasTransparentBackground();
659 
660     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
661 
662     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
663 }
664 
GetClientAreaOrigin() const665  ::wxPoint sipwxPropertyGrid::GetClientAreaOrigin() const
666 {
667     sip_gilstate_t sipGILState;
668     PyObject *sipMeth;
669 
670     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
671 
672     if (!sipMeth)
673         return  ::wxPropertyGrid::GetClientAreaOrigin();
674 
675     extern  ::wxPoint sipVH__propgrid_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
676 
677     return sipVH__propgrid_47(sipGILState, 0, sipPySelf, sipMeth);
678 }
679 
InformFirstDirection(int direction,int size,int availableOtherDir)680 bool sipwxPropertyGrid::InformFirstDirection(int direction,int size,int availableOtherDir)
681 {
682     sip_gilstate_t sipGILState;
683     PyObject *sipMeth;
684 
685     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
686 
687     if (!sipMeth)
688         return  ::wxPropertyGrid::InformFirstDirection(direction,size,availableOtherDir);
689 
690     extern bool sipVH__propgrid_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
691 
692     return sipVH__propgrid_48(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
693 }
694 
SetCanFocus(bool canFocus)695 void sipwxPropertyGrid::SetCanFocus(bool canFocus)
696 {
697     sip_gilstate_t sipGILState;
698     PyObject *sipMeth;
699 
700     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
701 
702     if (!sipMeth)
703     {
704          ::wxPropertyGrid::SetCanFocus(canFocus);
705         return;
706     }
707 
708     extern void sipVH__propgrid_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
709 
710     sipVH__propgrid_44(sipGILState, 0, sipPySelf, sipMeth, canFocus);
711 }
712 
AcceptsFocusRecursively() const713 bool sipwxPropertyGrid::AcceptsFocusRecursively() const
714 {
715     sip_gilstate_t sipGILState;
716     PyObject *sipMeth;
717 
718     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
719 
720     if (!sipMeth)
721         return  ::wxPropertyGrid::AcceptsFocusRecursively();
722 
723     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
724 
725     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
726 }
727 
AcceptsFocusFromKeyboard() const728 bool sipwxPropertyGrid::AcceptsFocusFromKeyboard() const
729 {
730     sip_gilstate_t sipGILState;
731     PyObject *sipMeth;
732 
733     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
734 
735     if (!sipMeth)
736         return  ::wxPropertyGrid::AcceptsFocusFromKeyboard();
737 
738     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
739 
740     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
741 }
742 
AcceptsFocus() const743 bool sipwxPropertyGrid::AcceptsFocus() const
744 {
745     sip_gilstate_t sipGILState;
746     PyObject *sipMeth;
747 
748     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
749 
750     if (!sipMeth)
751         return  ::wxPropertyGrid::AcceptsFocus();
752 
753     extern bool sipVH__propgrid_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
754 
755     return sipVH__propgrid_33(sipGILState, 0, sipPySelf, sipMeth);
756 }
757 
TryAfter(::wxEvent & event)758 bool sipwxPropertyGrid::TryAfter( ::wxEvent& event)
759 {
760     sip_gilstate_t sipGILState;
761     PyObject *sipMeth;
762 
763     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
764 
765     if (!sipMeth)
766         return  ::wxPropertyGrid::TryAfter(event);
767 
768     extern bool sipVH__propgrid_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
769 
770     return sipVH__propgrid_49(sipGILState, 0, sipPySelf, sipMeth, event);
771 }
772 
TryBefore(::wxEvent & event)773 bool sipwxPropertyGrid::TryBefore( ::wxEvent& event)
774 {
775     sip_gilstate_t sipGILState;
776     PyObject *sipMeth;
777 
778     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
779 
780     if (!sipMeth)
781         return  ::wxPropertyGrid::TryBefore(event);
782 
783     extern bool sipVH__propgrid_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
784 
785     return sipVH__propgrid_49(sipGILState, 0, sipPySelf, sipMeth, event);
786 }
787 
ProcessEvent(::wxEvent & event)788 bool sipwxPropertyGrid::ProcessEvent( ::wxEvent& event)
789 {
790     sip_gilstate_t sipGILState;
791     PyObject *sipMeth;
792 
793     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
794 
795     if (!sipMeth)
796         return  ::wxPropertyGrid::ProcessEvent(event);
797 
798     extern bool sipVH__propgrid_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
799 
800     return sipVH__propgrid_49(sipGILState, 0, sipPySelf, sipMeth, event);
801 }
802 
AddChild(::wxWindowBase * child)803 void sipwxPropertyGrid::AddChild( ::wxWindowBase*child)
804 {
805     sip_gilstate_t sipGILState;
806     PyObject *sipMeth;
807 
808     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,SIP_NULLPTR,sipName_AddChild);
809 
810     if (!sipMeth)
811     {
812          ::wxPropertyGrid::AddChild(child);
813         return;
814     }
815 
816     extern void sipVH__propgrid_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
817 
818     sipVH__propgrid_50(sipGILState, 0, sipPySelf, sipMeth, child);
819 }
820 
RemoveChild(::wxWindowBase * child)821 void sipwxPropertyGrid::RemoveChild( ::wxWindowBase*child)
822 {
823     sip_gilstate_t sipGILState;
824     PyObject *sipMeth;
825 
826     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
827 
828     if (!sipMeth)
829     {
830          ::wxPropertyGrid::RemoveChild(child);
831         return;
832     }
833 
834     extern void sipVH__propgrid_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
835 
836     sipVH__propgrid_50(sipGILState, 0, sipPySelf, sipMeth, child);
837 }
838 
sipProtect_SendDestroyEvent()839 void sipwxPropertyGrid::sipProtect_SendDestroyEvent()
840 {
841      ::wxWindow::SendDestroyEvent();
842 }
843 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)844 bool sipwxPropertyGrid::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
845 {
846     return (sipSelfWasArg ?  ::wxPropertyGrid::ProcessEvent(event) : ProcessEvent(event));
847 }
848 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)849 void sipwxPropertyGrid::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
850 {
851     (sipSelfWasArg ?  ::wxPropertyGrid::DoEnable(enable) : DoEnable(enable));
852 }
853 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const854 void sipwxPropertyGrid::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
855 {
856     (sipSelfWasArg ?  ::wxPropertyGrid::DoGetPosition(x,y) : DoGetPosition(x,y));
857 }
858 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const859 void sipwxPropertyGrid::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
860 {
861     (sipSelfWasArg ?  ::wxPropertyGrid::DoGetSize(width,height) : DoGetSize(width,height));
862 }
863 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const864 void sipwxPropertyGrid::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
865 {
866     (sipSelfWasArg ?  ::wxPropertyGrid::DoGetClientSize(width,height) : DoGetClientSize(width,height));
867 }
868 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const869  ::wxSize sipwxPropertyGrid::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
870 {
871     return (sipSelfWasArg ?  ::wxPropertyGrid::DoGetBestSize() : DoGetBestSize());
872 }
873 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const874  ::wxSize sipwxPropertyGrid::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
875 {
876     return (sipSelfWasArg ?  ::wxPropertyGrid::DoGetBestClientSize() : DoGetBestClientSize());
877 }
878 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)879 void sipwxPropertyGrid::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
880 {
881     (sipSelfWasArg ?  ::wxPropertyGrid::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
882 }
883 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)884 void sipwxPropertyGrid::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
885 {
886     (sipSelfWasArg ?  ::wxPropertyGrid::DoSetClientSize(width,height) : DoSetClientSize(width,height));
887 }
888 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)889 void sipwxPropertyGrid::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
890 {
891     (sipSelfWasArg ?  ::wxPropertyGrid::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
892 }
893 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const894  ::wxSize sipwxPropertyGrid::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
895 {
896     return (sipSelfWasArg ?  ::wxPropertyGrid::DoGetBorderSize() : DoGetBorderSize());
897 }
898 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)899 void sipwxPropertyGrid::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
900 {
901     (sipSelfWasArg ?  ::wxPropertyGrid::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
902 }
903 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)904 void sipwxPropertyGrid::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
905 {
906     (sipSelfWasArg ?  ::wxPropertyGrid::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
907 }
908 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const909  ::wxBorder sipwxPropertyGrid::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
910 {
911     return (sipSelfWasArg ?  ::wxPropertyGrid::GetDefaultBorder() : GetDefaultBorder());
912 }
913 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const914  ::wxBorder sipwxPropertyGrid::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
915 {
916     return (sipSelfWasArg ?  ::wxPropertyGrid::GetDefaultBorderForControl() : GetDefaultBorderForControl());
917 }
918 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)919 void sipwxPropertyGrid::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
920 {
921     (sipSelfWasArg ?  ::wxPropertyGrid::DoFreeze() : DoFreeze());
922 }
923 
sipProtectVirt_DoThaw(bool sipSelfWasArg)924 void sipwxPropertyGrid::sipProtectVirt_DoThaw(bool sipSelfWasArg)
925 {
926     (sipSelfWasArg ?  ::wxPropertyGrid::DoThaw() : DoThaw());
927 }
928 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)929 bool sipwxPropertyGrid::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
930 {
931     return (sipSelfWasArg ?  ::wxPropertyGrid::HasTransparentBackground() : HasTransparentBackground());
932 }
933 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)934 bool sipwxPropertyGrid::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
935 {
936     return (sipSelfWasArg ?  ::wxPropertyGrid::TryBefore(event) : TryBefore(event));
937 }
938 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)939 bool sipwxPropertyGrid::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
940 {
941     return (sipSelfWasArg ?  ::wxPropertyGrid::TryAfter(event) : TryAfter(event));
942 }
943 
944 
945 PyDoc_STRVAR(doc_wxPropertyGrid_SendDestroyEvent, "SendDestroyEvent()\n"
946 "\n"
947 "Generate wxWindowDestroyEvent for this window.");
948 
949 extern "C" {static PyObject *meth_wxPropertyGrid_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxPropertyGrid_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)950 static PyObject *meth_wxPropertyGrid_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
951 {
952     PyObject *sipParseErr = SIP_NULLPTR;
953 
954     {
955         sipwxPropertyGrid *sipCpp;
956 
957         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
958         {
959             PyErr_Clear();
960 
961             Py_BEGIN_ALLOW_THREADS
962             sipCpp->sipProtect_SendDestroyEvent();
963             Py_END_ALLOW_THREADS
964 
965             if (PyErr_Occurred())
966                 return 0;
967 
968             Py_INCREF(Py_None);
969             return Py_None;
970         }
971     }
972 
973     /* Raise an exception if the arguments couldn't be parsed. */
974     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SendDestroyEvent, SIP_NULLPTR);
975 
976     return SIP_NULLPTR;
977 }
978 
979 
980 PyDoc_STRVAR(doc_wxPropertyGrid_DoShowPropertyError, "DoShowPropertyError(property, msg)\n"
981 "\n"
982 "Override in derived class to display error messages in custom manner\n"
983 "(these message usually only result from validation failure).");
984 
985 extern "C" {static PyObject *meth_wxPropertyGrid_DoShowPropertyError(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoShowPropertyError(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)986 static PyObject *meth_wxPropertyGrid_DoShowPropertyError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
987 {
988     PyObject *sipParseErr = SIP_NULLPTR;
989 
990     {
991          ::wxPGProperty* property;
992         const  ::wxString* msg;
993         int msgState = 0;
994          ::wxPropertyGrid *sipCpp;
995 
996         static const char *sipKwdList[] = {
997             sipName_property,
998             sipName_msg,
999         };
1000 
1001         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGProperty, &property, sipType_wxString,&msg, &msgState))
1002         {
1003             PyErr_Clear();
1004 
1005             Py_BEGIN_ALLOW_THREADS
1006             sipCpp->DoShowPropertyError(property,*msg);
1007             Py_END_ALLOW_THREADS
1008             sipReleaseType(const_cast< ::wxString *>(msg),sipType_wxString,msgState);
1009 
1010             if (PyErr_Occurred())
1011                 return 0;
1012 
1013             Py_INCREF(Py_None);
1014             return Py_None;
1015         }
1016     }
1017 
1018     /* Raise an exception if the arguments couldn't be parsed. */
1019     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoShowPropertyError, SIP_NULLPTR);
1020 
1021     return SIP_NULLPTR;
1022 }
1023 
1024 
1025 PyDoc_STRVAR(doc_wxPropertyGrid_DoHidePropertyError, "DoHidePropertyError(property)\n"
1026 "\n"
1027 "Override in derived class to hide an error displayed by\n"
1028 "DoShowPropertyError().");
1029 
1030 extern "C" {static PyObject *meth_wxPropertyGrid_DoHidePropertyError(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoHidePropertyError(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1031 static PyObject *meth_wxPropertyGrid_DoHidePropertyError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1032 {
1033     PyObject *sipParseErr = SIP_NULLPTR;
1034 
1035     {
1036          ::wxPGProperty* property;
1037          ::wxPropertyGrid *sipCpp;
1038 
1039         static const char *sipKwdList[] = {
1040             sipName_property,
1041         };
1042 
1043         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGProperty, &property))
1044         {
1045             PyErr_Clear();
1046 
1047             Py_BEGIN_ALLOW_THREADS
1048             sipCpp->DoHidePropertyError(property);
1049             Py_END_ALLOW_THREADS
1050 
1051             if (PyErr_Occurred())
1052                 return 0;
1053 
1054             Py_INCREF(Py_None);
1055             return Py_None;
1056         }
1057     }
1058 
1059     /* Raise an exception if the arguments couldn't be parsed. */
1060     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoHidePropertyError, SIP_NULLPTR);
1061 
1062     return SIP_NULLPTR;
1063 }
1064 
1065 
1066 PyDoc_STRVAR(doc_wxPropertyGrid_GetStatusBar, "GetStatusBar() -> wx.StatusBar\n"
1067 "\n"
1068 "Return wxStatusBar that is used by this wxPropertyGrid.");
1069 
1070 extern "C" {static PyObject *meth_wxPropertyGrid_GetStatusBar(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetStatusBar(PyObject * sipSelf,PyObject * sipArgs)1071 static PyObject *meth_wxPropertyGrid_GetStatusBar(PyObject *sipSelf, PyObject *sipArgs)
1072 {
1073     PyObject *sipParseErr = SIP_NULLPTR;
1074 
1075     {
1076          ::wxPropertyGrid *sipCpp;
1077 
1078         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1079         {
1080              ::wxStatusBar*sipRes;
1081 
1082             PyErr_Clear();
1083 
1084             Py_BEGIN_ALLOW_THREADS
1085             sipRes = sipCpp->GetStatusBar();
1086             Py_END_ALLOW_THREADS
1087 
1088             if (PyErr_Occurred())
1089                 return 0;
1090 
1091             return sipConvertFromType(sipRes,sipType_wxStatusBar,SIP_NULLPTR);
1092         }
1093     }
1094 
1095     /* Raise an exception if the arguments couldn't be parsed. */
1096     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetStatusBar, SIP_NULLPTR);
1097 
1098     return SIP_NULLPTR;
1099 }
1100 
1101 
1102 PyDoc_STRVAR(doc_wxPropertyGrid_EditorsValueWasModified, "EditorsValueWasModified()\n"
1103 "\n"
1104 "Call when editor widget's contents is modified.");
1105 
1106 extern "C" {static PyObject *meth_wxPropertyGrid_EditorsValueWasModified(PyObject *, PyObject *);}
meth_wxPropertyGrid_EditorsValueWasModified(PyObject * sipSelf,PyObject * sipArgs)1107 static PyObject *meth_wxPropertyGrid_EditorsValueWasModified(PyObject *sipSelf, PyObject *sipArgs)
1108 {
1109     PyObject *sipParseErr = SIP_NULLPTR;
1110 
1111     {
1112          ::wxPropertyGrid *sipCpp;
1113 
1114         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1115         {
1116             PyErr_Clear();
1117 
1118             Py_BEGIN_ALLOW_THREADS
1119             sipCpp->EditorsValueWasModified();
1120             Py_END_ALLOW_THREADS
1121 
1122             if (PyErr_Occurred())
1123                 return 0;
1124 
1125             Py_INCREF(Py_None);
1126             return Py_None;
1127         }
1128     }
1129 
1130     /* Raise an exception if the arguments couldn't be parsed. */
1131     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_EditorsValueWasModified, SIP_NULLPTR);
1132 
1133     return SIP_NULLPTR;
1134 }
1135 
1136 
1137 PyDoc_STRVAR(doc_wxPropertyGrid_EditorsValueWasNotModified, "EditorsValueWasNotModified()\n"
1138 "\n"
1139 "Reverse of EditorsValueWasModified().");
1140 
1141 extern "C" {static PyObject *meth_wxPropertyGrid_EditorsValueWasNotModified(PyObject *, PyObject *);}
meth_wxPropertyGrid_EditorsValueWasNotModified(PyObject * sipSelf,PyObject * sipArgs)1142 static PyObject *meth_wxPropertyGrid_EditorsValueWasNotModified(PyObject *sipSelf, PyObject *sipArgs)
1143 {
1144     PyObject *sipParseErr = SIP_NULLPTR;
1145 
1146     {
1147          ::wxPropertyGrid *sipCpp;
1148 
1149         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1150         {
1151             PyErr_Clear();
1152 
1153             Py_BEGIN_ALLOW_THREADS
1154             sipCpp->EditorsValueWasNotModified();
1155             Py_END_ALLOW_THREADS
1156 
1157             if (PyErr_Occurred())
1158                 return 0;
1159 
1160             Py_INCREF(Py_None);
1161             return Py_None;
1162         }
1163     }
1164 
1165     /* Raise an exception if the arguments couldn't be parsed. */
1166     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_EditorsValueWasNotModified, SIP_NULLPTR);
1167 
1168     return SIP_NULLPTR;
1169 }
1170 
1171 
1172 PyDoc_STRVAR(doc_wxPropertyGrid_GetUncommittedPropertyValue, "GetUncommittedPropertyValue() -> PGVariant\n"
1173 "\n"
1174 "Returns most up-to-date value of selected property.");
1175 
1176 extern "C" {static PyObject *meth_wxPropertyGrid_GetUncommittedPropertyValue(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetUncommittedPropertyValue(PyObject * sipSelf,PyObject * sipArgs)1177 static PyObject *meth_wxPropertyGrid_GetUncommittedPropertyValue(PyObject *sipSelf, PyObject *sipArgs)
1178 {
1179     PyObject *sipParseErr = SIP_NULLPTR;
1180 
1181     {
1182          ::wxPropertyGrid *sipCpp;
1183 
1184         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1185         {
1186              ::wxPGVariant*sipRes;
1187 
1188             PyErr_Clear();
1189 
1190             Py_BEGIN_ALLOW_THREADS
1191             sipRes = new  ::wxPGVariant(sipCpp->GetUncommittedPropertyValue());
1192             Py_END_ALLOW_THREADS
1193 
1194             if (PyErr_Occurred())
1195                 return 0;
1196 
1197             return sipConvertFromNewType(sipRes,sipType_wxPGVariant,SIP_NULLPTR);
1198         }
1199     }
1200 
1201     /* Raise an exception if the arguments couldn't be parsed. */
1202     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetUncommittedPropertyValue, SIP_NULLPTR);
1203 
1204     return SIP_NULLPTR;
1205 }
1206 
1207 
1208 PyDoc_STRVAR(doc_wxPropertyGrid_IsEditorsValueModified, "IsEditorsValueModified() -> bool\n"
1209 "\n"
1210 "Returns true if editor's value was marked modified.");
1211 
1212 extern "C" {static PyObject *meth_wxPropertyGrid_IsEditorsValueModified(PyObject *, PyObject *);}
meth_wxPropertyGrid_IsEditorsValueModified(PyObject * sipSelf,PyObject * sipArgs)1213 static PyObject *meth_wxPropertyGrid_IsEditorsValueModified(PyObject *sipSelf, PyObject *sipArgs)
1214 {
1215     PyObject *sipParseErr = SIP_NULLPTR;
1216 
1217     {
1218         const  ::wxPropertyGrid *sipCpp;
1219 
1220         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1221         {
1222             bool sipRes;
1223 
1224             PyErr_Clear();
1225 
1226             Py_BEGIN_ALLOW_THREADS
1227             sipRes = sipCpp->IsEditorsValueModified();
1228             Py_END_ALLOW_THREADS
1229 
1230             if (PyErr_Occurred())
1231                 return 0;
1232 
1233             return PyBool_FromLong(sipRes);
1234         }
1235     }
1236 
1237     /* Raise an exception if the arguments couldn't be parsed. */
1238     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_IsEditorsValueModified, SIP_NULLPTR);
1239 
1240     return SIP_NULLPTR;
1241 }
1242 
1243 
1244 PyDoc_STRVAR(doc_wxPropertyGrid_ShowPropertyError, "ShowPropertyError(id, msg)\n"
1245 "\n"
1246 "Shows an brief error message that is related to a property.");
1247 
1248 extern "C" {static PyObject *meth_wxPropertyGrid_ShowPropertyError(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_ShowPropertyError(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1249 static PyObject *meth_wxPropertyGrid_ShowPropertyError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1250 {
1251     PyObject *sipParseErr = SIP_NULLPTR;
1252 
1253     {
1254         const  ::wxPGPropArgCls* id;
1255         int idState = 0;
1256         const  ::wxString* msg;
1257         int msgState = 0;
1258          ::wxPropertyGrid *sipCpp;
1259 
1260         static const char *sipKwdList[] = {
1261             sipName_id,
1262             sipName_msg,
1263         };
1264 
1265         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState, sipType_wxString,&msg, &msgState))
1266         {
1267             PyErr_Clear();
1268 
1269             Py_BEGIN_ALLOW_THREADS
1270             sipCpp->ShowPropertyError(*id,*msg);
1271             Py_END_ALLOW_THREADS
1272             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
1273             sipReleaseType(const_cast< ::wxString *>(msg),sipType_wxString,msgState);
1274 
1275             if (PyErr_Occurred())
1276                 return 0;
1277 
1278             Py_INCREF(Py_None);
1279             return Py_None;
1280         }
1281     }
1282 
1283     /* Raise an exception if the arguments couldn't be parsed. */
1284     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ShowPropertyError, SIP_NULLPTR);
1285 
1286     return SIP_NULLPTR;
1287 }
1288 
1289 
1290 PyDoc_STRVAR(doc_wxPropertyGrid_WasValueChangedInEvent, "WasValueChangedInEvent() -> bool\n"
1291 "\n"
1292 "You can use this member function, for instance, to detect in\n"
1293 "wxPGProperty::OnEvent() if wxPGProperty::SetValueInEvent() was already\n"
1294 "called in wxPGEditor::OnEvent().");
1295 
1296 extern "C" {static PyObject *meth_wxPropertyGrid_WasValueChangedInEvent(PyObject *, PyObject *);}
meth_wxPropertyGrid_WasValueChangedInEvent(PyObject * sipSelf,PyObject * sipArgs)1297 static PyObject *meth_wxPropertyGrid_WasValueChangedInEvent(PyObject *sipSelf, PyObject *sipArgs)
1298 {
1299     PyObject *sipParseErr = SIP_NULLPTR;
1300 
1301     {
1302         const  ::wxPropertyGrid *sipCpp;
1303 
1304         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1305         {
1306             bool sipRes;
1307 
1308             PyErr_Clear();
1309 
1310             Py_BEGIN_ALLOW_THREADS
1311             sipRes = sipCpp->WasValueChangedInEvent();
1312             Py_END_ALLOW_THREADS
1313 
1314             if (PyErr_Occurred())
1315                 return 0;
1316 
1317             return PyBool_FromLong(sipRes);
1318         }
1319     }
1320 
1321     /* Raise an exception if the arguments couldn't be parsed. */
1322     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_WasValueChangedInEvent, SIP_NULLPTR);
1323 
1324     return SIP_NULLPTR;
1325 }
1326 
1327 
1328 PyDoc_STRVAR(doc_wxPropertyGrid_AddActionTrigger, "AddActionTrigger(action, keycode, modifiers=0)\n"
1329 "\n"
1330 "Adds given key combination to trigger given action.");
1331 
1332 extern "C" {static PyObject *meth_wxPropertyGrid_AddActionTrigger(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_AddActionTrigger(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1333 static PyObject *meth_wxPropertyGrid_AddActionTrigger(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1334 {
1335     PyObject *sipParseErr = SIP_NULLPTR;
1336 
1337     {
1338         int action;
1339         int keycode;
1340         int modifiers = 0;
1341          ::wxPropertyGrid *sipCpp;
1342 
1343         static const char *sipKwdList[] = {
1344             sipName_action,
1345             sipName_keycode,
1346             sipName_modifiers,
1347         };
1348 
1349         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii|i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &action, &keycode, &modifiers))
1350         {
1351             PyErr_Clear();
1352 
1353             Py_BEGIN_ALLOW_THREADS
1354             sipCpp->AddActionTrigger(action,keycode,modifiers);
1355             Py_END_ALLOW_THREADS
1356 
1357             if (PyErr_Occurred())
1358                 return 0;
1359 
1360             Py_INCREF(Py_None);
1361             return Py_None;
1362         }
1363     }
1364 
1365     /* Raise an exception if the arguments couldn't be parsed. */
1366     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AddActionTrigger, SIP_NULLPTR);
1367 
1368     return SIP_NULLPTR;
1369 }
1370 
1371 
1372 PyDoc_STRVAR(doc_wxPropertyGrid_AddToSelection, "AddToSelection(id) -> bool\n"
1373 "\n"
1374 "Adds given property into selection.");
1375 
1376 extern "C" {static PyObject *meth_wxPropertyGrid_AddToSelection(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_AddToSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1377 static PyObject *meth_wxPropertyGrid_AddToSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1378 {
1379     PyObject *sipParseErr = SIP_NULLPTR;
1380 
1381     {
1382         const  ::wxPGPropArgCls* id;
1383         int idState = 0;
1384          ::wxPropertyGrid *sipCpp;
1385 
1386         static const char *sipKwdList[] = {
1387             sipName_id,
1388         };
1389 
1390         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState))
1391         {
1392             bool sipRes;
1393 
1394             PyErr_Clear();
1395 
1396             Py_BEGIN_ALLOW_THREADS
1397             sipRes = sipCpp->AddToSelection(*id);
1398             Py_END_ALLOW_THREADS
1399             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
1400 
1401             if (PyErr_Occurred())
1402                 return 0;
1403 
1404             return PyBool_FromLong(sipRes);
1405         }
1406     }
1407 
1408     /* Raise an exception if the arguments couldn't be parsed. */
1409     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AddToSelection, SIP_NULLPTR);
1410 
1411     return SIP_NULLPTR;
1412 }
1413 
1414 
1415 PyDoc_STRVAR(doc_wxPropertyGrid_BeginLabelEdit, "BeginLabelEdit(colIndex=0)\n"
1416 "\n"
1417 "Creates label editor wxTextCtrl for given column, for property that is\n"
1418 "currently selected.");
1419 
1420 extern "C" {static PyObject *meth_wxPropertyGrid_BeginLabelEdit(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_BeginLabelEdit(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1421 static PyObject *meth_wxPropertyGrid_BeginLabelEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1422 {
1423     PyObject *sipParseErr = SIP_NULLPTR;
1424 
1425     {
1426         uint colIndex = 0;
1427          ::wxPropertyGrid *sipCpp;
1428 
1429         static const char *sipKwdList[] = {
1430             sipName_colIndex,
1431         };
1432 
1433         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|u", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &colIndex))
1434         {
1435             PyErr_Clear();
1436 
1437             Py_BEGIN_ALLOW_THREADS
1438             sipCpp->BeginLabelEdit(colIndex);
1439             Py_END_ALLOW_THREADS
1440 
1441             if (PyErr_Occurred())
1442                 return 0;
1443 
1444             Py_INCREF(Py_None);
1445             return Py_None;
1446         }
1447     }
1448 
1449     /* Raise an exception if the arguments couldn't be parsed. */
1450     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_BeginLabelEdit, SIP_NULLPTR);
1451 
1452     return SIP_NULLPTR;
1453 }
1454 
1455 
1456 PyDoc_STRVAR(doc_wxPropertyGrid_ChangePropertyValue, "ChangePropertyValue(id, newValue) -> bool\n"
1457 "\n"
1458 "Changes value of a property, as if from an editor.");
1459 
1460 extern "C" {static PyObject *meth_wxPropertyGrid_ChangePropertyValue(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_ChangePropertyValue(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1461 static PyObject *meth_wxPropertyGrid_ChangePropertyValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1462 {
1463     PyObject *sipParseErr = SIP_NULLPTR;
1464 
1465     {
1466         const  ::wxPGPropArgCls* id;
1467         int idState = 0;
1468          ::wxPGVariant* newValue;
1469         int newValueState = 0;
1470          ::wxPropertyGrid *sipCpp;
1471 
1472         static const char *sipKwdList[] = {
1473             sipName_id,
1474             sipName_newValue,
1475         };
1476 
1477         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState, sipType_wxPGVariant,&newValue, &newValueState))
1478         {
1479             bool sipRes;
1480 
1481             PyErr_Clear();
1482 
1483             Py_BEGIN_ALLOW_THREADS
1484             sipRes = sipCpp->ChangePropertyValue(*id,*newValue);
1485             Py_END_ALLOW_THREADS
1486             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
1487             sipReleaseType(newValue,sipType_wxPGVariant,newValueState);
1488 
1489             if (PyErr_Occurred())
1490                 return 0;
1491 
1492             return PyBool_FromLong(sipRes);
1493         }
1494     }
1495 
1496     /* Raise an exception if the arguments couldn't be parsed. */
1497     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ChangePropertyValue, SIP_NULLPTR);
1498 
1499     return SIP_NULLPTR;
1500 }
1501 
1502 
1503 PyDoc_STRVAR(doc_wxPropertyGrid_CenterSplitter, "CenterSplitter(enableAutoResizing=False)\n"
1504 "\n"
1505 "Centers the splitter.");
1506 
1507 extern "C" {static PyObject *meth_wxPropertyGrid_CenterSplitter(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_CenterSplitter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1508 static PyObject *meth_wxPropertyGrid_CenterSplitter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1509 {
1510     PyObject *sipParseErr = SIP_NULLPTR;
1511 
1512     {
1513         bool enableAutoResizing = 0;
1514          ::wxPropertyGrid *sipCpp;
1515 
1516         static const char *sipKwdList[] = {
1517             sipName_enableAutoResizing,
1518         };
1519 
1520         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &enableAutoResizing))
1521         {
1522             PyErr_Clear();
1523 
1524             Py_BEGIN_ALLOW_THREADS
1525             sipCpp->CenterSplitter(enableAutoResizing);
1526             Py_END_ALLOW_THREADS
1527 
1528             if (PyErr_Occurred())
1529                 return 0;
1530 
1531             Py_INCREF(Py_None);
1532             return Py_None;
1533         }
1534     }
1535 
1536     /* Raise an exception if the arguments couldn't be parsed. */
1537     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_CenterSplitter, SIP_NULLPTR);
1538 
1539     return SIP_NULLPTR;
1540 }
1541 
1542 
1543 PyDoc_STRVAR(doc_wxPropertyGrid_Clear, "Clear()\n"
1544 "\n"
1545 "Deletes all properties.");
1546 
1547 extern "C" {static PyObject *meth_wxPropertyGrid_Clear(PyObject *, PyObject *);}
meth_wxPropertyGrid_Clear(PyObject * sipSelf,PyObject * sipArgs)1548 static PyObject *meth_wxPropertyGrid_Clear(PyObject *sipSelf, PyObject *sipArgs)
1549 {
1550     PyObject *sipParseErr = SIP_NULLPTR;
1551     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1552 
1553     {
1554          ::wxPropertyGrid *sipCpp;
1555 
1556         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1557         {
1558             PyErr_Clear();
1559 
1560             Py_BEGIN_ALLOW_THREADS
1561             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::Clear() : sipCpp->Clear());
1562             Py_END_ALLOW_THREADS
1563 
1564             if (PyErr_Occurred())
1565                 return 0;
1566 
1567             Py_INCREF(Py_None);
1568             return Py_None;
1569         }
1570     }
1571 
1572     /* Raise an exception if the arguments couldn't be parsed. */
1573     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_Clear, SIP_NULLPTR);
1574 
1575     return SIP_NULLPTR;
1576 }
1577 
1578 
1579 PyDoc_STRVAR(doc_wxPropertyGrid_ClearActionTriggers, "ClearActionTriggers(action)\n"
1580 "\n"
1581 "Clears action triggers for given action.");
1582 
1583 extern "C" {static PyObject *meth_wxPropertyGrid_ClearActionTriggers(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_ClearActionTriggers(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1584 static PyObject *meth_wxPropertyGrid_ClearActionTriggers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1585 {
1586     PyObject *sipParseErr = SIP_NULLPTR;
1587 
1588     {
1589         int action;
1590          ::wxPropertyGrid *sipCpp;
1591 
1592         static const char *sipKwdList[] = {
1593             sipName_action,
1594         };
1595 
1596         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &action))
1597         {
1598             PyErr_Clear();
1599 
1600             Py_BEGIN_ALLOW_THREADS
1601             sipCpp->ClearActionTriggers(action);
1602             Py_END_ALLOW_THREADS
1603 
1604             if (PyErr_Occurred())
1605                 return 0;
1606 
1607             Py_INCREF(Py_None);
1608             return Py_None;
1609         }
1610     }
1611 
1612     /* Raise an exception if the arguments couldn't be parsed. */
1613     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ClearActionTriggers, SIP_NULLPTR);
1614 
1615     return SIP_NULLPTR;
1616 }
1617 
1618 
1619 PyDoc_STRVAR(doc_wxPropertyGrid_CommitChangesFromEditor, "CommitChangesFromEditor(flags=0) -> bool\n"
1620 "\n"
1621 "Forces updating the value of property from the editor control.");
1622 
1623 extern "C" {static PyObject *meth_wxPropertyGrid_CommitChangesFromEditor(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_CommitChangesFromEditor(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1624 static PyObject *meth_wxPropertyGrid_CommitChangesFromEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1625 {
1626     PyObject *sipParseErr = SIP_NULLPTR;
1627 
1628     {
1629          ::wxUint32 flags = 0;
1630          ::wxPropertyGrid *sipCpp;
1631 
1632         static const char *sipKwdList[] = {
1633             sipName_flags,
1634         };
1635 
1636         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|u", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &flags))
1637         {
1638             bool sipRes;
1639 
1640             PyErr_Clear();
1641 
1642             Py_BEGIN_ALLOW_THREADS
1643             sipRes = sipCpp->CommitChangesFromEditor(flags);
1644             Py_END_ALLOW_THREADS
1645 
1646             if (PyErr_Occurred())
1647                 return 0;
1648 
1649             return PyBool_FromLong(sipRes);
1650         }
1651     }
1652 
1653     /* Raise an exception if the arguments couldn't be parsed. */
1654     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_CommitChangesFromEditor, SIP_NULLPTR);
1655 
1656     return SIP_NULLPTR;
1657 }
1658 
1659 
1660 PyDoc_STRVAR(doc_wxPropertyGrid_Create, "Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=PG_DEFAULT_STYLE, name=PropertyGridNameStr) -> bool\n"
1661 "\n"
1662 "Two step creation.");
1663 
1664 extern "C" {static PyObject *meth_wxPropertyGrid_Create(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1665 static PyObject *meth_wxPropertyGrid_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1666 {
1667     PyObject *sipParseErr = SIP_NULLPTR;
1668 
1669     {
1670          ::wxWindow* parent;
1671          ::wxWindowID id = wxID_ANY;
1672         const  ::wxPoint& posdef = wxDefaultPosition;
1673         const  ::wxPoint* pos = &posdef;
1674         int posState = 0;
1675         const  ::wxSize& sizedef = wxDefaultSize;
1676         const  ::wxSize* size = &sizedef;
1677         int sizeState = 0;
1678         long style = wxPG_DEFAULT_STYLE;
1679         const  ::wxString& namedef = wxPropertyGridNameStr;
1680         const  ::wxString* name = &namedef;
1681         int nameState = 0;
1682         sipWrapper *sipOwner = SIP_NULLPTR;
1683          ::wxPropertyGrid *sipCpp;
1684 
1685         static const char *sipKwdList[] = {
1686             sipName_parent,
1687             sipName_id,
1688             sipName_pos,
1689             sipName_size,
1690             sipName_style,
1691             sipName_name,
1692         };
1693 
1694         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1lJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
1695         {
1696             bool sipRes;
1697 
1698             PyErr_Clear();
1699 
1700             Py_BEGIN_ALLOW_THREADS
1701             sipRes = sipCpp->Create(parent,id,*pos,*size,style,*name);
1702             Py_END_ALLOW_THREADS
1703 
1704             if (sipOwner)
1705                 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1706             else
1707                 sipTransferBack(sipSelf);
1708             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1709             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1710             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
1711 
1712             if (PyErr_Occurred())
1713                 return 0;
1714 
1715             return PyBool_FromLong(sipRes);
1716         }
1717     }
1718 
1719     /* Raise an exception if the arguments couldn't be parsed. */
1720     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_Create, SIP_NULLPTR);
1721 
1722     return SIP_NULLPTR;
1723 }
1724 
1725 
1726 PyDoc_STRVAR(doc_wxPropertyGrid_DedicateKey, "DedicateKey(keycode)\n"
1727 "\n"
1728 "Dedicates a specific keycode to wxPropertyGrid.");
1729 
1730 extern "C" {static PyObject *meth_wxPropertyGrid_DedicateKey(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DedicateKey(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1731 static PyObject *meth_wxPropertyGrid_DedicateKey(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1732 {
1733     PyObject *sipParseErr = SIP_NULLPTR;
1734 
1735     {
1736         int keycode;
1737          ::wxPropertyGrid *sipCpp;
1738 
1739         static const char *sipKwdList[] = {
1740             sipName_keycode,
1741         };
1742 
1743         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &keycode))
1744         {
1745             PyErr_Clear();
1746 
1747             Py_BEGIN_ALLOW_THREADS
1748             sipCpp->DedicateKey(keycode);
1749             Py_END_ALLOW_THREADS
1750 
1751             if (PyErr_Occurred())
1752                 return 0;
1753 
1754             Py_INCREF(Py_None);
1755             return Py_None;
1756         }
1757     }
1758 
1759     /* Raise an exception if the arguments couldn't be parsed. */
1760     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DedicateKey, SIP_NULLPTR);
1761 
1762     return SIP_NULLPTR;
1763 }
1764 
1765 
1766 PyDoc_STRVAR(doc_wxPropertyGrid_EnableCategories, "EnableCategories(enable) -> bool\n"
1767 "\n"
1768 "Enables or disables (shows/hides) categories according to parameter\n"
1769 "enable.");
1770 
1771 extern "C" {static PyObject *meth_wxPropertyGrid_EnableCategories(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_EnableCategories(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1772 static PyObject *meth_wxPropertyGrid_EnableCategories(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1773 {
1774     PyObject *sipParseErr = SIP_NULLPTR;
1775 
1776     {
1777         bool enable;
1778          ::wxPropertyGrid *sipCpp;
1779 
1780         static const char *sipKwdList[] = {
1781             sipName_enable,
1782         };
1783 
1784         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &enable))
1785         {
1786             bool sipRes;
1787 
1788             PyErr_Clear();
1789 
1790             Py_BEGIN_ALLOW_THREADS
1791             sipRes = sipCpp->EnableCategories(enable);
1792             Py_END_ALLOW_THREADS
1793 
1794             if (PyErr_Occurred())
1795                 return 0;
1796 
1797             return PyBool_FromLong(sipRes);
1798         }
1799     }
1800 
1801     /* Raise an exception if the arguments couldn't be parsed. */
1802     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_EnableCategories, SIP_NULLPTR);
1803 
1804     return SIP_NULLPTR;
1805 }
1806 
1807 
1808 PyDoc_STRVAR(doc_wxPropertyGrid_EndLabelEdit, "EndLabelEdit(commit=True)\n"
1809 "\n"
1810 "Destroys label editor wxTextCtrl, if any.");
1811 
1812 extern "C" {static PyObject *meth_wxPropertyGrid_EndLabelEdit(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_EndLabelEdit(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1813 static PyObject *meth_wxPropertyGrid_EndLabelEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1814 {
1815     PyObject *sipParseErr = SIP_NULLPTR;
1816 
1817     {
1818         bool commit = 1;
1819          ::wxPropertyGrid *sipCpp;
1820 
1821         static const char *sipKwdList[] = {
1822             sipName_commit,
1823         };
1824 
1825         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &commit))
1826         {
1827             PyErr_Clear();
1828 
1829             Py_BEGIN_ALLOW_THREADS
1830             sipCpp->EndLabelEdit(commit);
1831             Py_END_ALLOW_THREADS
1832 
1833             if (PyErr_Occurred())
1834                 return 0;
1835 
1836             Py_INCREF(Py_None);
1837             return Py_None;
1838         }
1839     }
1840 
1841     /* Raise an exception if the arguments couldn't be parsed. */
1842     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_EndLabelEdit, SIP_NULLPTR);
1843 
1844     return SIP_NULLPTR;
1845 }
1846 
1847 
1848 PyDoc_STRVAR(doc_wxPropertyGrid_EnsureVisible, "EnsureVisible(id) -> bool\n"
1849 "\n"
1850 "Scrolls and/or expands items to ensure that the given item is visible.");
1851 
1852 extern "C" {static PyObject *meth_wxPropertyGrid_EnsureVisible(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_EnsureVisible(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1853 static PyObject *meth_wxPropertyGrid_EnsureVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1854 {
1855     PyObject *sipParseErr = SIP_NULLPTR;
1856 
1857     {
1858         const  ::wxPGPropArgCls* id;
1859         int idState = 0;
1860          ::wxPropertyGrid *sipCpp;
1861 
1862         static const char *sipKwdList[] = {
1863             sipName_id,
1864         };
1865 
1866         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState))
1867         {
1868             bool sipRes;
1869 
1870             PyErr_Clear();
1871 
1872             Py_BEGIN_ALLOW_THREADS
1873             sipRes = sipCpp->EnsureVisible(*id);
1874             Py_END_ALLOW_THREADS
1875             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
1876 
1877             if (PyErr_Occurred())
1878                 return 0;
1879 
1880             return PyBool_FromLong(sipRes);
1881         }
1882     }
1883 
1884     /* Raise an exception if the arguments couldn't be parsed. */
1885     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_EnsureVisible, SIP_NULLPTR);
1886 
1887     return SIP_NULLPTR;
1888 }
1889 
1890 
1891 PyDoc_STRVAR(doc_wxPropertyGrid_FitColumns, "FitColumns() -> wx.Size\n"
1892 "\n"
1893 "Reduces column sizes to minimum possible, while still retaining fully\n"
1894 "visible grid contents (labels, images).");
1895 
1896 extern "C" {static PyObject *meth_wxPropertyGrid_FitColumns(PyObject *, PyObject *);}
meth_wxPropertyGrid_FitColumns(PyObject * sipSelf,PyObject * sipArgs)1897 static PyObject *meth_wxPropertyGrid_FitColumns(PyObject *sipSelf, PyObject *sipArgs)
1898 {
1899     PyObject *sipParseErr = SIP_NULLPTR;
1900 
1901     {
1902          ::wxPropertyGrid *sipCpp;
1903 
1904         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1905         {
1906              ::wxSize*sipRes;
1907 
1908             PyErr_Clear();
1909 
1910             Py_BEGIN_ALLOW_THREADS
1911             sipRes = new  ::wxSize(sipCpp->FitColumns());
1912             Py_END_ALLOW_THREADS
1913 
1914             if (PyErr_Occurred())
1915                 return 0;
1916 
1917             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1918         }
1919     }
1920 
1921     /* Raise an exception if the arguments couldn't be parsed. */
1922     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_FitColumns, SIP_NULLPTR);
1923 
1924     return SIP_NULLPTR;
1925 }
1926 
1927 
1928 PyDoc_STRVAR(doc_wxPropertyGrid_GetLabelEditor, "GetLabelEditor() -> wx.TextCtrl\n"
1929 "\n"
1930 "Returns currently active label editor, NULL if none.");
1931 
1932 extern "C" {static PyObject *meth_wxPropertyGrid_GetLabelEditor(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetLabelEditor(PyObject * sipSelf,PyObject * sipArgs)1933 static PyObject *meth_wxPropertyGrid_GetLabelEditor(PyObject *sipSelf, PyObject *sipArgs)
1934 {
1935     PyObject *sipParseErr = SIP_NULLPTR;
1936 
1937     {
1938         const  ::wxPropertyGrid *sipCpp;
1939 
1940         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1941         {
1942              ::wxTextCtrl*sipRes;
1943 
1944             PyErr_Clear();
1945 
1946             Py_BEGIN_ALLOW_THREADS
1947             sipRes = sipCpp->GetLabelEditor();
1948             Py_END_ALLOW_THREADS
1949 
1950             if (PyErr_Occurred())
1951                 return 0;
1952 
1953             return sipConvertFromType(sipRes,sipType_wxTextCtrl,SIP_NULLPTR);
1954         }
1955     }
1956 
1957     /* Raise an exception if the arguments couldn't be parsed. */
1958     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetLabelEditor, SIP_NULLPTR);
1959 
1960     return SIP_NULLPTR;
1961 }
1962 
1963 
1964 PyDoc_STRVAR(doc_wxPropertyGrid_GetPanel, "GetPanel() -> wx.Window\n"
1965 "\n"
1966 "Returns wxWindow that the properties are painted on, and which should\n"
1967 "be used as the parent for editor controls.");
1968 
1969 extern "C" {static PyObject *meth_wxPropertyGrid_GetPanel(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetPanel(PyObject * sipSelf,PyObject * sipArgs)1970 static PyObject *meth_wxPropertyGrid_GetPanel(PyObject *sipSelf, PyObject *sipArgs)
1971 {
1972     PyObject *sipParseErr = SIP_NULLPTR;
1973 
1974     {
1975          ::wxPropertyGrid *sipCpp;
1976 
1977         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
1978         {
1979              ::wxWindow*sipRes;
1980 
1981             PyErr_Clear();
1982 
1983             Py_BEGIN_ALLOW_THREADS
1984             sipRes = sipCpp->GetPanel();
1985             Py_END_ALLOW_THREADS
1986 
1987             if (PyErr_Occurred())
1988                 return 0;
1989 
1990             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1991         }
1992     }
1993 
1994     /* Raise an exception if the arguments couldn't be parsed. */
1995     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetPanel, SIP_NULLPTR);
1996 
1997     return SIP_NULLPTR;
1998 }
1999 
2000 
2001 PyDoc_STRVAR(doc_wxPropertyGrid_GetCaptionBackgroundColour, "GetCaptionBackgroundColour() -> wx.Colour\n"
2002 "\n"
2003 "Returns current category caption background colour.");
2004 
2005 extern "C" {static PyObject *meth_wxPropertyGrid_GetCaptionBackgroundColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCaptionBackgroundColour(PyObject * sipSelf,PyObject * sipArgs)2006 static PyObject *meth_wxPropertyGrid_GetCaptionBackgroundColour(PyObject *sipSelf, PyObject *sipArgs)
2007 {
2008     PyObject *sipParseErr = SIP_NULLPTR;
2009 
2010     {
2011         const  ::wxPropertyGrid *sipCpp;
2012 
2013         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2014         {
2015              ::wxColour*sipRes;
2016 
2017             PyErr_Clear();
2018 
2019             Py_BEGIN_ALLOW_THREADS
2020             sipRes = new  ::wxColour(sipCpp->GetCaptionBackgroundColour());
2021             Py_END_ALLOW_THREADS
2022 
2023             if (PyErr_Occurred())
2024                 return 0;
2025 
2026             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2027         }
2028     }
2029 
2030     /* Raise an exception if the arguments couldn't be parsed. */
2031     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCaptionBackgroundColour, SIP_NULLPTR);
2032 
2033     return SIP_NULLPTR;
2034 }
2035 
2036 
2037 PyDoc_STRVAR(doc_wxPropertyGrid_GetCaptionFont, "GetCaptionFont() -> wx.Font\n"
2038 "\n"
2039 "Returns current category caption font.");
2040 
2041 extern "C" {static PyObject *meth_wxPropertyGrid_GetCaptionFont(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCaptionFont(PyObject * sipSelf,PyObject * sipArgs)2042 static PyObject *meth_wxPropertyGrid_GetCaptionFont(PyObject *sipSelf, PyObject *sipArgs)
2043 {
2044     PyObject *sipParseErr = SIP_NULLPTR;
2045 
2046     {
2047          ::wxPropertyGrid *sipCpp;
2048 
2049         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2050         {
2051              ::wxFont*sipRes;
2052 
2053             PyErr_Clear();
2054 
2055             Py_BEGIN_ALLOW_THREADS
2056             sipRes = &sipCpp->GetCaptionFont();
2057             Py_END_ALLOW_THREADS
2058 
2059             if (PyErr_Occurred())
2060                 return 0;
2061 
2062             return sipConvertFromType(sipRes,sipType_wxFont,SIP_NULLPTR);
2063         }
2064     }
2065 
2066     /* Raise an exception if the arguments couldn't be parsed. */
2067     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCaptionFont, SIP_NULLPTR);
2068 
2069     return SIP_NULLPTR;
2070 }
2071 
2072 
2073 PyDoc_STRVAR(doc_wxPropertyGrid_GetCaptionForegroundColour, "GetCaptionForegroundColour() -> wx.Colour\n"
2074 "\n"
2075 "Returns current category caption text colour.");
2076 
2077 extern "C" {static PyObject *meth_wxPropertyGrid_GetCaptionForegroundColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCaptionForegroundColour(PyObject * sipSelf,PyObject * sipArgs)2078 static PyObject *meth_wxPropertyGrid_GetCaptionForegroundColour(PyObject *sipSelf, PyObject *sipArgs)
2079 {
2080     PyObject *sipParseErr = SIP_NULLPTR;
2081 
2082     {
2083         const  ::wxPropertyGrid *sipCpp;
2084 
2085         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2086         {
2087              ::wxColour*sipRes;
2088 
2089             PyErr_Clear();
2090 
2091             Py_BEGIN_ALLOW_THREADS
2092             sipRes = new  ::wxColour(sipCpp->GetCaptionForegroundColour());
2093             Py_END_ALLOW_THREADS
2094 
2095             if (PyErr_Occurred())
2096                 return 0;
2097 
2098             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2099         }
2100     }
2101 
2102     /* Raise an exception if the arguments couldn't be parsed. */
2103     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCaptionForegroundColour, SIP_NULLPTR);
2104 
2105     return SIP_NULLPTR;
2106 }
2107 
2108 
2109 PyDoc_STRVAR(doc_wxPropertyGrid_GetCellBackgroundColour, "GetCellBackgroundColour() -> wx.Colour\n"
2110 "\n"
2111 "Returns current cell background colour.");
2112 
2113 extern "C" {static PyObject *meth_wxPropertyGrid_GetCellBackgroundColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCellBackgroundColour(PyObject * sipSelf,PyObject * sipArgs)2114 static PyObject *meth_wxPropertyGrid_GetCellBackgroundColour(PyObject *sipSelf, PyObject *sipArgs)
2115 {
2116     PyObject *sipParseErr = SIP_NULLPTR;
2117 
2118     {
2119         const  ::wxPropertyGrid *sipCpp;
2120 
2121         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2122         {
2123              ::wxColour*sipRes;
2124 
2125             PyErr_Clear();
2126 
2127             Py_BEGIN_ALLOW_THREADS
2128             sipRes = new  ::wxColour(sipCpp->GetCellBackgroundColour());
2129             Py_END_ALLOW_THREADS
2130 
2131             if (PyErr_Occurred())
2132                 return 0;
2133 
2134             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2135         }
2136     }
2137 
2138     /* Raise an exception if the arguments couldn't be parsed. */
2139     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCellBackgroundColour, SIP_NULLPTR);
2140 
2141     return SIP_NULLPTR;
2142 }
2143 
2144 
2145 PyDoc_STRVAR(doc_wxPropertyGrid_GetCellDisabledTextColour, "GetCellDisabledTextColour() -> wx.Colour\n"
2146 "\n"
2147 "Returns current cell text colour when disabled.");
2148 
2149 extern "C" {static PyObject *meth_wxPropertyGrid_GetCellDisabledTextColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCellDisabledTextColour(PyObject * sipSelf,PyObject * sipArgs)2150 static PyObject *meth_wxPropertyGrid_GetCellDisabledTextColour(PyObject *sipSelf, PyObject *sipArgs)
2151 {
2152     PyObject *sipParseErr = SIP_NULLPTR;
2153 
2154     {
2155         const  ::wxPropertyGrid *sipCpp;
2156 
2157         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2158         {
2159              ::wxColour*sipRes;
2160 
2161             PyErr_Clear();
2162 
2163             Py_BEGIN_ALLOW_THREADS
2164             sipRes = new  ::wxColour(sipCpp->GetCellDisabledTextColour());
2165             Py_END_ALLOW_THREADS
2166 
2167             if (PyErr_Occurred())
2168                 return 0;
2169 
2170             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2171         }
2172     }
2173 
2174     /* Raise an exception if the arguments couldn't be parsed. */
2175     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCellDisabledTextColour, SIP_NULLPTR);
2176 
2177     return SIP_NULLPTR;
2178 }
2179 
2180 
2181 PyDoc_STRVAR(doc_wxPropertyGrid_GetCellTextColour, "GetCellTextColour() -> wx.Colour\n"
2182 "\n"
2183 "Returns current cell text colour.");
2184 
2185 extern "C" {static PyObject *meth_wxPropertyGrid_GetCellTextColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetCellTextColour(PyObject * sipSelf,PyObject * sipArgs)2186 static PyObject *meth_wxPropertyGrid_GetCellTextColour(PyObject *sipSelf, PyObject *sipArgs)
2187 {
2188     PyObject *sipParseErr = SIP_NULLPTR;
2189 
2190     {
2191         const  ::wxPropertyGrid *sipCpp;
2192 
2193         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2194         {
2195              ::wxColour*sipRes;
2196 
2197             PyErr_Clear();
2198 
2199             Py_BEGIN_ALLOW_THREADS
2200             sipRes = new  ::wxColour(sipCpp->GetCellTextColour());
2201             Py_END_ALLOW_THREADS
2202 
2203             if (PyErr_Occurred())
2204                 return 0;
2205 
2206             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2207         }
2208     }
2209 
2210     /* Raise an exception if the arguments couldn't be parsed. */
2211     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetCellTextColour, SIP_NULLPTR);
2212 
2213     return SIP_NULLPTR;
2214 }
2215 
2216 
2217 PyDoc_STRVAR(doc_wxPropertyGrid_GetColumnCount, "GetColumnCount() -> unsignedint\n"
2218 "\n"
2219 "Returns number of columns currently on grid.");
2220 
2221 extern "C" {static PyObject *meth_wxPropertyGrid_GetColumnCount(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetColumnCount(PyObject * sipSelf,PyObject * sipArgs)2222 static PyObject *meth_wxPropertyGrid_GetColumnCount(PyObject *sipSelf, PyObject *sipArgs)
2223 {
2224     PyObject *sipParseErr = SIP_NULLPTR;
2225 
2226     {
2227         const  ::wxPropertyGrid *sipCpp;
2228 
2229         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2230         {
2231             uint sipRes;
2232 
2233             PyErr_Clear();
2234 
2235             Py_BEGIN_ALLOW_THREADS
2236             sipRes = sipCpp->GetColumnCount();
2237             Py_END_ALLOW_THREADS
2238 
2239             if (PyErr_Occurred())
2240                 return 0;
2241 
2242             return PyLong_FromUnsignedLong(sipRes);
2243         }
2244     }
2245 
2246     /* Raise an exception if the arguments couldn't be parsed. */
2247     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetColumnCount, SIP_NULLPTR);
2248 
2249     return SIP_NULLPTR;
2250 }
2251 
2252 
2253 PyDoc_STRVAR(doc_wxPropertyGrid_GetEmptySpaceColour, "GetEmptySpaceColour() -> wx.Colour\n"
2254 "\n"
2255 "Returns colour of empty space below properties.");
2256 
2257 extern "C" {static PyObject *meth_wxPropertyGrid_GetEmptySpaceColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetEmptySpaceColour(PyObject * sipSelf,PyObject * sipArgs)2258 static PyObject *meth_wxPropertyGrid_GetEmptySpaceColour(PyObject *sipSelf, PyObject *sipArgs)
2259 {
2260     PyObject *sipParseErr = SIP_NULLPTR;
2261 
2262     {
2263         const  ::wxPropertyGrid *sipCpp;
2264 
2265         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2266         {
2267              ::wxColour*sipRes;
2268 
2269             PyErr_Clear();
2270 
2271             Py_BEGIN_ALLOW_THREADS
2272             sipRes = new  ::wxColour(sipCpp->GetEmptySpaceColour());
2273             Py_END_ALLOW_THREADS
2274 
2275             if (PyErr_Occurred())
2276                 return 0;
2277 
2278             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2279         }
2280     }
2281 
2282     /* Raise an exception if the arguments couldn't be parsed. */
2283     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetEmptySpaceColour, SIP_NULLPTR);
2284 
2285     return SIP_NULLPTR;
2286 }
2287 
2288 
2289 PyDoc_STRVAR(doc_wxPropertyGrid_GetFontHeight, "GetFontHeight() -> int\n"
2290 "\n"
2291 "Returns height of highest characters of used font.");
2292 
2293 extern "C" {static PyObject *meth_wxPropertyGrid_GetFontHeight(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetFontHeight(PyObject * sipSelf,PyObject * sipArgs)2294 static PyObject *meth_wxPropertyGrid_GetFontHeight(PyObject *sipSelf, PyObject *sipArgs)
2295 {
2296     PyObject *sipParseErr = SIP_NULLPTR;
2297 
2298     {
2299         const  ::wxPropertyGrid *sipCpp;
2300 
2301         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2302         {
2303             int sipRes;
2304 
2305             PyErr_Clear();
2306 
2307             Py_BEGIN_ALLOW_THREADS
2308             sipRes = sipCpp->GetFontHeight();
2309             Py_END_ALLOW_THREADS
2310 
2311             if (PyErr_Occurred())
2312                 return 0;
2313 
2314             return SIPLong_FromLong(sipRes);
2315         }
2316     }
2317 
2318     /* Raise an exception if the arguments couldn't be parsed. */
2319     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetFontHeight, SIP_NULLPTR);
2320 
2321     return SIP_NULLPTR;
2322 }
2323 
2324 
2325 PyDoc_STRVAR(doc_wxPropertyGrid_GetGrid, "GetGrid() -> PropertyGrid\n"
2326 "\n"
2327 "Returns pointer to itself.");
2328 
2329 extern "C" {static PyObject *meth_wxPropertyGrid_GetGrid(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetGrid(PyObject * sipSelf,PyObject * sipArgs)2330 static PyObject *meth_wxPropertyGrid_GetGrid(PyObject *sipSelf, PyObject *sipArgs)
2331 {
2332     PyObject *sipParseErr = SIP_NULLPTR;
2333 
2334     {
2335          ::wxPropertyGrid *sipCpp;
2336 
2337         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2338         {
2339              ::wxPropertyGrid*sipRes;
2340 
2341             PyErr_Clear();
2342 
2343             Py_BEGIN_ALLOW_THREADS
2344             sipRes = sipCpp->GetGrid();
2345             Py_END_ALLOW_THREADS
2346 
2347             if (PyErr_Occurred())
2348                 return 0;
2349 
2350             return sipConvertFromType(sipRes,sipType_wxPropertyGrid,SIP_NULLPTR);
2351         }
2352     }
2353 
2354     /* Raise an exception if the arguments couldn't be parsed. */
2355     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetGrid, SIP_NULLPTR);
2356 
2357     return SIP_NULLPTR;
2358 }
2359 
2360 
2361 PyDoc_STRVAR(doc_wxPropertyGrid_GetImageRect, "GetImageRect(property, item) -> wx.Rect\n"
2362 "\n"
2363 "Returns rectangle of custom paint image.");
2364 
2365 extern "C" {static PyObject *meth_wxPropertyGrid_GetImageRect(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetImageRect(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2366 static PyObject *meth_wxPropertyGrid_GetImageRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2367 {
2368     PyObject *sipParseErr = SIP_NULLPTR;
2369 
2370     {
2371          ::wxPGProperty* property;
2372         int item;
2373         const  ::wxPropertyGrid *sipCpp;
2374 
2375         static const char *sipKwdList[] = {
2376             sipName_property,
2377             sipName_item,
2378         };
2379 
2380         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGProperty, &property, &item))
2381         {
2382              ::wxRect*sipRes;
2383 
2384             PyErr_Clear();
2385 
2386             Py_BEGIN_ALLOW_THREADS
2387             sipRes = new  ::wxRect(sipCpp->GetImageRect(property,item));
2388             Py_END_ALLOW_THREADS
2389 
2390             if (PyErr_Occurred())
2391                 return 0;
2392 
2393             return sipConvertFromNewType(sipRes,sipType_wxRect,SIP_NULLPTR);
2394         }
2395     }
2396 
2397     /* Raise an exception if the arguments couldn't be parsed. */
2398     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetImageRect, SIP_NULLPTR);
2399 
2400     return SIP_NULLPTR;
2401 }
2402 
2403 
2404 PyDoc_STRVAR(doc_wxPropertyGrid_GetImageSize, "GetImageSize(property=None, item=-1) -> wx.Size\n"
2405 "\n"
2406 "Returns size of the custom paint image in front of property.");
2407 
2408 extern "C" {static PyObject *meth_wxPropertyGrid_GetImageSize(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetImageSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2409 static PyObject *meth_wxPropertyGrid_GetImageSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2410 {
2411     PyObject *sipParseErr = SIP_NULLPTR;
2412 
2413     {
2414          ::wxPGProperty* property = 0;
2415         int item = -1;
2416         const  ::wxPropertyGrid *sipCpp;
2417 
2418         static const char *sipKwdList[] = {
2419             sipName_property,
2420             sipName_item,
2421         };
2422 
2423         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J8i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGProperty, &property, &item))
2424         {
2425              ::wxSize*sipRes;
2426 
2427             PyErr_Clear();
2428 
2429             Py_BEGIN_ALLOW_THREADS
2430             sipRes = new  ::wxSize(sipCpp->GetImageSize(property,item));
2431             Py_END_ALLOW_THREADS
2432 
2433             if (PyErr_Occurred())
2434                 return 0;
2435 
2436             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2437         }
2438     }
2439 
2440     /* Raise an exception if the arguments couldn't be parsed. */
2441     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetImageSize, SIP_NULLPTR);
2442 
2443     return SIP_NULLPTR;
2444 }
2445 
2446 
2447 PyDoc_STRVAR(doc_wxPropertyGrid_GetLastItem, "GetLastItem(flags=PG_ITERATE_DEFAULT) -> PGProperty\n"
2448 "\n"
2449 "Returns last item which could be iterated using given flags.");
2450 
2451 extern "C" {static PyObject *meth_wxPropertyGrid_GetLastItem(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetLastItem(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2452 static PyObject *meth_wxPropertyGrid_GetLastItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2453 {
2454     PyObject *sipParseErr = SIP_NULLPTR;
2455 
2456     {
2457         int flags = wxPG_ITERATE_DEFAULT;
2458          ::wxPropertyGrid *sipCpp;
2459 
2460         static const char *sipKwdList[] = {
2461             sipName_flags,
2462         };
2463 
2464         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &flags))
2465         {
2466              ::wxPGProperty*sipRes;
2467 
2468             PyErr_Clear();
2469 
2470             Py_BEGIN_ALLOW_THREADS
2471             sipRes = sipCpp->GetLastItem(flags);
2472             Py_END_ALLOW_THREADS
2473 
2474             if (PyErr_Occurred())
2475                 return 0;
2476 
2477             return sipConvertFromType(sipRes,sipType_wxPGProperty,SIP_NULLPTR);
2478         }
2479     }
2480 
2481     /* Raise an exception if the arguments couldn't be parsed. */
2482     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetLastItem, SIP_NULLPTR);
2483 
2484     return SIP_NULLPTR;
2485 }
2486 
2487 
2488 PyDoc_STRVAR(doc_wxPropertyGrid_GetLineColour, "GetLineColour() -> wx.Colour\n"
2489 "\n"
2490 "Returns colour of lines between cells.");
2491 
2492 extern "C" {static PyObject *meth_wxPropertyGrid_GetLineColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetLineColour(PyObject * sipSelf,PyObject * sipArgs)2493 static PyObject *meth_wxPropertyGrid_GetLineColour(PyObject *sipSelf, PyObject *sipArgs)
2494 {
2495     PyObject *sipParseErr = SIP_NULLPTR;
2496 
2497     {
2498         const  ::wxPropertyGrid *sipCpp;
2499 
2500         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2501         {
2502              ::wxColour*sipRes;
2503 
2504             PyErr_Clear();
2505 
2506             Py_BEGIN_ALLOW_THREADS
2507             sipRes = new  ::wxColour(sipCpp->GetLineColour());
2508             Py_END_ALLOW_THREADS
2509 
2510             if (PyErr_Occurred())
2511                 return 0;
2512 
2513             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2514         }
2515     }
2516 
2517     /* Raise an exception if the arguments couldn't be parsed. */
2518     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetLineColour, SIP_NULLPTR);
2519 
2520     return SIP_NULLPTR;
2521 }
2522 
2523 
2524 PyDoc_STRVAR(doc_wxPropertyGrid_GetMarginColour, "GetMarginColour() -> wx.Colour\n"
2525 "\n"
2526 "Returns background colour of margin.");
2527 
2528 extern "C" {static PyObject *meth_wxPropertyGrid_GetMarginColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetMarginColour(PyObject * sipSelf,PyObject * sipArgs)2529 static PyObject *meth_wxPropertyGrid_GetMarginColour(PyObject *sipSelf, PyObject *sipArgs)
2530 {
2531     PyObject *sipParseErr = SIP_NULLPTR;
2532 
2533     {
2534         const  ::wxPropertyGrid *sipCpp;
2535 
2536         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2537         {
2538              ::wxColour*sipRes;
2539 
2540             PyErr_Clear();
2541 
2542             Py_BEGIN_ALLOW_THREADS
2543             sipRes = new  ::wxColour(sipCpp->GetMarginColour());
2544             Py_END_ALLOW_THREADS
2545 
2546             if (PyErr_Occurred())
2547                 return 0;
2548 
2549             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2550         }
2551     }
2552 
2553     /* Raise an exception if the arguments couldn't be parsed. */
2554     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetMarginColour, SIP_NULLPTR);
2555 
2556     return SIP_NULLPTR;
2557 }
2558 
2559 
2560 PyDoc_STRVAR(doc_wxPropertyGrid_GetRoot, "GetRoot() -> PGProperty\n"
2561 "\n"
2562 "Returns \"root property\".");
2563 
2564 extern "C" {static PyObject *meth_wxPropertyGrid_GetRoot(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetRoot(PyObject * sipSelf,PyObject * sipArgs)2565 static PyObject *meth_wxPropertyGrid_GetRoot(PyObject *sipSelf, PyObject *sipArgs)
2566 {
2567     PyObject *sipParseErr = SIP_NULLPTR;
2568 
2569     {
2570         const  ::wxPropertyGrid *sipCpp;
2571 
2572         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2573         {
2574              ::wxPGProperty*sipRes;
2575 
2576             PyErr_Clear();
2577 
2578             Py_BEGIN_ALLOW_THREADS
2579             sipRes = sipCpp->GetRoot();
2580             Py_END_ALLOW_THREADS
2581 
2582             if (PyErr_Occurred())
2583                 return 0;
2584 
2585             return sipConvertFromType(sipRes,sipType_wxPGProperty,SIP_NULLPTR);
2586         }
2587     }
2588 
2589     /* Raise an exception if the arguments couldn't be parsed. */
2590     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetRoot, SIP_NULLPTR);
2591 
2592     return SIP_NULLPTR;
2593 }
2594 
2595 
2596 PyDoc_STRVAR(doc_wxPropertyGrid_GetRowHeight, "GetRowHeight() -> int\n"
2597 "\n"
2598 "Returns height of a single grid row (in pixels).");
2599 
2600 extern "C" {static PyObject *meth_wxPropertyGrid_GetRowHeight(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetRowHeight(PyObject * sipSelf,PyObject * sipArgs)2601 static PyObject *meth_wxPropertyGrid_GetRowHeight(PyObject *sipSelf, PyObject *sipArgs)
2602 {
2603     PyObject *sipParseErr = SIP_NULLPTR;
2604 
2605     {
2606         const  ::wxPropertyGrid *sipCpp;
2607 
2608         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2609         {
2610             int sipRes;
2611 
2612             PyErr_Clear();
2613 
2614             Py_BEGIN_ALLOW_THREADS
2615             sipRes = sipCpp->GetRowHeight();
2616             Py_END_ALLOW_THREADS
2617 
2618             if (PyErr_Occurred())
2619                 return 0;
2620 
2621             return SIPLong_FromLong(sipRes);
2622         }
2623     }
2624 
2625     /* Raise an exception if the arguments couldn't be parsed. */
2626     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetRowHeight, SIP_NULLPTR);
2627 
2628     return SIP_NULLPTR;
2629 }
2630 
2631 
2632 PyDoc_STRVAR(doc_wxPropertyGrid_GetSelectedProperty, "GetSelectedProperty() -> PGProperty\n"
2633 "\n"
2634 "Returns currently selected property.");
2635 
2636 extern "C" {static PyObject *meth_wxPropertyGrid_GetSelectedProperty(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetSelectedProperty(PyObject * sipSelf,PyObject * sipArgs)2637 static PyObject *meth_wxPropertyGrid_GetSelectedProperty(PyObject *sipSelf, PyObject *sipArgs)
2638 {
2639     PyObject *sipParseErr = SIP_NULLPTR;
2640 
2641     {
2642         const  ::wxPropertyGrid *sipCpp;
2643 
2644         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2645         {
2646              ::wxPGProperty*sipRes;
2647 
2648             PyErr_Clear();
2649 
2650             Py_BEGIN_ALLOW_THREADS
2651             sipRes = sipCpp->GetSelectedProperty();
2652             Py_END_ALLOW_THREADS
2653 
2654             if (PyErr_Occurred())
2655                 return 0;
2656 
2657             return sipConvertFromType(sipRes,sipType_wxPGProperty,SIP_NULLPTR);
2658         }
2659     }
2660 
2661     /* Raise an exception if the arguments couldn't be parsed. */
2662     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetSelectedProperty, SIP_NULLPTR);
2663 
2664     return SIP_NULLPTR;
2665 }
2666 
2667 
2668 PyDoc_STRVAR(doc_wxPropertyGrid_GetSelection, "GetSelection() -> PGProperty\n"
2669 "\n"
2670 "Returns currently selected property.");
2671 
2672 extern "C" {static PyObject *meth_wxPropertyGrid_GetSelection(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetSelection(PyObject * sipSelf,PyObject * sipArgs)2673 static PyObject *meth_wxPropertyGrid_GetSelection(PyObject *sipSelf, PyObject *sipArgs)
2674 {
2675     PyObject *sipParseErr = SIP_NULLPTR;
2676 
2677     {
2678         const  ::wxPropertyGrid *sipCpp;
2679 
2680         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2681         {
2682              ::wxPGProperty*sipRes;
2683 
2684             PyErr_Clear();
2685 
2686             Py_BEGIN_ALLOW_THREADS
2687             sipRes = sipCpp->GetSelection();
2688             Py_END_ALLOW_THREADS
2689 
2690             if (PyErr_Occurred())
2691                 return 0;
2692 
2693             return sipConvertFromType(sipRes,sipType_wxPGProperty,SIP_NULLPTR);
2694         }
2695     }
2696 
2697     /* Raise an exception if the arguments couldn't be parsed. */
2698     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetSelection, SIP_NULLPTR);
2699 
2700     return SIP_NULLPTR;
2701 }
2702 
2703 
2704 PyDoc_STRVAR(doc_wxPropertyGrid_GetSelectionBackgroundColour, "GetSelectionBackgroundColour() -> wx.Colour\n"
2705 "\n"
2706 "Returns current selection background colour.");
2707 
2708 extern "C" {static PyObject *meth_wxPropertyGrid_GetSelectionBackgroundColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetSelectionBackgroundColour(PyObject * sipSelf,PyObject * sipArgs)2709 static PyObject *meth_wxPropertyGrid_GetSelectionBackgroundColour(PyObject *sipSelf, PyObject *sipArgs)
2710 {
2711     PyObject *sipParseErr = SIP_NULLPTR;
2712 
2713     {
2714         const  ::wxPropertyGrid *sipCpp;
2715 
2716         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2717         {
2718              ::wxColour*sipRes;
2719 
2720             PyErr_Clear();
2721 
2722             Py_BEGIN_ALLOW_THREADS
2723             sipRes = new  ::wxColour(sipCpp->GetSelectionBackgroundColour());
2724             Py_END_ALLOW_THREADS
2725 
2726             if (PyErr_Occurred())
2727                 return 0;
2728 
2729             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2730         }
2731     }
2732 
2733     /* Raise an exception if the arguments couldn't be parsed. */
2734     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetSelectionBackgroundColour, SIP_NULLPTR);
2735 
2736     return SIP_NULLPTR;
2737 }
2738 
2739 
2740 PyDoc_STRVAR(doc_wxPropertyGrid_GetSelectionForegroundColour, "GetSelectionForegroundColour() -> wx.Colour\n"
2741 "\n"
2742 "Returns current selection text colour.");
2743 
2744 extern "C" {static PyObject *meth_wxPropertyGrid_GetSelectionForegroundColour(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetSelectionForegroundColour(PyObject * sipSelf,PyObject * sipArgs)2745 static PyObject *meth_wxPropertyGrid_GetSelectionForegroundColour(PyObject *sipSelf, PyObject *sipArgs)
2746 {
2747     PyObject *sipParseErr = SIP_NULLPTR;
2748 
2749     {
2750         const  ::wxPropertyGrid *sipCpp;
2751 
2752         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2753         {
2754              ::wxColour*sipRes;
2755 
2756             PyErr_Clear();
2757 
2758             Py_BEGIN_ALLOW_THREADS
2759             sipRes = new  ::wxColour(sipCpp->GetSelectionForegroundColour());
2760             Py_END_ALLOW_THREADS
2761 
2762             if (PyErr_Occurred())
2763                 return 0;
2764 
2765             return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2766         }
2767     }
2768 
2769     /* Raise an exception if the arguments couldn't be parsed. */
2770     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetSelectionForegroundColour, SIP_NULLPTR);
2771 
2772     return SIP_NULLPTR;
2773 }
2774 
2775 
2776 PyDoc_STRVAR(doc_wxPropertyGrid_GetSplitterPosition, "GetSplitterPosition(splitterIndex=0) -> int\n"
2777 "\n"
2778 "Returns current splitter x position.");
2779 
2780 extern "C" {static PyObject *meth_wxPropertyGrid_GetSplitterPosition(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetSplitterPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2781 static PyObject *meth_wxPropertyGrid_GetSplitterPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2782 {
2783     PyObject *sipParseErr = SIP_NULLPTR;
2784 
2785     {
2786         uint splitterIndex = 0;
2787         const  ::wxPropertyGrid *sipCpp;
2788 
2789         static const char *sipKwdList[] = {
2790             sipName_splitterIndex,
2791         };
2792 
2793         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|u", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &splitterIndex))
2794         {
2795             int sipRes;
2796 
2797             PyErr_Clear();
2798 
2799             Py_BEGIN_ALLOW_THREADS
2800             sipRes = sipCpp->GetSplitterPosition(splitterIndex);
2801             Py_END_ALLOW_THREADS
2802 
2803             if (PyErr_Occurred())
2804                 return 0;
2805 
2806             return SIPLong_FromLong(sipRes);
2807         }
2808     }
2809 
2810     /* Raise an exception if the arguments couldn't be parsed. */
2811     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetSplitterPosition, SIP_NULLPTR);
2812 
2813     return SIP_NULLPTR;
2814 }
2815 
2816 
2817 PyDoc_STRVAR(doc_wxPropertyGrid_GetEditorTextCtrl, "GetEditorTextCtrl() -> wx.TextCtrl\n"
2818 "\n"
2819 "Returns wxTextCtrl active in currently selected property, if any.");
2820 
2821 extern "C" {static PyObject *meth_wxPropertyGrid_GetEditorTextCtrl(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetEditorTextCtrl(PyObject * sipSelf,PyObject * sipArgs)2822 static PyObject *meth_wxPropertyGrid_GetEditorTextCtrl(PyObject *sipSelf, PyObject *sipArgs)
2823 {
2824     PyObject *sipParseErr = SIP_NULLPTR;
2825 
2826     {
2827         const  ::wxPropertyGrid *sipCpp;
2828 
2829         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2830         {
2831              ::wxTextCtrl*sipRes;
2832 
2833             PyErr_Clear();
2834 
2835             Py_BEGIN_ALLOW_THREADS
2836             sipRes = sipCpp->GetEditorTextCtrl();
2837             Py_END_ALLOW_THREADS
2838 
2839             if (PyErr_Occurred())
2840                 return 0;
2841 
2842             return sipConvertFromType(sipRes,sipType_wxTextCtrl,SIP_NULLPTR);
2843         }
2844     }
2845 
2846     /* Raise an exception if the arguments couldn't be parsed. */
2847     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetEditorTextCtrl, SIP_NULLPTR);
2848 
2849     return SIP_NULLPTR;
2850 }
2851 
2852 
2853 PyDoc_STRVAR(doc_wxPropertyGrid_GetUnspecifiedValueAppearance, "GetUnspecifiedValueAppearance() -> PGCell\n"
2854 "\n"
2855 "Returns current appearance of unspecified value cells.");
2856 
2857 extern "C" {static PyObject *meth_wxPropertyGrid_GetUnspecifiedValueAppearance(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetUnspecifiedValueAppearance(PyObject * sipSelf,PyObject * sipArgs)2858 static PyObject *meth_wxPropertyGrid_GetUnspecifiedValueAppearance(PyObject *sipSelf, PyObject *sipArgs)
2859 {
2860     PyObject *sipParseErr = SIP_NULLPTR;
2861 
2862     {
2863         const  ::wxPropertyGrid *sipCpp;
2864 
2865         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2866         {
2867              ::wxPGCell*sipRes;
2868 
2869             PyErr_Clear();
2870 
2871             Py_BEGIN_ALLOW_THREADS
2872             sipRes = new  ::wxPGCell(sipCpp->GetUnspecifiedValueAppearance());
2873             Py_END_ALLOW_THREADS
2874 
2875             if (PyErr_Occurred())
2876                 return 0;
2877 
2878             return sipConvertFromNewType(sipRes,sipType_wxPGCell,SIP_NULLPTR);
2879         }
2880     }
2881 
2882     /* Raise an exception if the arguments couldn't be parsed. */
2883     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetUnspecifiedValueAppearance, SIP_NULLPTR);
2884 
2885     return SIP_NULLPTR;
2886 }
2887 
2888 
2889 PyDoc_STRVAR(doc_wxPropertyGrid_GetUnspecifiedValueText, "GetUnspecifiedValueText(argFlags=0) -> String\n"
2890 "\n"
2891 "Returns (visual) text representation of the unspecified property\n"
2892 "value.");
2893 
2894 extern "C" {static PyObject *meth_wxPropertyGrid_GetUnspecifiedValueText(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetUnspecifiedValueText(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2895 static PyObject *meth_wxPropertyGrid_GetUnspecifiedValueText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2896 {
2897     PyObject *sipParseErr = SIP_NULLPTR;
2898 
2899     {
2900         int argFlags = 0;
2901         const  ::wxPropertyGrid *sipCpp;
2902 
2903         static const char *sipKwdList[] = {
2904             sipName_argFlags,
2905         };
2906 
2907         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &argFlags))
2908         {
2909              ::wxString*sipRes;
2910 
2911             PyErr_Clear();
2912 
2913             Py_BEGIN_ALLOW_THREADS
2914             sipRes = new  ::wxString(sipCpp->GetUnspecifiedValueText(argFlags));
2915             Py_END_ALLOW_THREADS
2916 
2917             if (PyErr_Occurred())
2918                 return 0;
2919 
2920             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2921         }
2922     }
2923 
2924     /* Raise an exception if the arguments couldn't be parsed. */
2925     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetUnspecifiedValueText, SIP_NULLPTR);
2926 
2927     return SIP_NULLPTR;
2928 }
2929 
2930 
2931 PyDoc_STRVAR(doc_wxPropertyGrid_GetVerticalSpacing, "GetVerticalSpacing() -> int\n"
2932 "\n"
2933 "Returns current vertical spacing.");
2934 
2935 extern "C" {static PyObject *meth_wxPropertyGrid_GetVerticalSpacing(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetVerticalSpacing(PyObject * sipSelf,PyObject * sipArgs)2936 static PyObject *meth_wxPropertyGrid_GetVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
2937 {
2938     PyObject *sipParseErr = SIP_NULLPTR;
2939 
2940     {
2941         const  ::wxPropertyGrid *sipCpp;
2942 
2943         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
2944         {
2945             int sipRes;
2946 
2947             PyErr_Clear();
2948 
2949             Py_BEGIN_ALLOW_THREADS
2950             sipRes = sipCpp->GetVerticalSpacing();
2951             Py_END_ALLOW_THREADS
2952 
2953             if (PyErr_Occurred())
2954                 return 0;
2955 
2956             return SIPLong_FromLong(sipRes);
2957         }
2958     }
2959 
2960     /* Raise an exception if the arguments couldn't be parsed. */
2961     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetVerticalSpacing, SIP_NULLPTR);
2962 
2963     return SIP_NULLPTR;
2964 }
2965 
2966 
2967 PyDoc_STRVAR(doc_wxPropertyGrid_HitTest, "HitTest(pt) -> PropertyGridHitTestResult\n"
2968 "\n"
2969 "Returns information about arbitrary position in the grid.");
2970 
2971 extern "C" {static PyObject *meth_wxPropertyGrid_HitTest(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_HitTest(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2972 static PyObject *meth_wxPropertyGrid_HitTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2973 {
2974     PyObject *sipParseErr = SIP_NULLPTR;
2975 
2976     {
2977         const  ::wxPoint* pt;
2978         int ptState = 0;
2979         const  ::wxPropertyGrid *sipCpp;
2980 
2981         static const char *sipKwdList[] = {
2982             sipName_pt,
2983         };
2984 
2985         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPoint, &pt, &ptState))
2986         {
2987              ::wxPropertyGridHitTestResult*sipRes;
2988 
2989             PyErr_Clear();
2990 
2991             Py_BEGIN_ALLOW_THREADS
2992             sipRes = new  ::wxPropertyGridHitTestResult(sipCpp->HitTest(*pt));
2993             Py_END_ALLOW_THREADS
2994             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
2995 
2996             if (PyErr_Occurred())
2997                 return 0;
2998 
2999             return sipConvertFromNewType(sipRes,sipType_wxPropertyGridHitTestResult,SIP_NULLPTR);
3000         }
3001     }
3002 
3003     /* Raise an exception if the arguments couldn't be parsed. */
3004     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_HitTest, SIP_NULLPTR);
3005 
3006     return SIP_NULLPTR;
3007 }
3008 
3009 
3010 PyDoc_STRVAR(doc_wxPropertyGrid_IsAnyModified, "IsAnyModified() -> bool\n"
3011 "\n"
3012 "Returns true if any property has been modified by the user.");
3013 
3014 extern "C" {static PyObject *meth_wxPropertyGrid_IsAnyModified(PyObject *, PyObject *);}
meth_wxPropertyGrid_IsAnyModified(PyObject * sipSelf,PyObject * sipArgs)3015 static PyObject *meth_wxPropertyGrid_IsAnyModified(PyObject *sipSelf, PyObject *sipArgs)
3016 {
3017     PyObject *sipParseErr = SIP_NULLPTR;
3018 
3019     {
3020         const  ::wxPropertyGrid *sipCpp;
3021 
3022         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
3023         {
3024             bool sipRes;
3025 
3026             PyErr_Clear();
3027 
3028             Py_BEGIN_ALLOW_THREADS
3029             sipRes = sipCpp->IsAnyModified();
3030             Py_END_ALLOW_THREADS
3031 
3032             if (PyErr_Occurred())
3033                 return 0;
3034 
3035             return PyBool_FromLong(sipRes);
3036         }
3037     }
3038 
3039     /* Raise an exception if the arguments couldn't be parsed. */
3040     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_IsAnyModified, SIP_NULLPTR);
3041 
3042     return SIP_NULLPTR;
3043 }
3044 
3045 
3046 PyDoc_STRVAR(doc_wxPropertyGrid_IsEditorFocused, "IsEditorFocused() -> bool\n"
3047 "\n"
3048 "Returns true if a property editor control has focus.");
3049 
3050 extern "C" {static PyObject *meth_wxPropertyGrid_IsEditorFocused(PyObject *, PyObject *);}
meth_wxPropertyGrid_IsEditorFocused(PyObject * sipSelf,PyObject * sipArgs)3051 static PyObject *meth_wxPropertyGrid_IsEditorFocused(PyObject *sipSelf, PyObject *sipArgs)
3052 {
3053     PyObject *sipParseErr = SIP_NULLPTR;
3054 
3055     {
3056         const  ::wxPropertyGrid *sipCpp;
3057 
3058         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
3059         {
3060             bool sipRes;
3061 
3062             PyErr_Clear();
3063 
3064             Py_BEGIN_ALLOW_THREADS
3065             sipRes = sipCpp->IsEditorFocused();
3066             Py_END_ALLOW_THREADS
3067 
3068             if (PyErr_Occurred())
3069                 return 0;
3070 
3071             return PyBool_FromLong(sipRes);
3072         }
3073     }
3074 
3075     /* Raise an exception if the arguments couldn't be parsed. */
3076     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_IsEditorFocused, SIP_NULLPTR);
3077 
3078     return SIP_NULLPTR;
3079 }
3080 
3081 
3082 PyDoc_STRVAR(doc_wxPropertyGrid_IsFrozen, "IsFrozen() -> bool\n"
3083 "\n"
3084 "Returns true if updating is frozen (ie.");
3085 
3086 extern "C" {static PyObject *meth_wxPropertyGrid_IsFrozen(PyObject *, PyObject *);}
meth_wxPropertyGrid_IsFrozen(PyObject * sipSelf,PyObject * sipArgs)3087 static PyObject *meth_wxPropertyGrid_IsFrozen(PyObject *sipSelf, PyObject *sipArgs)
3088 {
3089     PyObject *sipParseErr = SIP_NULLPTR;
3090 
3091     {
3092         const  ::wxPropertyGrid *sipCpp;
3093 
3094         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
3095         {
3096             bool sipRes;
3097 
3098             PyErr_Clear();
3099 
3100             Py_BEGIN_ALLOW_THREADS
3101             sipRes = sipCpp->IsFrozen();
3102             Py_END_ALLOW_THREADS
3103 
3104             if (PyErr_Occurred())
3105                 return 0;
3106 
3107             return PyBool_FromLong(sipRes);
3108         }
3109     }
3110 
3111     /* Raise an exception if the arguments couldn't be parsed. */
3112     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_IsFrozen, SIP_NULLPTR);
3113 
3114     return SIP_NULLPTR;
3115 }
3116 
3117 
3118 PyDoc_STRVAR(doc_wxPropertyGrid_MakeColumnEditable, "MakeColumnEditable(column, editable=True)\n"
3119 "\n"
3120 "Makes given column editable by user.");
3121 
3122 extern "C" {static PyObject *meth_wxPropertyGrid_MakeColumnEditable(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_MakeColumnEditable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3123 static PyObject *meth_wxPropertyGrid_MakeColumnEditable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3124 {
3125     PyObject *sipParseErr = SIP_NULLPTR;
3126 
3127     {
3128         uint column;
3129         bool editable = 1;
3130          ::wxPropertyGrid *sipCpp;
3131 
3132         static const char *sipKwdList[] = {
3133             sipName_column,
3134             sipName_editable,
3135         };
3136 
3137         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &column, &editable))
3138         {
3139             PyErr_Clear();
3140 
3141             Py_BEGIN_ALLOW_THREADS
3142             sipCpp->MakeColumnEditable(column,editable);
3143             Py_END_ALLOW_THREADS
3144 
3145             if (PyErr_Occurred())
3146                 return 0;
3147 
3148             Py_INCREF(Py_None);
3149             return Py_None;
3150         }
3151     }
3152 
3153     /* Raise an exception if the arguments couldn't be parsed. */
3154     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_MakeColumnEditable, SIP_NULLPTR);
3155 
3156     return SIP_NULLPTR;
3157 }
3158 
3159 
3160 PyDoc_STRVAR(doc_wxPropertyGrid_OnTLPChanging, "OnTLPChanging(newTLP)\n"
3161 "\n"
3162 "It is recommended that you call this function any time your code\n"
3163 "causes wxPropertyGrid's top-level parent to change.");
3164 
3165 extern "C" {static PyObject *meth_wxPropertyGrid_OnTLPChanging(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_OnTLPChanging(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3166 static PyObject *meth_wxPropertyGrid_OnTLPChanging(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3167 {
3168     PyObject *sipParseErr = SIP_NULLPTR;
3169 
3170     {
3171          ::wxWindow* newTLP;
3172          ::wxPropertyGrid *sipCpp;
3173 
3174         static const char *sipKwdList[] = {
3175             sipName_newTLP,
3176         };
3177 
3178         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxWindow, &newTLP))
3179         {
3180             PyErr_Clear();
3181 
3182             Py_BEGIN_ALLOW_THREADS
3183             sipCpp->OnTLPChanging(newTLP);
3184             Py_END_ALLOW_THREADS
3185 
3186             if (PyErr_Occurred())
3187                 return 0;
3188 
3189             Py_INCREF(Py_None);
3190             return Py_None;
3191         }
3192     }
3193 
3194     /* Raise an exception if the arguments couldn't be parsed. */
3195     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_OnTLPChanging, SIP_NULLPTR);
3196 
3197     return SIP_NULLPTR;
3198 }
3199 
3200 
3201 PyDoc_STRVAR(doc_wxPropertyGrid_RefreshEditor, "RefreshEditor()\n"
3202 "\n"
3203 "Refreshes any active editor control.");
3204 
3205 extern "C" {static PyObject *meth_wxPropertyGrid_RefreshEditor(PyObject *, PyObject *);}
meth_wxPropertyGrid_RefreshEditor(PyObject * sipSelf,PyObject * sipArgs)3206 static PyObject *meth_wxPropertyGrid_RefreshEditor(PyObject *sipSelf, PyObject *sipArgs)
3207 {
3208     PyObject *sipParseErr = SIP_NULLPTR;
3209 
3210     {
3211          ::wxPropertyGrid *sipCpp;
3212 
3213         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
3214         {
3215             PyErr_Clear();
3216 
3217             Py_BEGIN_ALLOW_THREADS
3218             sipCpp->RefreshEditor();
3219             Py_END_ALLOW_THREADS
3220 
3221             if (PyErr_Occurred())
3222                 return 0;
3223 
3224             Py_INCREF(Py_None);
3225             return Py_None;
3226         }
3227     }
3228 
3229     /* Raise an exception if the arguments couldn't be parsed. */
3230     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_RefreshEditor, SIP_NULLPTR);
3231 
3232     return SIP_NULLPTR;
3233 }
3234 
3235 
3236 PyDoc_STRVAR(doc_wxPropertyGrid_RefreshProperty, "RefreshProperty(p)\n"
3237 "\n"
3238 "Redraws given property.");
3239 
3240 extern "C" {static PyObject *meth_wxPropertyGrid_RefreshProperty(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_RefreshProperty(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3241 static PyObject *meth_wxPropertyGrid_RefreshProperty(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3242 {
3243     PyObject *sipParseErr = SIP_NULLPTR;
3244 
3245     {
3246          ::wxPGProperty* p;
3247          ::wxPropertyGrid *sipCpp;
3248 
3249         static const char *sipKwdList[] = {
3250             sipName_p,
3251         };
3252 
3253         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGProperty, &p))
3254         {
3255             PyErr_Clear();
3256 
3257             Py_BEGIN_ALLOW_THREADS
3258             sipCpp->RefreshProperty(p);
3259             Py_END_ALLOW_THREADS
3260 
3261             if (PyErr_Occurred())
3262                 return 0;
3263 
3264             Py_INCREF(Py_None);
3265             return Py_None;
3266         }
3267     }
3268 
3269     /* Raise an exception if the arguments couldn't be parsed. */
3270     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_RefreshProperty, SIP_NULLPTR);
3271 
3272     return SIP_NULLPTR;
3273 }
3274 
3275 
3276 PyDoc_STRVAR(doc_wxPropertyGrid_ResetColours, "ResetColours()\n"
3277 "\n"
3278 "Resets all colours to the original system values.");
3279 
3280 extern "C" {static PyObject *meth_wxPropertyGrid_ResetColours(PyObject *, PyObject *);}
meth_wxPropertyGrid_ResetColours(PyObject * sipSelf,PyObject * sipArgs)3281 static PyObject *meth_wxPropertyGrid_ResetColours(PyObject *sipSelf, PyObject *sipArgs)
3282 {
3283     PyObject *sipParseErr = SIP_NULLPTR;
3284 
3285     {
3286          ::wxPropertyGrid *sipCpp;
3287 
3288         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
3289         {
3290             PyErr_Clear();
3291 
3292             Py_BEGIN_ALLOW_THREADS
3293             sipCpp->ResetColours();
3294             Py_END_ALLOW_THREADS
3295 
3296             if (PyErr_Occurred())
3297                 return 0;
3298 
3299             Py_INCREF(Py_None);
3300             return Py_None;
3301         }
3302     }
3303 
3304     /* Raise an exception if the arguments couldn't be parsed. */
3305     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ResetColours, SIP_NULLPTR);
3306 
3307     return SIP_NULLPTR;
3308 }
3309 
3310 
3311 PyDoc_STRVAR(doc_wxPropertyGrid_ResetColumnSizes, "ResetColumnSizes(enableAutoResizing=False)\n"
3312 "\n"
3313 "Resets column sizes and splitter positions, based on proportions.");
3314 
3315 extern "C" {static PyObject *meth_wxPropertyGrid_ResetColumnSizes(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_ResetColumnSizes(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3316 static PyObject *meth_wxPropertyGrid_ResetColumnSizes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3317 {
3318     PyObject *sipParseErr = SIP_NULLPTR;
3319 
3320     {
3321         bool enableAutoResizing = 0;
3322          ::wxPropertyGrid *sipCpp;
3323 
3324         static const char *sipKwdList[] = {
3325             sipName_enableAutoResizing,
3326         };
3327 
3328         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &enableAutoResizing))
3329         {
3330             PyErr_Clear();
3331 
3332             Py_BEGIN_ALLOW_THREADS
3333             sipCpp->ResetColumnSizes(enableAutoResizing);
3334             Py_END_ALLOW_THREADS
3335 
3336             if (PyErr_Occurred())
3337                 return 0;
3338 
3339             Py_INCREF(Py_None);
3340             return Py_None;
3341         }
3342     }
3343 
3344     /* Raise an exception if the arguments couldn't be parsed. */
3345     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ResetColumnSizes, SIP_NULLPTR);
3346 
3347     return SIP_NULLPTR;
3348 }
3349 
3350 
3351 PyDoc_STRVAR(doc_wxPropertyGrid_RemoveFromSelection, "RemoveFromSelection(id) -> bool\n"
3352 "\n"
3353 "Removes given property from selection.");
3354 
3355 extern "C" {static PyObject *meth_wxPropertyGrid_RemoveFromSelection(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_RemoveFromSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3356 static PyObject *meth_wxPropertyGrid_RemoveFromSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3357 {
3358     PyObject *sipParseErr = SIP_NULLPTR;
3359 
3360     {
3361         const  ::wxPGPropArgCls* id;
3362         int idState = 0;
3363          ::wxPropertyGrid *sipCpp;
3364 
3365         static const char *sipKwdList[] = {
3366             sipName_id,
3367         };
3368 
3369         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState))
3370         {
3371             bool sipRes;
3372 
3373             PyErr_Clear();
3374 
3375             Py_BEGIN_ALLOW_THREADS
3376             sipRes = sipCpp->RemoveFromSelection(*id);
3377             Py_END_ALLOW_THREADS
3378             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
3379 
3380             if (PyErr_Occurred())
3381                 return 0;
3382 
3383             return PyBool_FromLong(sipRes);
3384         }
3385     }
3386 
3387     /* Raise an exception if the arguments couldn't be parsed. */
3388     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_RemoveFromSelection, SIP_NULLPTR);
3389 
3390     return SIP_NULLPTR;
3391 }
3392 
3393 
3394 PyDoc_STRVAR(doc_wxPropertyGrid_SelectProperty, "SelectProperty(id, focus=False) -> bool\n"
3395 "\n"
3396 "Selects a property.");
3397 
3398 extern "C" {static PyObject *meth_wxPropertyGrid_SelectProperty(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SelectProperty(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3399 static PyObject *meth_wxPropertyGrid_SelectProperty(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3400 {
3401     PyObject *sipParseErr = SIP_NULLPTR;
3402 
3403     {
3404         const  ::wxPGPropArgCls* id;
3405         int idState = 0;
3406         bool focus = 0;
3407          ::wxPropertyGrid *sipCpp;
3408 
3409         static const char *sipKwdList[] = {
3410             sipName_id,
3411             sipName_focus,
3412         };
3413 
3414         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState, &focus))
3415         {
3416             bool sipRes;
3417 
3418             PyErr_Clear();
3419 
3420             Py_BEGIN_ALLOW_THREADS
3421             sipRes = sipCpp->SelectProperty(*id,focus);
3422             Py_END_ALLOW_THREADS
3423             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
3424 
3425             if (PyErr_Occurred())
3426                 return 0;
3427 
3428             return PyBool_FromLong(sipRes);
3429         }
3430     }
3431 
3432     /* Raise an exception if the arguments couldn't be parsed. */
3433     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SelectProperty, SIP_NULLPTR);
3434 
3435     return SIP_NULLPTR;
3436 }
3437 
3438 
3439 PyDoc_STRVAR(doc_wxPropertyGrid_SetCaptionBackgroundColour, "SetCaptionBackgroundColour(col)\n"
3440 "\n"
3441 "Sets category caption background colour.");
3442 
3443 extern "C" {static PyObject *meth_wxPropertyGrid_SetCaptionBackgroundColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCaptionBackgroundColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3444 static PyObject *meth_wxPropertyGrid_SetCaptionBackgroundColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3445 {
3446     PyObject *sipParseErr = SIP_NULLPTR;
3447 
3448     {
3449         const  ::wxColour* col;
3450         int colState = 0;
3451          ::wxPropertyGrid *sipCpp;
3452 
3453         static const char *sipKwdList[] = {
3454             sipName_col,
3455         };
3456 
3457         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3458         {
3459             PyErr_Clear();
3460 
3461             Py_BEGIN_ALLOW_THREADS
3462             sipCpp->SetCaptionBackgroundColour(*col);
3463             Py_END_ALLOW_THREADS
3464             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3465 
3466             if (PyErr_Occurred())
3467                 return 0;
3468 
3469             Py_INCREF(Py_None);
3470             return Py_None;
3471         }
3472     }
3473 
3474     /* Raise an exception if the arguments couldn't be parsed. */
3475     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCaptionBackgroundColour, SIP_NULLPTR);
3476 
3477     return SIP_NULLPTR;
3478 }
3479 
3480 
3481 PyDoc_STRVAR(doc_wxPropertyGrid_SetCaptionTextColour, "SetCaptionTextColour(col)\n"
3482 "\n"
3483 "Sets category caption text colour.");
3484 
3485 extern "C" {static PyObject *meth_wxPropertyGrid_SetCaptionTextColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCaptionTextColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3486 static PyObject *meth_wxPropertyGrid_SetCaptionTextColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3487 {
3488     PyObject *sipParseErr = SIP_NULLPTR;
3489 
3490     {
3491         const  ::wxColour* col;
3492         int colState = 0;
3493          ::wxPropertyGrid *sipCpp;
3494 
3495         static const char *sipKwdList[] = {
3496             sipName_col,
3497         };
3498 
3499         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3500         {
3501             PyErr_Clear();
3502 
3503             Py_BEGIN_ALLOW_THREADS
3504             sipCpp->SetCaptionTextColour(*col);
3505             Py_END_ALLOW_THREADS
3506             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3507 
3508             if (PyErr_Occurred())
3509                 return 0;
3510 
3511             Py_INCREF(Py_None);
3512             return Py_None;
3513         }
3514     }
3515 
3516     /* Raise an exception if the arguments couldn't be parsed. */
3517     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCaptionTextColour, SIP_NULLPTR);
3518 
3519     return SIP_NULLPTR;
3520 }
3521 
3522 
3523 PyDoc_STRVAR(doc_wxPropertyGrid_SetCellBackgroundColour, "SetCellBackgroundColour(col)\n"
3524 "\n"
3525 "Sets default cell background colour - applies to property cells.");
3526 
3527 extern "C" {static PyObject *meth_wxPropertyGrid_SetCellBackgroundColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCellBackgroundColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3528 static PyObject *meth_wxPropertyGrid_SetCellBackgroundColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3529 {
3530     PyObject *sipParseErr = SIP_NULLPTR;
3531 
3532     {
3533         const  ::wxColour* col;
3534         int colState = 0;
3535          ::wxPropertyGrid *sipCpp;
3536 
3537         static const char *sipKwdList[] = {
3538             sipName_col,
3539         };
3540 
3541         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3542         {
3543             PyErr_Clear();
3544 
3545             Py_BEGIN_ALLOW_THREADS
3546             sipCpp->SetCellBackgroundColour(*col);
3547             Py_END_ALLOW_THREADS
3548             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3549 
3550             if (PyErr_Occurred())
3551                 return 0;
3552 
3553             Py_INCREF(Py_None);
3554             return Py_None;
3555         }
3556     }
3557 
3558     /* Raise an exception if the arguments couldn't be parsed. */
3559     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCellBackgroundColour, SIP_NULLPTR);
3560 
3561     return SIP_NULLPTR;
3562 }
3563 
3564 
3565 PyDoc_STRVAR(doc_wxPropertyGrid_SetCellDisabledTextColour, "SetCellDisabledTextColour(col)\n"
3566 "\n"
3567 "Sets cell text colour for disabled properties.");
3568 
3569 extern "C" {static PyObject *meth_wxPropertyGrid_SetCellDisabledTextColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCellDisabledTextColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3570 static PyObject *meth_wxPropertyGrid_SetCellDisabledTextColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3571 {
3572     PyObject *sipParseErr = SIP_NULLPTR;
3573 
3574     {
3575         const  ::wxColour* col;
3576         int colState = 0;
3577          ::wxPropertyGrid *sipCpp;
3578 
3579         static const char *sipKwdList[] = {
3580             sipName_col,
3581         };
3582 
3583         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3584         {
3585             PyErr_Clear();
3586 
3587             Py_BEGIN_ALLOW_THREADS
3588             sipCpp->SetCellDisabledTextColour(*col);
3589             Py_END_ALLOW_THREADS
3590             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3591 
3592             if (PyErr_Occurred())
3593                 return 0;
3594 
3595             Py_INCREF(Py_None);
3596             return Py_None;
3597         }
3598     }
3599 
3600     /* Raise an exception if the arguments couldn't be parsed. */
3601     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCellDisabledTextColour, SIP_NULLPTR);
3602 
3603     return SIP_NULLPTR;
3604 }
3605 
3606 
3607 PyDoc_STRVAR(doc_wxPropertyGrid_SetCellTextColour, "SetCellTextColour(col)\n"
3608 "\n"
3609 "Sets default cell text colour - applies to property name and value\n"
3610 "text.");
3611 
3612 extern "C" {static PyObject *meth_wxPropertyGrid_SetCellTextColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCellTextColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3613 static PyObject *meth_wxPropertyGrid_SetCellTextColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3614 {
3615     PyObject *sipParseErr = SIP_NULLPTR;
3616 
3617     {
3618         const  ::wxColour* col;
3619         int colState = 0;
3620          ::wxPropertyGrid *sipCpp;
3621 
3622         static const char *sipKwdList[] = {
3623             sipName_col,
3624         };
3625 
3626         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3627         {
3628             PyErr_Clear();
3629 
3630             Py_BEGIN_ALLOW_THREADS
3631             sipCpp->SetCellTextColour(*col);
3632             Py_END_ALLOW_THREADS
3633             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3634 
3635             if (PyErr_Occurred())
3636                 return 0;
3637 
3638             Py_INCREF(Py_None);
3639             return Py_None;
3640         }
3641     }
3642 
3643     /* Raise an exception if the arguments couldn't be parsed. */
3644     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCellTextColour, SIP_NULLPTR);
3645 
3646     return SIP_NULLPTR;
3647 }
3648 
3649 
3650 PyDoc_STRVAR(doc_wxPropertyGrid_SetColumnCount, "SetColumnCount(colCount)\n"
3651 "\n"
3652 "Set number of columns (2 or more).");
3653 
3654 extern "C" {static PyObject *meth_wxPropertyGrid_SetColumnCount(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetColumnCount(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3655 static PyObject *meth_wxPropertyGrid_SetColumnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3656 {
3657     PyObject *sipParseErr = SIP_NULLPTR;
3658 
3659     {
3660         int colCount;
3661          ::wxPropertyGrid *sipCpp;
3662 
3663         static const char *sipKwdList[] = {
3664             sipName_colCount,
3665         };
3666 
3667         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &colCount))
3668         {
3669             PyErr_Clear();
3670 
3671             Py_BEGIN_ALLOW_THREADS
3672             sipCpp->SetColumnCount(colCount);
3673             Py_END_ALLOW_THREADS
3674 
3675             if (PyErr_Occurred())
3676                 return 0;
3677 
3678             Py_INCREF(Py_None);
3679             return Py_None;
3680         }
3681     }
3682 
3683     /* Raise an exception if the arguments couldn't be parsed. */
3684     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetColumnCount, SIP_NULLPTR);
3685 
3686     return SIP_NULLPTR;
3687 }
3688 
3689 
3690 PyDoc_STRVAR(doc_wxPropertyGrid_SetCurrentCategory, "SetCurrentCategory(id)\n"
3691 "\n"
3692 "Sets the 'current' category - Append will add non-category properties\n"
3693 "under it.");
3694 
3695 extern "C" {static PyObject *meth_wxPropertyGrid_SetCurrentCategory(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCurrentCategory(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3696 static PyObject *meth_wxPropertyGrid_SetCurrentCategory(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3697 {
3698     PyObject *sipParseErr = SIP_NULLPTR;
3699 
3700     {
3701         const  ::wxPGPropArgCls* id;
3702         int idState = 0;
3703          ::wxPropertyGrid *sipCpp;
3704 
3705         static const char *sipKwdList[] = {
3706             sipName_id,
3707         };
3708 
3709         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGPropArgCls, &id, &idState))
3710         {
3711             PyErr_Clear();
3712 
3713             Py_BEGIN_ALLOW_THREADS
3714             sipCpp->SetCurrentCategory(*id);
3715             Py_END_ALLOW_THREADS
3716             sipReleaseType(const_cast< ::wxPGPropArgCls *>(id),sipType_wxPGPropArgCls,idState);
3717 
3718             if (PyErr_Occurred())
3719                 return 0;
3720 
3721             Py_INCREF(Py_None);
3722             return Py_None;
3723         }
3724     }
3725 
3726     /* Raise an exception if the arguments couldn't be parsed. */
3727     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCurrentCategory, SIP_NULLPTR);
3728 
3729     return SIP_NULLPTR;
3730 }
3731 
3732 
3733 PyDoc_STRVAR(doc_wxPropertyGrid_SetEmptySpaceColour, "SetEmptySpaceColour(col)\n"
3734 "\n"
3735 "Sets colour of empty space below properties.");
3736 
3737 extern "C" {static PyObject *meth_wxPropertyGrid_SetEmptySpaceColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetEmptySpaceColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3738 static PyObject *meth_wxPropertyGrid_SetEmptySpaceColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3739 {
3740     PyObject *sipParseErr = SIP_NULLPTR;
3741 
3742     {
3743         const  ::wxColour* col;
3744         int colState = 0;
3745          ::wxPropertyGrid *sipCpp;
3746 
3747         static const char *sipKwdList[] = {
3748             sipName_col,
3749         };
3750 
3751         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3752         {
3753             PyErr_Clear();
3754 
3755             Py_BEGIN_ALLOW_THREADS
3756             sipCpp->SetEmptySpaceColour(*col);
3757             Py_END_ALLOW_THREADS
3758             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3759 
3760             if (PyErr_Occurred())
3761                 return 0;
3762 
3763             Py_INCREF(Py_None);
3764             return Py_None;
3765         }
3766     }
3767 
3768     /* Raise an exception if the arguments couldn't be parsed. */
3769     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetEmptySpaceColour, SIP_NULLPTR);
3770 
3771     return SIP_NULLPTR;
3772 }
3773 
3774 
3775 PyDoc_STRVAR(doc_wxPropertyGrid_SetLineColour, "SetLineColour(col)\n"
3776 "\n"
3777 "Sets colour of lines between cells.");
3778 
3779 extern "C" {static PyObject *meth_wxPropertyGrid_SetLineColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetLineColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3780 static PyObject *meth_wxPropertyGrid_SetLineColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3781 {
3782     PyObject *sipParseErr = SIP_NULLPTR;
3783 
3784     {
3785         const  ::wxColour* col;
3786         int colState = 0;
3787          ::wxPropertyGrid *sipCpp;
3788 
3789         static const char *sipKwdList[] = {
3790             sipName_col,
3791         };
3792 
3793         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3794         {
3795             PyErr_Clear();
3796 
3797             Py_BEGIN_ALLOW_THREADS
3798             sipCpp->SetLineColour(*col);
3799             Py_END_ALLOW_THREADS
3800             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3801 
3802             if (PyErr_Occurred())
3803                 return 0;
3804 
3805             Py_INCREF(Py_None);
3806             return Py_None;
3807         }
3808     }
3809 
3810     /* Raise an exception if the arguments couldn't be parsed. */
3811     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetLineColour, SIP_NULLPTR);
3812 
3813     return SIP_NULLPTR;
3814 }
3815 
3816 
3817 PyDoc_STRVAR(doc_wxPropertyGrid_SetMarginColour, "SetMarginColour(col)\n"
3818 "\n"
3819 "Sets background colour of margin.");
3820 
3821 extern "C" {static PyObject *meth_wxPropertyGrid_SetMarginColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetMarginColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3822 static PyObject *meth_wxPropertyGrid_SetMarginColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3823 {
3824     PyObject *sipParseErr = SIP_NULLPTR;
3825 
3826     {
3827         const  ::wxColour* col;
3828         int colState = 0;
3829          ::wxPropertyGrid *sipCpp;
3830 
3831         static const char *sipKwdList[] = {
3832             sipName_col,
3833         };
3834 
3835         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3836         {
3837             PyErr_Clear();
3838 
3839             Py_BEGIN_ALLOW_THREADS
3840             sipCpp->SetMarginColour(*col);
3841             Py_END_ALLOW_THREADS
3842             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3843 
3844             if (PyErr_Occurred())
3845                 return 0;
3846 
3847             Py_INCREF(Py_None);
3848             return Py_None;
3849         }
3850     }
3851 
3852     /* Raise an exception if the arguments couldn't be parsed. */
3853     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetMarginColour, SIP_NULLPTR);
3854 
3855     return SIP_NULLPTR;
3856 }
3857 
3858 
3859 PyDoc_STRVAR(doc_wxPropertyGrid_SetSelection, "SetSelection(newSelection)\n"
3860 "\n"
3861 "Set entire new selection from given list of properties.");
3862 
3863 extern "C" {static PyObject *meth_wxPropertyGrid_SetSelection(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3864 static PyObject *meth_wxPropertyGrid_SetSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3865 {
3866     PyObject *sipParseErr = SIP_NULLPTR;
3867 
3868     {
3869         const  ::wxArrayPGProperty* newSelection;
3870          ::wxPropertyGrid *sipCpp;
3871 
3872         static const char *sipKwdList[] = {
3873             sipName_newSelection,
3874         };
3875 
3876         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxArrayPGProperty, &newSelection))
3877         {
3878             PyErr_Clear();
3879 
3880             Py_BEGIN_ALLOW_THREADS
3881             sipCpp->SetSelection(*newSelection);
3882             Py_END_ALLOW_THREADS
3883 
3884             if (PyErr_Occurred())
3885                 return 0;
3886 
3887             Py_INCREF(Py_None);
3888             return Py_None;
3889         }
3890     }
3891 
3892     /* Raise an exception if the arguments couldn't be parsed. */
3893     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetSelection, SIP_NULLPTR);
3894 
3895     return SIP_NULLPTR;
3896 }
3897 
3898 
3899 PyDoc_STRVAR(doc_wxPropertyGrid_SetSelectionBackgroundColour, "SetSelectionBackgroundColour(col)\n"
3900 "\n"
3901 "Sets selection background colour - applies to selected property name\n"
3902 "background.");
3903 
3904 extern "C" {static PyObject *meth_wxPropertyGrid_SetSelectionBackgroundColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetSelectionBackgroundColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3905 static PyObject *meth_wxPropertyGrid_SetSelectionBackgroundColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3906 {
3907     PyObject *sipParseErr = SIP_NULLPTR;
3908 
3909     {
3910         const  ::wxColour* col;
3911         int colState = 0;
3912          ::wxPropertyGrid *sipCpp;
3913 
3914         static const char *sipKwdList[] = {
3915             sipName_col,
3916         };
3917 
3918         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3919         {
3920             PyErr_Clear();
3921 
3922             Py_BEGIN_ALLOW_THREADS
3923             sipCpp->SetSelectionBackgroundColour(*col);
3924             Py_END_ALLOW_THREADS
3925             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3926 
3927             if (PyErr_Occurred())
3928                 return 0;
3929 
3930             Py_INCREF(Py_None);
3931             return Py_None;
3932         }
3933     }
3934 
3935     /* Raise an exception if the arguments couldn't be parsed. */
3936     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetSelectionBackgroundColour, SIP_NULLPTR);
3937 
3938     return SIP_NULLPTR;
3939 }
3940 
3941 
3942 PyDoc_STRVAR(doc_wxPropertyGrid_SetSelectionTextColour, "SetSelectionTextColour(col)\n"
3943 "\n"
3944 "Sets selection foreground colour - applies to selected property name\n"
3945 "text.");
3946 
3947 extern "C" {static PyObject *meth_wxPropertyGrid_SetSelectionTextColour(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetSelectionTextColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3948 static PyObject *meth_wxPropertyGrid_SetSelectionTextColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3949 {
3950     PyObject *sipParseErr = SIP_NULLPTR;
3951 
3952     {
3953         const  ::wxColour* col;
3954         int colState = 0;
3955          ::wxPropertyGrid *sipCpp;
3956 
3957         static const char *sipKwdList[] = {
3958             sipName_col,
3959         };
3960 
3961         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxColour, &col, &colState))
3962         {
3963             PyErr_Clear();
3964 
3965             Py_BEGIN_ALLOW_THREADS
3966             sipCpp->SetSelectionTextColour(*col);
3967             Py_END_ALLOW_THREADS
3968             sipReleaseType(const_cast< ::wxColour *>(col),sipType_wxColour,colState);
3969 
3970             if (PyErr_Occurred())
3971                 return 0;
3972 
3973             Py_INCREF(Py_None);
3974             return Py_None;
3975         }
3976     }
3977 
3978     /* Raise an exception if the arguments couldn't be parsed. */
3979     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetSelectionTextColour, SIP_NULLPTR);
3980 
3981     return SIP_NULLPTR;
3982 }
3983 
3984 
3985 PyDoc_STRVAR(doc_wxPropertyGrid_SetSplitterPosition, "SetSplitterPosition(newxpos, col=0)\n"
3986 "\n"
3987 "Sets x coordinate of the splitter.");
3988 
3989 extern "C" {static PyObject *meth_wxPropertyGrid_SetSplitterPosition(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetSplitterPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3990 static PyObject *meth_wxPropertyGrid_SetSplitterPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3991 {
3992     PyObject *sipParseErr = SIP_NULLPTR;
3993 
3994     {
3995         int newxpos;
3996         int col = 0;
3997          ::wxPropertyGrid *sipCpp;
3998 
3999         static const char *sipKwdList[] = {
4000             sipName_newxpos,
4001             sipName_col,
4002         };
4003 
4004         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|i", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &newxpos, &col))
4005         {
4006             PyErr_Clear();
4007 
4008             Py_BEGIN_ALLOW_THREADS
4009             sipCpp->SetSplitterPosition(newxpos,col);
4010             Py_END_ALLOW_THREADS
4011 
4012             if (PyErr_Occurred())
4013                 return 0;
4014 
4015             Py_INCREF(Py_None);
4016             return Py_None;
4017         }
4018     }
4019 
4020     /* Raise an exception if the arguments couldn't be parsed. */
4021     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetSplitterPosition, SIP_NULLPTR);
4022 
4023     return SIP_NULLPTR;
4024 }
4025 
4026 
4027 PyDoc_STRVAR(doc_wxPropertyGrid_SetSplitterLeft, "SetSplitterLeft(privateChildrenToo=False)\n"
4028 "\n"
4029 "Moves splitter as left as possible, while still allowing all labels to\n"
4030 "be shown in full.");
4031 
4032 extern "C" {static PyObject *meth_wxPropertyGrid_SetSplitterLeft(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetSplitterLeft(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4033 static PyObject *meth_wxPropertyGrid_SetSplitterLeft(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4034 {
4035     PyObject *sipParseErr = SIP_NULLPTR;
4036 
4037     {
4038         bool privateChildrenToo = 0;
4039          ::wxPropertyGrid *sipCpp;
4040 
4041         static const char *sipKwdList[] = {
4042             sipName_privateChildrenToo,
4043         };
4044 
4045         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &privateChildrenToo))
4046         {
4047             PyErr_Clear();
4048 
4049             Py_BEGIN_ALLOW_THREADS
4050             sipCpp->SetSplitterLeft(privateChildrenToo);
4051             Py_END_ALLOW_THREADS
4052 
4053             if (PyErr_Occurred())
4054                 return 0;
4055 
4056             Py_INCREF(Py_None);
4057             return Py_None;
4058         }
4059     }
4060 
4061     /* Raise an exception if the arguments couldn't be parsed. */
4062     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetSplitterLeft, SIP_NULLPTR);
4063 
4064     return SIP_NULLPTR;
4065 }
4066 
4067 
4068 PyDoc_STRVAR(doc_wxPropertyGrid_SetUnspecifiedValueAppearance, "SetUnspecifiedValueAppearance(cell)\n"
4069 "\n"
4070 "Sets appearance of value cells representing an unspecified property\n"
4071 "value.");
4072 
4073 extern "C" {static PyObject *meth_wxPropertyGrid_SetUnspecifiedValueAppearance(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetUnspecifiedValueAppearance(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4074 static PyObject *meth_wxPropertyGrid_SetUnspecifiedValueAppearance(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4075 {
4076     PyObject *sipParseErr = SIP_NULLPTR;
4077 
4078     {
4079         const  ::wxPGCell* cell;
4080          ::wxPropertyGrid *sipCpp;
4081 
4082         static const char *sipKwdList[] = {
4083             sipName_cell,
4084         };
4085 
4086         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxPGCell, &cell))
4087         {
4088             PyErr_Clear();
4089 
4090             Py_BEGIN_ALLOW_THREADS
4091             sipCpp->SetUnspecifiedValueAppearance(*cell);
4092             Py_END_ALLOW_THREADS
4093 
4094             if (PyErr_Occurred())
4095                 return 0;
4096 
4097             Py_INCREF(Py_None);
4098             return Py_None;
4099         }
4100     }
4101 
4102     /* Raise an exception if the arguments couldn't be parsed. */
4103     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetUnspecifiedValueAppearance, SIP_NULLPTR);
4104 
4105     return SIP_NULLPTR;
4106 }
4107 
4108 
4109 PyDoc_STRVAR(doc_wxPropertyGrid_SetVerticalSpacing, "SetVerticalSpacing(vspacing)\n"
4110 "\n"
4111 "Sets vertical spacing.");
4112 
4113 extern "C" {static PyObject *meth_wxPropertyGrid_SetVerticalSpacing(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetVerticalSpacing(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4114 static PyObject *meth_wxPropertyGrid_SetVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4115 {
4116     PyObject *sipParseErr = SIP_NULLPTR;
4117 
4118     {
4119         int vspacing;
4120          ::wxPropertyGrid *sipCpp;
4121 
4122         static const char *sipKwdList[] = {
4123             sipName_vspacing,
4124         };
4125 
4126         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &vspacing))
4127         {
4128             PyErr_Clear();
4129 
4130             Py_BEGIN_ALLOW_THREADS
4131             sipCpp->SetVerticalSpacing(vspacing);
4132             Py_END_ALLOW_THREADS
4133 
4134             if (PyErr_Occurred())
4135                 return 0;
4136 
4137             Py_INCREF(Py_None);
4138             return Py_None;
4139         }
4140     }
4141 
4142     /* Raise an exception if the arguments couldn't be parsed. */
4143     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetVerticalSpacing, SIP_NULLPTR);
4144 
4145     return SIP_NULLPTR;
4146 }
4147 
4148 
4149 PyDoc_STRVAR(doc_wxPropertyGrid_AutoGetTranslation, "AutoGetTranslation(enable)\n"
4150 "\n"
4151 "This static function enables or disables automatic use of\n"
4152 "wxGetTranslation() for following strings: wxEnumProperty list labels,\n"
4153 "wxFlagsProperty child property labels.");
4154 
4155 extern "C" {static PyObject *meth_wxPropertyGrid_AutoGetTranslation(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_AutoGetTranslation(PyObject *,PyObject * sipArgs,PyObject * sipKwds)4156 static PyObject *meth_wxPropertyGrid_AutoGetTranslation(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
4157 {
4158     PyObject *sipParseErr = SIP_NULLPTR;
4159 
4160     {
4161         bool enable;
4162 
4163         static const char *sipKwdList[] = {
4164             sipName_enable,
4165         };
4166 
4167         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "b", &enable))
4168         {
4169             PyErr_Clear();
4170 
4171             Py_BEGIN_ALLOW_THREADS
4172              ::wxPropertyGrid::AutoGetTranslation(enable);
4173             Py_END_ALLOW_THREADS
4174 
4175             if (PyErr_Occurred())
4176                 return 0;
4177 
4178             Py_INCREF(Py_None);
4179             return Py_None;
4180         }
4181     }
4182 
4183     /* Raise an exception if the arguments couldn't be parsed. */
4184     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AutoGetTranslation, SIP_NULLPTR);
4185 
4186     return SIP_NULLPTR;
4187 }
4188 
4189 
4190 PyDoc_STRVAR(doc_wxPropertyGrid_RegisterEditorClass, "RegisterEditorClass(editor, noDefCheck=False) -> PGEditor\n"
4191 "\n"
4192 "Forwards to DoRegisterEditorClass with empty name.");
4193 
4194 extern "C" {static PyObject *meth_wxPropertyGrid_RegisterEditorClass(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_RegisterEditorClass(PyObject *,PyObject * sipArgs,PyObject * sipKwds)4195 static PyObject *meth_wxPropertyGrid_RegisterEditorClass(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
4196 {
4197     PyObject *sipParseErr = SIP_NULLPTR;
4198 
4199     {
4200          ::wxPGEditor* editor;
4201         bool noDefCheck = 0;
4202 
4203         static const char *sipKwdList[] = {
4204             sipName_editor,
4205             sipName_noDefCheck,
4206         };
4207 
4208         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "J:|b", sipType_wxPGEditor, &editor, &noDefCheck))
4209         {
4210              ::wxPGEditor*sipRes;
4211 
4212             PyErr_Clear();
4213 
4214             Py_BEGIN_ALLOW_THREADS
4215             sipRes =  ::wxPropertyGrid::RegisterEditorClass(editor,noDefCheck);
4216             Py_END_ALLOW_THREADS
4217 
4218             if (PyErr_Occurred())
4219                 return 0;
4220 
4221             return sipConvertFromType(sipRes,sipType_wxPGEditor,SIP_NULLPTR);
4222         }
4223     }
4224 
4225     /* Raise an exception if the arguments couldn't be parsed. */
4226     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_RegisterEditorClass, SIP_NULLPTR);
4227 
4228     return SIP_NULLPTR;
4229 }
4230 
4231 
4232 PyDoc_STRVAR(doc_wxPropertyGrid_DoRegisterEditorClass, "DoRegisterEditorClass(editor, name, noDefCheck=False) -> PGEditor\n"
4233 "\n"
4234 "Registers a new editor class.");
4235 
4236 extern "C" {static PyObject *meth_wxPropertyGrid_DoRegisterEditorClass(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoRegisterEditorClass(PyObject *,PyObject * sipArgs,PyObject * sipKwds)4237 static PyObject *meth_wxPropertyGrid_DoRegisterEditorClass(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
4238 {
4239     PyObject *sipParseErr = SIP_NULLPTR;
4240 
4241     {
4242          ::wxPGEditor* editor;
4243         const  ::wxString* name;
4244         int nameState = 0;
4245         bool noDefCheck = 0;
4246 
4247         static const char *sipKwdList[] = {
4248             sipName_editor,
4249             sipName_name,
4250             sipName_noDefCheck,
4251         };
4252 
4253         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "J:J1|b", sipType_wxPGEditor, &editor, sipType_wxString,&name, &nameState, &noDefCheck))
4254         {
4255              ::wxPGEditor*sipRes;
4256 
4257             PyErr_Clear();
4258 
4259             Py_BEGIN_ALLOW_THREADS
4260             sipRes =  ::wxPropertyGrid::DoRegisterEditorClass(editor,*name,noDefCheck);
4261             Py_END_ALLOW_THREADS
4262             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
4263 
4264             if (PyErr_Occurred())
4265                 return 0;
4266 
4267             return sipConvertFromType(sipRes,sipType_wxPGEditor,SIP_NULLPTR);
4268         }
4269     }
4270 
4271     /* Raise an exception if the arguments couldn't be parsed. */
4272     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoRegisterEditorClass, SIP_NULLPTR);
4273 
4274     return SIP_NULLPTR;
4275 }
4276 
4277 
4278 PyDoc_STRVAR(doc_wxPropertyGrid_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
4279 
4280 extern "C" {static PyObject *meth_wxPropertyGrid_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)4281 static PyObject *meth_wxPropertyGrid_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
4282 {
4283     PyObject *sipParseErr = SIP_NULLPTR;
4284     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4285 
4286     {
4287         const  ::wxPropertyGrid *sipCpp;
4288 
4289         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4290         {
4291              ::wxPoint*sipRes;
4292 
4293             PyErr_Clear();
4294 
4295             Py_BEGIN_ALLOW_THREADS
4296             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
4297             Py_END_ALLOW_THREADS
4298 
4299             if (PyErr_Occurred())
4300                 return 0;
4301 
4302             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
4303         }
4304     }
4305 
4306     /* Raise an exception if the arguments couldn't be parsed. */
4307     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetClientAreaOrigin, doc_wxPropertyGrid_GetClientAreaOrigin);
4308 
4309     return SIP_NULLPTR;
4310 }
4311 
4312 
4313 PyDoc_STRVAR(doc_wxPropertyGrid_Validate, "Validate(self) -> bool");
4314 
4315 extern "C" {static PyObject *meth_wxPropertyGrid_Validate(PyObject *, PyObject *);}
meth_wxPropertyGrid_Validate(PyObject * sipSelf,PyObject * sipArgs)4316 static PyObject *meth_wxPropertyGrid_Validate(PyObject *sipSelf, PyObject *sipArgs)
4317 {
4318     PyObject *sipParseErr = SIP_NULLPTR;
4319     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4320 
4321     {
4322          ::wxPropertyGrid *sipCpp;
4323 
4324         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4325         {
4326             bool sipRes;
4327 
4328             PyErr_Clear();
4329 
4330             Py_BEGIN_ALLOW_THREADS
4331             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::Validate() : sipCpp->Validate());
4332             Py_END_ALLOW_THREADS
4333 
4334             if (PyErr_Occurred())
4335                 return 0;
4336 
4337             return PyBool_FromLong(sipRes);
4338         }
4339     }
4340 
4341     /* Raise an exception if the arguments couldn't be parsed. */
4342     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_Validate, doc_wxPropertyGrid_Validate);
4343 
4344     return SIP_NULLPTR;
4345 }
4346 
4347 
4348 PyDoc_STRVAR(doc_wxPropertyGrid_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
4349 
4350 extern "C" {static PyObject *meth_wxPropertyGrid_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxPropertyGrid_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)4351 static PyObject *meth_wxPropertyGrid_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
4352 {
4353     PyObject *sipParseErr = SIP_NULLPTR;
4354     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4355 
4356     {
4357          ::wxPropertyGrid *sipCpp;
4358 
4359         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4360         {
4361             bool sipRes;
4362 
4363             PyErr_Clear();
4364 
4365             Py_BEGIN_ALLOW_THREADS
4366             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::TransferDataToWindow() : sipCpp->TransferDataToWindow());
4367             Py_END_ALLOW_THREADS
4368 
4369             if (PyErr_Occurred())
4370                 return 0;
4371 
4372             return PyBool_FromLong(sipRes);
4373         }
4374     }
4375 
4376     /* Raise an exception if the arguments couldn't be parsed. */
4377     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_TransferDataToWindow, doc_wxPropertyGrid_TransferDataToWindow);
4378 
4379     return SIP_NULLPTR;
4380 }
4381 
4382 
4383 PyDoc_STRVAR(doc_wxPropertyGrid_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
4384 
4385 extern "C" {static PyObject *meth_wxPropertyGrid_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxPropertyGrid_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)4386 static PyObject *meth_wxPropertyGrid_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
4387 {
4388     PyObject *sipParseErr = SIP_NULLPTR;
4389     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4390 
4391     {
4392          ::wxPropertyGrid *sipCpp;
4393 
4394         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4395         {
4396             bool sipRes;
4397 
4398             PyErr_Clear();
4399 
4400             Py_BEGIN_ALLOW_THREADS
4401             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
4402             Py_END_ALLOW_THREADS
4403 
4404             if (PyErr_Occurred())
4405                 return 0;
4406 
4407             return PyBool_FromLong(sipRes);
4408         }
4409     }
4410 
4411     /* Raise an exception if the arguments couldn't be parsed. */
4412     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_TransferDataFromWindow, doc_wxPropertyGrid_TransferDataFromWindow);
4413 
4414     return SIP_NULLPTR;
4415 }
4416 
4417 
4418 PyDoc_STRVAR(doc_wxPropertyGrid_InitDialog, "InitDialog(self)");
4419 
4420 extern "C" {static PyObject *meth_wxPropertyGrid_InitDialog(PyObject *, PyObject *);}
meth_wxPropertyGrid_InitDialog(PyObject * sipSelf,PyObject * sipArgs)4421 static PyObject *meth_wxPropertyGrid_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
4422 {
4423     PyObject *sipParseErr = SIP_NULLPTR;
4424     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4425 
4426     {
4427          ::wxPropertyGrid *sipCpp;
4428 
4429         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4430         {
4431             PyErr_Clear();
4432 
4433             Py_BEGIN_ALLOW_THREADS
4434             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::InitDialog() : sipCpp->InitDialog());
4435             Py_END_ALLOW_THREADS
4436 
4437             if (PyErr_Occurred())
4438                 return 0;
4439 
4440             Py_INCREF(Py_None);
4441             return Py_None;
4442         }
4443     }
4444 
4445     /* Raise an exception if the arguments couldn't be parsed. */
4446     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_InitDialog, doc_wxPropertyGrid_InitDialog);
4447 
4448     return SIP_NULLPTR;
4449 }
4450 
4451 
4452 PyDoc_STRVAR(doc_wxPropertyGrid_AcceptsFocus, "AcceptsFocus(self) -> bool");
4453 
4454 extern "C" {static PyObject *meth_wxPropertyGrid_AcceptsFocus(PyObject *, PyObject *);}
meth_wxPropertyGrid_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)4455 static PyObject *meth_wxPropertyGrid_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
4456 {
4457     PyObject *sipParseErr = SIP_NULLPTR;
4458     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4459 
4460     {
4461         const  ::wxPropertyGrid *sipCpp;
4462 
4463         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4464         {
4465             bool sipRes;
4466 
4467             PyErr_Clear();
4468 
4469             Py_BEGIN_ALLOW_THREADS
4470             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::AcceptsFocus() : sipCpp->AcceptsFocus());
4471             Py_END_ALLOW_THREADS
4472 
4473             if (PyErr_Occurred())
4474                 return 0;
4475 
4476             return PyBool_FromLong(sipRes);
4477         }
4478     }
4479 
4480     /* Raise an exception if the arguments couldn't be parsed. */
4481     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AcceptsFocus, doc_wxPropertyGrid_AcceptsFocus);
4482 
4483     return SIP_NULLPTR;
4484 }
4485 
4486 
4487 PyDoc_STRVAR(doc_wxPropertyGrid_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
4488 
4489 extern "C" {static PyObject *meth_wxPropertyGrid_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxPropertyGrid_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)4490 static PyObject *meth_wxPropertyGrid_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
4491 {
4492     PyObject *sipParseErr = SIP_NULLPTR;
4493     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4494 
4495     {
4496         const  ::wxPropertyGrid *sipCpp;
4497 
4498         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4499         {
4500             bool sipRes;
4501 
4502             PyErr_Clear();
4503 
4504             Py_BEGIN_ALLOW_THREADS
4505             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
4506             Py_END_ALLOW_THREADS
4507 
4508             if (PyErr_Occurred())
4509                 return 0;
4510 
4511             return PyBool_FromLong(sipRes);
4512         }
4513     }
4514 
4515     /* Raise an exception if the arguments couldn't be parsed. */
4516     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AcceptsFocusRecursively, doc_wxPropertyGrid_AcceptsFocusRecursively);
4517 
4518     return SIP_NULLPTR;
4519 }
4520 
4521 
4522 PyDoc_STRVAR(doc_wxPropertyGrid_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
4523 
4524 extern "C" {static PyObject *meth_wxPropertyGrid_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxPropertyGrid_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)4525 static PyObject *meth_wxPropertyGrid_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
4526 {
4527     PyObject *sipParseErr = SIP_NULLPTR;
4528     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4529 
4530     {
4531         const  ::wxPropertyGrid *sipCpp;
4532 
4533         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4534         {
4535             bool sipRes;
4536 
4537             PyErr_Clear();
4538 
4539             Py_BEGIN_ALLOW_THREADS
4540             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
4541             Py_END_ALLOW_THREADS
4542 
4543             if (PyErr_Occurred())
4544                 return 0;
4545 
4546             return PyBool_FromLong(sipRes);
4547         }
4548     }
4549 
4550     /* Raise an exception if the arguments couldn't be parsed. */
4551     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AcceptsFocusFromKeyboard, doc_wxPropertyGrid_AcceptsFocusFromKeyboard);
4552 
4553     return SIP_NULLPTR;
4554 }
4555 
4556 
4557 PyDoc_STRVAR(doc_wxPropertyGrid_AddChild, "AddChild(self, child: WindowBase)");
4558 
4559 extern "C" {static PyObject *meth_wxPropertyGrid_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4560 static PyObject *meth_wxPropertyGrid_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4561 {
4562     PyObject *sipParseErr = SIP_NULLPTR;
4563     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4564 
4565     {
4566          ::wxWindowBase* child;
4567          ::wxPropertyGrid *sipCpp;
4568 
4569         static const char *sipKwdList[] = {
4570             sipName_child,
4571         };
4572 
4573         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxWindowBase, &child))
4574         {
4575             PyErr_Clear();
4576 
4577             Py_BEGIN_ALLOW_THREADS
4578             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::AddChild(child) : sipCpp->AddChild(child));
4579             Py_END_ALLOW_THREADS
4580 
4581             if (PyErr_Occurred())
4582                 return 0;
4583 
4584             Py_INCREF(Py_None);
4585             return Py_None;
4586         }
4587     }
4588 
4589     /* Raise an exception if the arguments couldn't be parsed. */
4590     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_AddChild, doc_wxPropertyGrid_AddChild);
4591 
4592     return SIP_NULLPTR;
4593 }
4594 
4595 
4596 PyDoc_STRVAR(doc_wxPropertyGrid_RemoveChild, "RemoveChild(self, child: WindowBase)");
4597 
4598 extern "C" {static PyObject *meth_wxPropertyGrid_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4599 static PyObject *meth_wxPropertyGrid_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4600 {
4601     PyObject *sipParseErr = SIP_NULLPTR;
4602     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4603 
4604     {
4605          ::wxWindowBase* child;
4606          ::wxPropertyGrid *sipCpp;
4607 
4608         static const char *sipKwdList[] = {
4609             sipName_child,
4610         };
4611 
4612         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxWindowBase, &child))
4613         {
4614             PyErr_Clear();
4615 
4616             Py_BEGIN_ALLOW_THREADS
4617             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::RemoveChild(child) : sipCpp->RemoveChild(child));
4618             Py_END_ALLOW_THREADS
4619 
4620             if (PyErr_Occurred())
4621                 return 0;
4622 
4623             Py_INCREF(Py_None);
4624             return Py_None;
4625         }
4626     }
4627 
4628     /* Raise an exception if the arguments couldn't be parsed. */
4629     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_RemoveChild, doc_wxPropertyGrid_RemoveChild);
4630 
4631     return SIP_NULLPTR;
4632 }
4633 
4634 
4635 PyDoc_STRVAR(doc_wxPropertyGrid_InheritAttributes, "InheritAttributes(self)");
4636 
4637 extern "C" {static PyObject *meth_wxPropertyGrid_InheritAttributes(PyObject *, PyObject *);}
meth_wxPropertyGrid_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)4638 static PyObject *meth_wxPropertyGrid_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
4639 {
4640     PyObject *sipParseErr = SIP_NULLPTR;
4641     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4642 
4643     {
4644          ::wxPropertyGrid *sipCpp;
4645 
4646         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4647         {
4648             PyErr_Clear();
4649 
4650             Py_BEGIN_ALLOW_THREADS
4651             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::InheritAttributes() : sipCpp->InheritAttributes());
4652             Py_END_ALLOW_THREADS
4653 
4654             if (PyErr_Occurred())
4655                 return 0;
4656 
4657             Py_INCREF(Py_None);
4658             return Py_None;
4659         }
4660     }
4661 
4662     /* Raise an exception if the arguments couldn't be parsed. */
4663     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_InheritAttributes, doc_wxPropertyGrid_InheritAttributes);
4664 
4665     return SIP_NULLPTR;
4666 }
4667 
4668 
4669 PyDoc_STRVAR(doc_wxPropertyGrid_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
4670 
4671 extern "C" {static PyObject *meth_wxPropertyGrid_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxPropertyGrid_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)4672 static PyObject *meth_wxPropertyGrid_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
4673 {
4674     PyObject *sipParseErr = SIP_NULLPTR;
4675     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4676 
4677     {
4678         const  ::wxPropertyGrid *sipCpp;
4679 
4680         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4681         {
4682             bool sipRes;
4683 
4684             PyErr_Clear();
4685 
4686             Py_BEGIN_ALLOW_THREADS
4687             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::ShouldInheritColours() : sipCpp->ShouldInheritColours());
4688             Py_END_ALLOW_THREADS
4689 
4690             if (PyErr_Occurred())
4691                 return 0;
4692 
4693             return PyBool_FromLong(sipRes);
4694         }
4695     }
4696 
4697     /* Raise an exception if the arguments couldn't be parsed. */
4698     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ShouldInheritColours, doc_wxPropertyGrid_ShouldInheritColours);
4699 
4700     return SIP_NULLPTR;
4701 }
4702 
4703 
4704 PyDoc_STRVAR(doc_wxPropertyGrid_OnInternalIdle, "OnInternalIdle(self)");
4705 
4706 extern "C" {static PyObject *meth_wxPropertyGrid_OnInternalIdle(PyObject *, PyObject *);}
meth_wxPropertyGrid_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)4707 static PyObject *meth_wxPropertyGrid_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
4708 {
4709     PyObject *sipParseErr = SIP_NULLPTR;
4710     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4711 
4712     {
4713          ::wxPropertyGrid *sipCpp;
4714 
4715         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4716         {
4717             PyErr_Clear();
4718 
4719             Py_BEGIN_ALLOW_THREADS
4720             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::OnInternalIdle() : sipCpp->OnInternalIdle());
4721             Py_END_ALLOW_THREADS
4722 
4723             if (PyErr_Occurred())
4724                 return 0;
4725 
4726             Py_INCREF(Py_None);
4727             return Py_None;
4728         }
4729     }
4730 
4731     /* Raise an exception if the arguments couldn't be parsed. */
4732     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_OnInternalIdle, doc_wxPropertyGrid_OnInternalIdle);
4733 
4734     return SIP_NULLPTR;
4735 }
4736 
4737 
4738 PyDoc_STRVAR(doc_wxPropertyGrid_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
4739 
4740 extern "C" {static PyObject *meth_wxPropertyGrid_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)4741 static PyObject *meth_wxPropertyGrid_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
4742 {
4743     PyObject *sipParseErr = SIP_NULLPTR;
4744     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4745 
4746     {
4747          ::wxPropertyGrid *sipCpp;
4748 
4749         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4750         {
4751              ::wxWindow*sipRes;
4752 
4753             PyErr_Clear();
4754 
4755             Py_BEGIN_ALLOW_THREADS
4756             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
4757             Py_END_ALLOW_THREADS
4758 
4759             if (PyErr_Occurred())
4760                 return 0;
4761 
4762             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
4763         }
4764     }
4765 
4766     /* Raise an exception if the arguments couldn't be parsed. */
4767     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetMainWindowOfCompositeControl, doc_wxPropertyGrid_GetMainWindowOfCompositeControl);
4768 
4769     return SIP_NULLPTR;
4770 }
4771 
4772 
4773 PyDoc_STRVAR(doc_wxPropertyGrid_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
4774 
4775 extern "C" {static PyObject *meth_wxPropertyGrid_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4776 static PyObject *meth_wxPropertyGrid_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4777 {
4778     PyObject *sipParseErr = SIP_NULLPTR;
4779     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4780 
4781     {
4782         int direction;
4783         int size;
4784         int availableOtherDir;
4785          ::wxPropertyGrid *sipCpp;
4786 
4787         static const char *sipKwdList[] = {
4788             sipName_direction,
4789             sipName_size,
4790             sipName_availableOtherDir,
4791         };
4792 
4793         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &direction, &size, &availableOtherDir))
4794         {
4795             bool sipRes;
4796 
4797             PyErr_Clear();
4798 
4799             Py_BEGIN_ALLOW_THREADS
4800             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
4801             Py_END_ALLOW_THREADS
4802 
4803             if (PyErr_Occurred())
4804                 return 0;
4805 
4806             return PyBool_FromLong(sipRes);
4807         }
4808     }
4809 
4810     /* Raise an exception if the arguments couldn't be parsed. */
4811     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_InformFirstDirection, doc_wxPropertyGrid_InformFirstDirection);
4812 
4813     return SIP_NULLPTR;
4814 }
4815 
4816 
4817 PyDoc_STRVAR(doc_wxPropertyGrid_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
4818 
4819 extern "C" {static PyObject *meth_wxPropertyGrid_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4820 static PyObject *meth_wxPropertyGrid_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4821 {
4822     PyObject *sipParseErr = SIP_NULLPTR;
4823     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4824 
4825     {
4826         bool canFocus;
4827          ::wxPropertyGrid *sipCpp;
4828 
4829         static const char *sipKwdList[] = {
4830             sipName_canFocus,
4831         };
4832 
4833         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &canFocus))
4834         {
4835             PyErr_Clear();
4836 
4837             Py_BEGIN_ALLOW_THREADS
4838             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
4839             Py_END_ALLOW_THREADS
4840 
4841             if (PyErr_Occurred())
4842                 return 0;
4843 
4844             Py_INCREF(Py_None);
4845             return Py_None;
4846         }
4847     }
4848 
4849     /* Raise an exception if the arguments couldn't be parsed. */
4850     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetCanFocus, doc_wxPropertyGrid_SetCanFocus);
4851 
4852     return SIP_NULLPTR;
4853 }
4854 
4855 
4856 PyDoc_STRVAR(doc_wxPropertyGrid_Destroy, "Destroy(self) -> bool");
4857 
4858 extern "C" {static PyObject *meth_wxPropertyGrid_Destroy(PyObject *, PyObject *);}
meth_wxPropertyGrid_Destroy(PyObject * sipSelf,PyObject * sipArgs)4859 static PyObject *meth_wxPropertyGrid_Destroy(PyObject *sipSelf, PyObject *sipArgs)
4860 {
4861     PyObject *sipParseErr = SIP_NULLPTR;
4862     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4863 
4864     {
4865          ::wxPropertyGrid *sipCpp;
4866 
4867         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4868         {
4869             bool sipRes;
4870 
4871             PyErr_Clear();
4872 
4873             Py_BEGIN_ALLOW_THREADS
4874             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::Destroy() : sipCpp->Destroy());
4875             Py_END_ALLOW_THREADS
4876 
4877             if (PyErr_Occurred())
4878                 return 0;
4879 
4880             return PyBool_FromLong(sipRes);
4881         }
4882     }
4883 
4884     /* Raise an exception if the arguments couldn't be parsed. */
4885     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_Destroy, doc_wxPropertyGrid_Destroy);
4886 
4887     return SIP_NULLPTR;
4888 }
4889 
4890 
4891 PyDoc_STRVAR(doc_wxPropertyGrid_SetValidator, "SetValidator(self, validator: Validator)");
4892 
4893 extern "C" {static PyObject *meth_wxPropertyGrid_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4894 static PyObject *meth_wxPropertyGrid_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4895 {
4896     PyObject *sipParseErr = SIP_NULLPTR;
4897     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4898 
4899     {
4900         const  ::wxValidator* validator;
4901          ::wxPropertyGrid *sipCpp;
4902 
4903         static const char *sipKwdList[] = {
4904             sipName_validator,
4905         };
4906 
4907         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxValidator, &validator))
4908         {
4909             PyErr_Clear();
4910 
4911             Py_BEGIN_ALLOW_THREADS
4912             (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::SetValidator(*validator) : sipCpp->SetValidator(*validator));
4913             Py_END_ALLOW_THREADS
4914 
4915             if (PyErr_Occurred())
4916                 return 0;
4917 
4918             Py_INCREF(Py_None);
4919             return Py_None;
4920         }
4921     }
4922 
4923     /* Raise an exception if the arguments couldn't be parsed. */
4924     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_SetValidator, doc_wxPropertyGrid_SetValidator);
4925 
4926     return SIP_NULLPTR;
4927 }
4928 
4929 
4930 PyDoc_STRVAR(doc_wxPropertyGrid_GetValidator, "GetValidator(self) -> Validator");
4931 
4932 extern "C" {static PyObject *meth_wxPropertyGrid_GetValidator(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetValidator(PyObject * sipSelf,PyObject * sipArgs)4933 static PyObject *meth_wxPropertyGrid_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
4934 {
4935     PyObject *sipParseErr = SIP_NULLPTR;
4936     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4937 
4938     {
4939          ::wxPropertyGrid *sipCpp;
4940 
4941         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
4942         {
4943              ::wxValidator*sipRes;
4944 
4945             PyErr_Clear();
4946 
4947             Py_BEGIN_ALLOW_THREADS
4948             sipRes = (sipSelfWasArg ? sipCpp-> ::wxPropertyGrid::GetValidator() : sipCpp->GetValidator());
4949             Py_END_ALLOW_THREADS
4950 
4951             if (PyErr_Occurred())
4952                 return 0;
4953 
4954             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
4955         }
4956     }
4957 
4958     /* Raise an exception if the arguments couldn't be parsed. */
4959     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetValidator, doc_wxPropertyGrid_GetValidator);
4960 
4961     return SIP_NULLPTR;
4962 }
4963 
4964 
4965 PyDoc_STRVAR(doc_wxPropertyGrid_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
4966 
4967 extern "C" {static PyObject *meth_wxPropertyGrid_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4968 static PyObject *meth_wxPropertyGrid_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4969 {
4970     PyObject *sipParseErr = SIP_NULLPTR;
4971     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4972 
4973     {
4974          ::wxEvent* event;
4975         sipwxPropertyGrid *sipCpp;
4976 
4977         static const char *sipKwdList[] = {
4978             sipName_event,
4979         };
4980 
4981         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxEvent, &event))
4982         {
4983             bool sipRes;
4984 
4985             PyErr_Clear();
4986 
4987             Py_BEGIN_ALLOW_THREADS
4988             sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
4989             Py_END_ALLOW_THREADS
4990 
4991             if (PyErr_Occurred())
4992                 return 0;
4993 
4994             return PyBool_FromLong(sipRes);
4995         }
4996     }
4997 
4998     /* Raise an exception if the arguments couldn't be parsed. */
4999     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_ProcessEvent, doc_wxPropertyGrid_ProcessEvent);
5000 
5001     return SIP_NULLPTR;
5002 }
5003 
5004 
5005 PyDoc_STRVAR(doc_wxPropertyGrid_DoEnable, "DoEnable(self, enable: bool)");
5006 
5007 extern "C" {static PyObject *meth_wxPropertyGrid_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5008 static PyObject *meth_wxPropertyGrid_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5009 {
5010     PyObject *sipParseErr = SIP_NULLPTR;
5011     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5012 
5013     {
5014         bool enable;
5015         sipwxPropertyGrid *sipCpp;
5016 
5017         static const char *sipKwdList[] = {
5018             sipName_enable,
5019         };
5020 
5021         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &enable))
5022         {
5023             PyErr_Clear();
5024 
5025             Py_BEGIN_ALLOW_THREADS
5026             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
5027             Py_END_ALLOW_THREADS
5028 
5029             if (PyErr_Occurred())
5030                 return 0;
5031 
5032             Py_INCREF(Py_None);
5033             return Py_None;
5034         }
5035     }
5036 
5037     /* Raise an exception if the arguments couldn't be parsed. */
5038     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoEnable, doc_wxPropertyGrid_DoEnable);
5039 
5040     return SIP_NULLPTR;
5041 }
5042 
5043 
5044 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
5045 
5046 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5047 static PyObject *meth_wxPropertyGrid_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5048 {
5049     PyObject *sipParseErr = SIP_NULLPTR;
5050     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5051 
5052     {
5053         int x;
5054         int y;
5055         const sipwxPropertyGrid *sipCpp;
5056 
5057         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5058         {
5059             PyErr_Clear();
5060 
5061             Py_BEGIN_ALLOW_THREADS
5062             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
5063             Py_END_ALLOW_THREADS
5064 
5065             if (PyErr_Occurred())
5066                 return 0;
5067 
5068             return sipBuildResult(0,"(ii)",x,y);
5069         }
5070     }
5071 
5072     /* Raise an exception if the arguments couldn't be parsed. */
5073     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetPosition, doc_wxPropertyGrid_DoGetPosition);
5074 
5075     return SIP_NULLPTR;
5076 }
5077 
5078 
5079 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
5080 
5081 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5082 static PyObject *meth_wxPropertyGrid_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5083 {
5084     PyObject *sipParseErr = SIP_NULLPTR;
5085     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5086 
5087     {
5088         int width;
5089         int height;
5090         const sipwxPropertyGrid *sipCpp;
5091 
5092         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5093         {
5094             PyErr_Clear();
5095 
5096             Py_BEGIN_ALLOW_THREADS
5097             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
5098             Py_END_ALLOW_THREADS
5099 
5100             if (PyErr_Occurred())
5101                 return 0;
5102 
5103             return sipBuildResult(0,"(ii)",width,height);
5104         }
5105     }
5106 
5107     /* Raise an exception if the arguments couldn't be parsed. */
5108     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetSize, doc_wxPropertyGrid_DoGetSize);
5109 
5110     return SIP_NULLPTR;
5111 }
5112 
5113 
5114 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
5115 
5116 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5117 static PyObject *meth_wxPropertyGrid_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5118 {
5119     PyObject *sipParseErr = SIP_NULLPTR;
5120     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5121 
5122     {
5123         int width;
5124         int height;
5125         const sipwxPropertyGrid *sipCpp;
5126 
5127         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5128         {
5129             PyErr_Clear();
5130 
5131             Py_BEGIN_ALLOW_THREADS
5132             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
5133             Py_END_ALLOW_THREADS
5134 
5135             if (PyErr_Occurred())
5136                 return 0;
5137 
5138             return sipBuildResult(0,"(ii)",width,height);
5139         }
5140     }
5141 
5142     /* Raise an exception if the arguments couldn't be parsed. */
5143     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetClientSize, doc_wxPropertyGrid_DoGetClientSize);
5144 
5145     return SIP_NULLPTR;
5146 }
5147 
5148 
5149 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetBestSize, "DoGetBestSize(self) -> Size");
5150 
5151 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetBestSize(PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)5152 static PyObject *meth_wxPropertyGrid_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
5153 {
5154     PyObject *sipParseErr = SIP_NULLPTR;
5155     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5156 
5157     {
5158         const sipwxPropertyGrid *sipCpp;
5159 
5160         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5161         {
5162              ::wxSize*sipRes;
5163 
5164             PyErr_Clear();
5165 
5166             Py_BEGIN_ALLOW_THREADS
5167             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
5168             Py_END_ALLOW_THREADS
5169 
5170             if (PyErr_Occurred())
5171                 return 0;
5172 
5173             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
5174         }
5175     }
5176 
5177     /* Raise an exception if the arguments couldn't be parsed. */
5178     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetBestSize, doc_wxPropertyGrid_DoGetBestSize);
5179 
5180     return SIP_NULLPTR;
5181 }
5182 
5183 
5184 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
5185 
5186 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)5187 static PyObject *meth_wxPropertyGrid_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
5188 {
5189     PyObject *sipParseErr = SIP_NULLPTR;
5190     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5191 
5192     {
5193         const sipwxPropertyGrid *sipCpp;
5194 
5195         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5196         {
5197              ::wxSize*sipRes;
5198 
5199             PyErr_Clear();
5200 
5201             Py_BEGIN_ALLOW_THREADS
5202             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
5203             Py_END_ALLOW_THREADS
5204 
5205             if (PyErr_Occurred())
5206                 return 0;
5207 
5208             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
5209         }
5210     }
5211 
5212     /* Raise an exception if the arguments couldn't be parsed. */
5213     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetBestClientSize, doc_wxPropertyGrid_DoGetBestClientSize);
5214 
5215     return SIP_NULLPTR;
5216 }
5217 
5218 
5219 PyDoc_STRVAR(doc_wxPropertyGrid_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
5220 
5221 extern "C" {static PyObject *meth_wxPropertyGrid_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5222 static PyObject *meth_wxPropertyGrid_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5223 {
5224     PyObject *sipParseErr = SIP_NULLPTR;
5225     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5226 
5227     {
5228         int x;
5229         int y;
5230         int width;
5231         int height;
5232         int sizeFlags;
5233         sipwxPropertyGrid *sipCpp;
5234 
5235         static const char *sipKwdList[] = {
5236             sipName_x,
5237             sipName_y,
5238             sipName_width,
5239             sipName_height,
5240             sipName_sizeFlags,
5241         };
5242 
5243         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &x, &y, &width, &height, &sizeFlags))
5244         {
5245             PyErr_Clear();
5246 
5247             Py_BEGIN_ALLOW_THREADS
5248             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
5249             Py_END_ALLOW_THREADS
5250 
5251             if (PyErr_Occurred())
5252                 return 0;
5253 
5254             Py_INCREF(Py_None);
5255             return Py_None;
5256         }
5257     }
5258 
5259     /* Raise an exception if the arguments couldn't be parsed. */
5260     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoSetSize, doc_wxPropertyGrid_DoSetSize);
5261 
5262     return SIP_NULLPTR;
5263 }
5264 
5265 
5266 PyDoc_STRVAR(doc_wxPropertyGrid_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
5267 
5268 extern "C" {static PyObject *meth_wxPropertyGrid_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5269 static PyObject *meth_wxPropertyGrid_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5270 {
5271     PyObject *sipParseErr = SIP_NULLPTR;
5272     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5273 
5274     {
5275         int width;
5276         int height;
5277         sipwxPropertyGrid *sipCpp;
5278 
5279         static const char *sipKwdList[] = {
5280             sipName_width,
5281             sipName_height,
5282         };
5283 
5284         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &width, &height))
5285         {
5286             PyErr_Clear();
5287 
5288             Py_BEGIN_ALLOW_THREADS
5289             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
5290             Py_END_ALLOW_THREADS
5291 
5292             if (PyErr_Occurred())
5293                 return 0;
5294 
5295             Py_INCREF(Py_None);
5296             return Py_None;
5297         }
5298     }
5299 
5300     /* Raise an exception if the arguments couldn't be parsed. */
5301     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoSetClientSize, doc_wxPropertyGrid_DoSetClientSize);
5302 
5303     return SIP_NULLPTR;
5304 }
5305 
5306 
5307 PyDoc_STRVAR(doc_wxPropertyGrid_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
5308 
5309 extern "C" {static PyObject *meth_wxPropertyGrid_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5310 static PyObject *meth_wxPropertyGrid_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5311 {
5312     PyObject *sipParseErr = SIP_NULLPTR;
5313     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5314 
5315     {
5316         int minW;
5317         int minH;
5318         int maxW;
5319         int maxH;
5320         int incW;
5321         int incH;
5322         sipwxPropertyGrid *sipCpp;
5323 
5324         static const char *sipKwdList[] = {
5325             sipName_minW,
5326             sipName_minH,
5327             sipName_maxW,
5328             sipName_maxH,
5329             sipName_incW,
5330             sipName_incH,
5331         };
5332 
5333         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
5334         {
5335             PyErr_Clear();
5336 
5337             Py_BEGIN_ALLOW_THREADS
5338             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
5339             Py_END_ALLOW_THREADS
5340 
5341             if (PyErr_Occurred())
5342                 return 0;
5343 
5344             Py_INCREF(Py_None);
5345             return Py_None;
5346         }
5347     }
5348 
5349     /* Raise an exception if the arguments couldn't be parsed. */
5350     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoSetSizeHints, doc_wxPropertyGrid_DoSetSizeHints);
5351 
5352     return SIP_NULLPTR;
5353 }
5354 
5355 
5356 PyDoc_STRVAR(doc_wxPropertyGrid_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
5357 
5358 extern "C" {static PyObject *meth_wxPropertyGrid_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxPropertyGrid_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)5359 static PyObject *meth_wxPropertyGrid_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
5360 {
5361     PyObject *sipParseErr = SIP_NULLPTR;
5362     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5363 
5364     {
5365         const sipwxPropertyGrid *sipCpp;
5366 
5367         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5368         {
5369              ::wxSize*sipRes;
5370 
5371             PyErr_Clear();
5372 
5373             Py_BEGIN_ALLOW_THREADS
5374             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
5375             Py_END_ALLOW_THREADS
5376 
5377             if (PyErr_Occurred())
5378                 return 0;
5379 
5380             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
5381         }
5382     }
5383 
5384     /* Raise an exception if the arguments couldn't be parsed. */
5385     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoGetBorderSize, doc_wxPropertyGrid_DoGetBorderSize);
5386 
5387     return SIP_NULLPTR;
5388 }
5389 
5390 
5391 PyDoc_STRVAR(doc_wxPropertyGrid_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
5392 
5393 extern "C" {static PyObject *meth_wxPropertyGrid_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5394 static PyObject *meth_wxPropertyGrid_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5395 {
5396     PyObject *sipParseErr = SIP_NULLPTR;
5397     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5398 
5399     {
5400         int x;
5401         int y;
5402         int width;
5403         int height;
5404         sipwxPropertyGrid *sipCpp;
5405 
5406         static const char *sipKwdList[] = {
5407             sipName_x,
5408             sipName_y,
5409             sipName_width,
5410             sipName_height,
5411         };
5412 
5413         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxPropertyGrid, &sipCpp, &x, &y, &width, &height))
5414         {
5415             PyErr_Clear();
5416 
5417             Py_BEGIN_ALLOW_THREADS
5418             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
5419             Py_END_ALLOW_THREADS
5420 
5421             if (PyErr_Occurred())
5422                 return 0;
5423 
5424             Py_INCREF(Py_None);
5425             return Py_None;
5426         }
5427     }
5428 
5429     /* Raise an exception if the arguments couldn't be parsed. */
5430     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoMoveWindow, doc_wxPropertyGrid_DoMoveWindow);
5431 
5432     return SIP_NULLPTR;
5433 }
5434 
5435 
5436 PyDoc_STRVAR(doc_wxPropertyGrid_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
5437 
5438 extern "C" {static PyObject *meth_wxPropertyGrid_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5439 static PyObject *meth_wxPropertyGrid_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5440 {
5441     PyObject *sipParseErr = SIP_NULLPTR;
5442     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5443 
5444     {
5445          ::wxWindowVariant variant;
5446         sipwxPropertyGrid *sipCpp;
5447 
5448         static const char *sipKwdList[] = {
5449             sipName_variant,
5450         };
5451 
5452         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxWindowVariant, &variant))
5453         {
5454             PyErr_Clear();
5455 
5456             Py_BEGIN_ALLOW_THREADS
5457             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
5458             Py_END_ALLOW_THREADS
5459 
5460             if (PyErr_Occurred())
5461                 return 0;
5462 
5463             Py_INCREF(Py_None);
5464             return Py_None;
5465         }
5466     }
5467 
5468     /* Raise an exception if the arguments couldn't be parsed. */
5469     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoSetWindowVariant, doc_wxPropertyGrid_DoSetWindowVariant);
5470 
5471     return SIP_NULLPTR;
5472 }
5473 
5474 
5475 PyDoc_STRVAR(doc_wxPropertyGrid_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
5476 
5477 extern "C" {static PyObject *meth_wxPropertyGrid_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)5478 static PyObject *meth_wxPropertyGrid_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
5479 {
5480     PyObject *sipParseErr = SIP_NULLPTR;
5481     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5482 
5483     {
5484         const sipwxPropertyGrid *sipCpp;
5485 
5486         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5487         {
5488              ::wxBorder sipRes;
5489 
5490             PyErr_Clear();
5491 
5492             Py_BEGIN_ALLOW_THREADS
5493             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
5494             Py_END_ALLOW_THREADS
5495 
5496             if (PyErr_Occurred())
5497                 return 0;
5498 
5499             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
5500         }
5501     }
5502 
5503     /* Raise an exception if the arguments couldn't be parsed. */
5504     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetDefaultBorder, doc_wxPropertyGrid_GetDefaultBorder);
5505 
5506     return SIP_NULLPTR;
5507 }
5508 
5509 
5510 PyDoc_STRVAR(doc_wxPropertyGrid_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
5511 
5512 extern "C" {static PyObject *meth_wxPropertyGrid_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxPropertyGrid_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)5513 static PyObject *meth_wxPropertyGrid_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
5514 {
5515     PyObject *sipParseErr = SIP_NULLPTR;
5516     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5517 
5518     {
5519         const sipwxPropertyGrid *sipCpp;
5520 
5521         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5522         {
5523              ::wxBorder sipRes;
5524 
5525             PyErr_Clear();
5526 
5527             Py_BEGIN_ALLOW_THREADS
5528             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
5529             Py_END_ALLOW_THREADS
5530 
5531             if (PyErr_Occurred())
5532                 return 0;
5533 
5534             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
5535         }
5536     }
5537 
5538     /* Raise an exception if the arguments couldn't be parsed. */
5539     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetDefaultBorderForControl, doc_wxPropertyGrid_GetDefaultBorderForControl);
5540 
5541     return SIP_NULLPTR;
5542 }
5543 
5544 
5545 PyDoc_STRVAR(doc_wxPropertyGrid_DoFreeze, "DoFreeze(self)");
5546 
5547 extern "C" {static PyObject *meth_wxPropertyGrid_DoFreeze(PyObject *, PyObject *);}
meth_wxPropertyGrid_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)5548 static PyObject *meth_wxPropertyGrid_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
5549 {
5550     PyObject *sipParseErr = SIP_NULLPTR;
5551     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5552 
5553     {
5554         sipwxPropertyGrid *sipCpp;
5555 
5556         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5557         {
5558             PyErr_Clear();
5559 
5560             Py_BEGIN_ALLOW_THREADS
5561             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
5562             Py_END_ALLOW_THREADS
5563 
5564             if (PyErr_Occurred())
5565                 return 0;
5566 
5567             Py_INCREF(Py_None);
5568             return Py_None;
5569         }
5570     }
5571 
5572     /* Raise an exception if the arguments couldn't be parsed. */
5573     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoFreeze, doc_wxPropertyGrid_DoFreeze);
5574 
5575     return SIP_NULLPTR;
5576 }
5577 
5578 
5579 PyDoc_STRVAR(doc_wxPropertyGrid_DoThaw, "DoThaw(self)");
5580 
5581 extern "C" {static PyObject *meth_wxPropertyGrid_DoThaw(PyObject *, PyObject *);}
meth_wxPropertyGrid_DoThaw(PyObject * sipSelf,PyObject * sipArgs)5582 static PyObject *meth_wxPropertyGrid_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
5583 {
5584     PyObject *sipParseErr = SIP_NULLPTR;
5585     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5586 
5587     {
5588         sipwxPropertyGrid *sipCpp;
5589 
5590         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5591         {
5592             PyErr_Clear();
5593 
5594             Py_BEGIN_ALLOW_THREADS
5595             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
5596             Py_END_ALLOW_THREADS
5597 
5598             if (PyErr_Occurred())
5599                 return 0;
5600 
5601             Py_INCREF(Py_None);
5602             return Py_None;
5603         }
5604     }
5605 
5606     /* Raise an exception if the arguments couldn't be parsed. */
5607     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_DoThaw, doc_wxPropertyGrid_DoThaw);
5608 
5609     return SIP_NULLPTR;
5610 }
5611 
5612 
5613 PyDoc_STRVAR(doc_wxPropertyGrid_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
5614 
5615 extern "C" {static PyObject *meth_wxPropertyGrid_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxPropertyGrid_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)5616 static PyObject *meth_wxPropertyGrid_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
5617 {
5618     PyObject *sipParseErr = SIP_NULLPTR;
5619     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5620 
5621     {
5622         sipwxPropertyGrid *sipCpp;
5623 
5624         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPropertyGrid, &sipCpp))
5625         {
5626             bool sipRes;
5627 
5628             PyErr_Clear();
5629 
5630             Py_BEGIN_ALLOW_THREADS
5631             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
5632             Py_END_ALLOW_THREADS
5633 
5634             if (PyErr_Occurred())
5635                 return 0;
5636 
5637             return PyBool_FromLong(sipRes);
5638         }
5639     }
5640 
5641     /* Raise an exception if the arguments couldn't be parsed. */
5642     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_HasTransparentBackground, doc_wxPropertyGrid_HasTransparentBackground);
5643 
5644     return SIP_NULLPTR;
5645 }
5646 
5647 
5648 PyDoc_STRVAR(doc_wxPropertyGrid_TryBefore, "TryBefore(self, event: Event) -> bool");
5649 
5650 extern "C" {static PyObject *meth_wxPropertyGrid_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5651 static PyObject *meth_wxPropertyGrid_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5652 {
5653     PyObject *sipParseErr = SIP_NULLPTR;
5654     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5655 
5656     {
5657          ::wxEvent* event;
5658         sipwxPropertyGrid *sipCpp;
5659 
5660         static const char *sipKwdList[] = {
5661             sipName_event,
5662         };
5663 
5664         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxEvent, &event))
5665         {
5666             bool sipRes;
5667 
5668             PyErr_Clear();
5669 
5670             Py_BEGIN_ALLOW_THREADS
5671             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
5672             Py_END_ALLOW_THREADS
5673 
5674             if (PyErr_Occurred())
5675                 return 0;
5676 
5677             return PyBool_FromLong(sipRes);
5678         }
5679     }
5680 
5681     /* Raise an exception if the arguments couldn't be parsed. */
5682     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_TryBefore, doc_wxPropertyGrid_TryBefore);
5683 
5684     return SIP_NULLPTR;
5685 }
5686 
5687 
5688 PyDoc_STRVAR(doc_wxPropertyGrid_TryAfter, "TryAfter(self, event: Event) -> bool");
5689 
5690 extern "C" {static PyObject *meth_wxPropertyGrid_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5691 static PyObject *meth_wxPropertyGrid_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5692 {
5693     PyObject *sipParseErr = SIP_NULLPTR;
5694     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5695 
5696     {
5697          ::wxEvent* event;
5698         sipwxPropertyGrid *sipCpp;
5699 
5700         static const char *sipKwdList[] = {
5701             sipName_event,
5702         };
5703 
5704         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxPropertyGrid, &sipCpp, sipType_wxEvent, &event))
5705         {
5706             bool sipRes;
5707 
5708             PyErr_Clear();
5709 
5710             Py_BEGIN_ALLOW_THREADS
5711             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
5712             Py_END_ALLOW_THREADS
5713 
5714             if (PyErr_Occurred())
5715                 return 0;
5716 
5717             return PyBool_FromLong(sipRes);
5718         }
5719     }
5720 
5721     /* Raise an exception if the arguments couldn't be parsed. */
5722     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_TryAfter, doc_wxPropertyGrid_TryAfter);
5723 
5724     return SIP_NULLPTR;
5725 }
5726 
5727 
5728 PyDoc_STRVAR(doc_wxPropertyGrid_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes");
5729 
5730 extern "C" {static PyObject *meth_wxPropertyGrid_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxPropertyGrid_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)5731 static PyObject *meth_wxPropertyGrid_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
5732 {
5733     PyObject *sipParseErr = SIP_NULLPTR;
5734 
5735     {
5736          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
5737 
5738         static const char *sipKwdList[] = {
5739             sipName_variant,
5740         };
5741 
5742         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
5743         {
5744              ::wxVisualAttributes*sipRes;
5745 
5746         if (!wxPyCheckForApp()) return NULL;
5747 
5748             PyErr_Clear();
5749 
5750             Py_BEGIN_ALLOW_THREADS
5751             sipRes = new  ::wxVisualAttributes( ::wxPropertyGrid::GetClassDefaultAttributes(variant));
5752             Py_END_ALLOW_THREADS
5753 
5754             if (PyErr_Occurred())
5755                 return 0;
5756 
5757             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
5758         }
5759     }
5760 
5761     /* Raise an exception if the arguments couldn't be parsed. */
5762     sipNoMethod(sipParseErr, sipName_PropertyGrid, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
5763 
5764     return SIP_NULLPTR;
5765 }
5766 
5767 
5768 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
5769 extern "C" {static void *cast_wxPropertyGrid(void *, const sipTypeDef *);}
cast_wxPropertyGrid(void * sipCppV,const sipTypeDef * targetType)5770 static void *cast_wxPropertyGrid(void *sipCppV, const sipTypeDef *targetType)
5771 {
5772      ::wxPropertyGrid *sipCpp = reinterpret_cast< ::wxPropertyGrid *>(sipCppV);
5773 
5774     if (targetType == sipType_wxControl)
5775         return static_cast< ::wxControl *>(sipCpp);
5776 
5777     if (targetType == sipType_wxWindow)
5778         return static_cast< ::wxWindow *>(sipCpp);
5779 
5780     if (targetType == sipType_wxWindowBase)
5781         return static_cast< ::wxWindowBase *>(sipCpp);
5782 
5783     if (targetType == sipType_wxEvtHandler)
5784         return static_cast< ::wxEvtHandler *>(sipCpp);
5785 
5786     if (targetType == sipType_wxObject)
5787         return static_cast< ::wxObject *>(sipCpp);
5788 
5789     if (targetType == sipType_wxTrackable)
5790         return static_cast< ::wxTrackable *>(sipCpp);
5791 
5792     if (targetType == sipType_wxPropertyGridInterface)
5793         return static_cast< ::wxPropertyGridInterface *>(sipCpp);
5794 
5795     return sipCppV;
5796 }
5797 
5798 
5799 /* Call the instance's destructor. */
5800 extern "C" {static void release_wxPropertyGrid(void *, int);}
release_wxPropertyGrid(void * sipCppV,int sipState)5801 static void release_wxPropertyGrid(void *sipCppV, int sipState)
5802 {
5803     Py_BEGIN_ALLOW_THREADS
5804 
5805     if (sipState & SIP_DERIVED_CLASS)
5806         delete reinterpret_cast<sipwxPropertyGrid *>(sipCppV);
5807     else
5808         delete reinterpret_cast< ::wxPropertyGrid *>(sipCppV);
5809 
5810     Py_END_ALLOW_THREADS
5811 }
5812 
5813 
5814 extern "C" {static void dealloc_wxPropertyGrid(sipSimpleWrapper *);}
dealloc_wxPropertyGrid(sipSimpleWrapper * sipSelf)5815 static void dealloc_wxPropertyGrid(sipSimpleWrapper *sipSelf)
5816 {
5817     if (sipIsDerivedClass(sipSelf))
5818         reinterpret_cast<sipwxPropertyGrid *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
5819 
5820     if (sipIsOwnedByPython(sipSelf))
5821     {
5822         release_wxPropertyGrid(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
5823     }
5824 }
5825 
5826 
5827 extern "C" {static void *init_type_wxPropertyGrid(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxPropertyGrid(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)5828 static void *init_type_wxPropertyGrid(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
5829 {
5830     sipwxPropertyGrid *sipCpp = SIP_NULLPTR;
5831 
5832     {
5833         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
5834         {
5835 
5836         if (!wxPyCheckForApp()) return NULL;
5837 
5838             PyErr_Clear();
5839 
5840             Py_BEGIN_ALLOW_THREADS
5841             sipCpp = new sipwxPropertyGrid();
5842             Py_END_ALLOW_THREADS
5843 
5844             if (PyErr_Occurred())
5845             {
5846                 delete sipCpp;
5847                 return SIP_NULLPTR;
5848             }
5849 
5850             sipCpp->sipPySelf = sipSelf;
5851 
5852             return sipCpp;
5853         }
5854     }
5855 
5856     {
5857          ::wxWindow* parent;
5858          ::wxWindowID id = wxID_ANY;
5859         const  ::wxPoint& posdef = wxDefaultPosition;
5860         const  ::wxPoint* pos = &posdef;
5861         int posState = 0;
5862         const  ::wxSize& sizedef = wxDefaultSize;
5863         const  ::wxSize* size = &sizedef;
5864         int sizeState = 0;
5865         long style = wxPG_DEFAULT_STYLE;
5866         const  ::wxString& namedef = wxPropertyGridNameStr;
5867         const  ::wxString* name = &namedef;
5868         int nameState = 0;
5869 
5870         static const char *sipKwdList[] = {
5871             sipName_parent,
5872             sipName_id,
5873             sipName_pos,
5874             sipName_size,
5875             sipName_style,
5876             sipName_name,
5877         };
5878 
5879         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1lJ1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxString,&name, &nameState))
5880         {
5881 
5882         if (!wxPyCheckForApp()) return NULL;
5883 
5884             PyErr_Clear();
5885 
5886             Py_BEGIN_ALLOW_THREADS
5887             sipCpp = new sipwxPropertyGrid(parent,id,*pos,*size,style,*name);
5888             Py_END_ALLOW_THREADS
5889             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
5890             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
5891             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
5892 
5893             if (PyErr_Occurred())
5894             {
5895                 delete sipCpp;
5896                 return SIP_NULLPTR;
5897             }
5898 
5899             sipCpp->sipPySelf = sipSelf;
5900 
5901             return sipCpp;
5902         }
5903     }
5904 
5905     return SIP_NULLPTR;
5906 }
5907 
5908 
5909 /* Define this type's super-types. */
5910 static sipEncodedTypeDef supers_wxPropertyGrid[] = {{8, 0, 0}, {65, 255, 1}};
5911 
5912 
5913 static PyMethodDef methods_wxPropertyGrid[] = {
5914     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxPropertyGrid_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AcceptsFocus)},
5915     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxPropertyGrid_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AcceptsFocusFromKeyboard)},
5916     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxPropertyGrid_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AcceptsFocusRecursively)},
5917     {SIP_MLNAME_CAST(sipName_AddActionTrigger), SIP_MLMETH_CAST(meth_wxPropertyGrid_AddActionTrigger), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AddActionTrigger)},
5918     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxPropertyGrid_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AddChild)},
5919     {SIP_MLNAME_CAST(sipName_AddToSelection), SIP_MLMETH_CAST(meth_wxPropertyGrid_AddToSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AddToSelection)},
5920     {SIP_MLNAME_CAST(sipName_AutoGetTranslation), SIP_MLMETH_CAST(meth_wxPropertyGrid_AutoGetTranslation), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_AutoGetTranslation)},
5921     {SIP_MLNAME_CAST(sipName_BeginLabelEdit), SIP_MLMETH_CAST(meth_wxPropertyGrid_BeginLabelEdit), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_BeginLabelEdit)},
5922     {SIP_MLNAME_CAST(sipName_CenterSplitter), SIP_MLMETH_CAST(meth_wxPropertyGrid_CenterSplitter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_CenterSplitter)},
5923     {SIP_MLNAME_CAST(sipName_ChangePropertyValue), SIP_MLMETH_CAST(meth_wxPropertyGrid_ChangePropertyValue), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ChangePropertyValue)},
5924     {SIP_MLNAME_CAST(sipName_Clear), meth_wxPropertyGrid_Clear, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_Clear)},
5925     {SIP_MLNAME_CAST(sipName_ClearActionTriggers), SIP_MLMETH_CAST(meth_wxPropertyGrid_ClearActionTriggers), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ClearActionTriggers)},
5926     {SIP_MLNAME_CAST(sipName_CommitChangesFromEditor), SIP_MLMETH_CAST(meth_wxPropertyGrid_CommitChangesFromEditor), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_CommitChangesFromEditor)},
5927     {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxPropertyGrid_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_Create)},
5928     {SIP_MLNAME_CAST(sipName_DedicateKey), SIP_MLMETH_CAST(meth_wxPropertyGrid_DedicateKey), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DedicateKey)},
5929     {SIP_MLNAME_CAST(sipName_Destroy), meth_wxPropertyGrid_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_Destroy)},
5930     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoEnable)},
5931     {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxPropertyGrid_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoFreeze)},
5932     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxPropertyGrid_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetBestClientSize)},
5933     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxPropertyGrid_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetBestSize)},
5934     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxPropertyGrid_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetBorderSize)},
5935     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetClientSize)},
5936     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetPosition)},
5937     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoGetSize)},
5938     {SIP_MLNAME_CAST(sipName_DoHidePropertyError), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoHidePropertyError), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoHidePropertyError)},
5939     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoMoveWindow)},
5940     {SIP_MLNAME_CAST(sipName_DoRegisterEditorClass), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoRegisterEditorClass), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoRegisterEditorClass)},
5941     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoSetClientSize)},
5942     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoSetSize)},
5943     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoSetSizeHints)},
5944     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoSetWindowVariant)},
5945     {SIP_MLNAME_CAST(sipName_DoShowPropertyError), SIP_MLMETH_CAST(meth_wxPropertyGrid_DoShowPropertyError), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoShowPropertyError)},
5946     {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxPropertyGrid_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_DoThaw)},
5947     {SIP_MLNAME_CAST(sipName_EditorsValueWasModified), meth_wxPropertyGrid_EditorsValueWasModified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_EditorsValueWasModified)},
5948     {SIP_MLNAME_CAST(sipName_EditorsValueWasNotModified), meth_wxPropertyGrid_EditorsValueWasNotModified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_EditorsValueWasNotModified)},
5949     {SIP_MLNAME_CAST(sipName_EnableCategories), SIP_MLMETH_CAST(meth_wxPropertyGrid_EnableCategories), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_EnableCategories)},
5950     {SIP_MLNAME_CAST(sipName_EndLabelEdit), SIP_MLMETH_CAST(meth_wxPropertyGrid_EndLabelEdit), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_EndLabelEdit)},
5951     {SIP_MLNAME_CAST(sipName_EnsureVisible), SIP_MLMETH_CAST(meth_wxPropertyGrid_EnsureVisible), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_EnsureVisible)},
5952     {SIP_MLNAME_CAST(sipName_FitColumns), meth_wxPropertyGrid_FitColumns, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_FitColumns)},
5953     {SIP_MLNAME_CAST(sipName_GetCaptionBackgroundColour), meth_wxPropertyGrid_GetCaptionBackgroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCaptionBackgroundColour)},
5954     {SIP_MLNAME_CAST(sipName_GetCaptionFont), meth_wxPropertyGrid_GetCaptionFont, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCaptionFont)},
5955     {SIP_MLNAME_CAST(sipName_GetCaptionForegroundColour), meth_wxPropertyGrid_GetCaptionForegroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCaptionForegroundColour)},
5956     {SIP_MLNAME_CAST(sipName_GetCellBackgroundColour), meth_wxPropertyGrid_GetCellBackgroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCellBackgroundColour)},
5957     {SIP_MLNAME_CAST(sipName_GetCellDisabledTextColour), meth_wxPropertyGrid_GetCellDisabledTextColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCellDisabledTextColour)},
5958     {SIP_MLNAME_CAST(sipName_GetCellTextColour), meth_wxPropertyGrid_GetCellTextColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetCellTextColour)},
5959     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetClassDefaultAttributes)},
5960     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxPropertyGrid_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetClientAreaOrigin)},
5961     {SIP_MLNAME_CAST(sipName_GetColumnCount), meth_wxPropertyGrid_GetColumnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetColumnCount)},
5962     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxPropertyGrid_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetDefaultBorder)},
5963     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxPropertyGrid_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetDefaultBorderForControl)},
5964     {SIP_MLNAME_CAST(sipName_GetEditorTextCtrl), meth_wxPropertyGrid_GetEditorTextCtrl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetEditorTextCtrl)},
5965     {SIP_MLNAME_CAST(sipName_GetEmptySpaceColour), meth_wxPropertyGrid_GetEmptySpaceColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetEmptySpaceColour)},
5966     {SIP_MLNAME_CAST(sipName_GetFontHeight), meth_wxPropertyGrid_GetFontHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetFontHeight)},
5967     {SIP_MLNAME_CAST(sipName_GetGrid), meth_wxPropertyGrid_GetGrid, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetGrid)},
5968     {SIP_MLNAME_CAST(sipName_GetImageRect), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetImageRect), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetImageRect)},
5969     {SIP_MLNAME_CAST(sipName_GetImageSize), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetImageSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetImageSize)},
5970     {SIP_MLNAME_CAST(sipName_GetLabelEditor), meth_wxPropertyGrid_GetLabelEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetLabelEditor)},
5971     {SIP_MLNAME_CAST(sipName_GetLastItem), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetLastItem), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetLastItem)},
5972     {SIP_MLNAME_CAST(sipName_GetLineColour), meth_wxPropertyGrid_GetLineColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetLineColour)},
5973     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxPropertyGrid_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetMainWindowOfCompositeControl)},
5974     {SIP_MLNAME_CAST(sipName_GetMarginColour), meth_wxPropertyGrid_GetMarginColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetMarginColour)},
5975     {SIP_MLNAME_CAST(sipName_GetPanel), meth_wxPropertyGrid_GetPanel, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetPanel)},
5976     {SIP_MLNAME_CAST(sipName_GetRoot), meth_wxPropertyGrid_GetRoot, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetRoot)},
5977     {SIP_MLNAME_CAST(sipName_GetRowHeight), meth_wxPropertyGrid_GetRowHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetRowHeight)},
5978     {SIP_MLNAME_CAST(sipName_GetSelectedProperty), meth_wxPropertyGrid_GetSelectedProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetSelectedProperty)},
5979     {SIP_MLNAME_CAST(sipName_GetSelection), meth_wxPropertyGrid_GetSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetSelection)},
5980     {SIP_MLNAME_CAST(sipName_GetSelectionBackgroundColour), meth_wxPropertyGrid_GetSelectionBackgroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetSelectionBackgroundColour)},
5981     {SIP_MLNAME_CAST(sipName_GetSelectionForegroundColour), meth_wxPropertyGrid_GetSelectionForegroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetSelectionForegroundColour)},
5982     {SIP_MLNAME_CAST(sipName_GetSplitterPosition), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetSplitterPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetSplitterPosition)},
5983     {SIP_MLNAME_CAST(sipName_GetStatusBar), meth_wxPropertyGrid_GetStatusBar, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetStatusBar)},
5984     {SIP_MLNAME_CAST(sipName_GetUncommittedPropertyValue), meth_wxPropertyGrid_GetUncommittedPropertyValue, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetUncommittedPropertyValue)},
5985     {SIP_MLNAME_CAST(sipName_GetUnspecifiedValueAppearance), meth_wxPropertyGrid_GetUnspecifiedValueAppearance, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetUnspecifiedValueAppearance)},
5986     {SIP_MLNAME_CAST(sipName_GetUnspecifiedValueText), SIP_MLMETH_CAST(meth_wxPropertyGrid_GetUnspecifiedValueText), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetUnspecifiedValueText)},
5987     {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxPropertyGrid_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetValidator)},
5988     {SIP_MLNAME_CAST(sipName_GetVerticalSpacing), meth_wxPropertyGrid_GetVerticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_GetVerticalSpacing)},
5989     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxPropertyGrid_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_HasTransparentBackground)},
5990     {SIP_MLNAME_CAST(sipName_HitTest), SIP_MLMETH_CAST(meth_wxPropertyGrid_HitTest), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_HitTest)},
5991     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxPropertyGrid_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_InformFirstDirection)},
5992     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxPropertyGrid_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_InheritAttributes)},
5993     {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxPropertyGrid_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_InitDialog)},
5994     {SIP_MLNAME_CAST(sipName_IsAnyModified), meth_wxPropertyGrid_IsAnyModified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_IsAnyModified)},
5995     {SIP_MLNAME_CAST(sipName_IsEditorFocused), meth_wxPropertyGrid_IsEditorFocused, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_IsEditorFocused)},
5996     {SIP_MLNAME_CAST(sipName_IsEditorsValueModified), meth_wxPropertyGrid_IsEditorsValueModified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_IsEditorsValueModified)},
5997     {SIP_MLNAME_CAST(sipName_IsFrozen), meth_wxPropertyGrid_IsFrozen, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_IsFrozen)},
5998     {SIP_MLNAME_CAST(sipName_MakeColumnEditable), SIP_MLMETH_CAST(meth_wxPropertyGrid_MakeColumnEditable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_MakeColumnEditable)},
5999     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxPropertyGrid_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_OnInternalIdle)},
6000     {SIP_MLNAME_CAST(sipName_OnTLPChanging), SIP_MLMETH_CAST(meth_wxPropertyGrid_OnTLPChanging), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_OnTLPChanging)},
6001     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxPropertyGrid_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ProcessEvent)},
6002     {SIP_MLNAME_CAST(sipName_RefreshEditor), meth_wxPropertyGrid_RefreshEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_RefreshEditor)},
6003     {SIP_MLNAME_CAST(sipName_RefreshProperty), SIP_MLMETH_CAST(meth_wxPropertyGrid_RefreshProperty), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_RefreshProperty)},
6004     {SIP_MLNAME_CAST(sipName_RegisterEditorClass), SIP_MLMETH_CAST(meth_wxPropertyGrid_RegisterEditorClass), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_RegisterEditorClass)},
6005     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxPropertyGrid_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_RemoveChild)},
6006     {SIP_MLNAME_CAST(sipName_RemoveFromSelection), SIP_MLMETH_CAST(meth_wxPropertyGrid_RemoveFromSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_RemoveFromSelection)},
6007     {SIP_MLNAME_CAST(sipName_ResetColours), meth_wxPropertyGrid_ResetColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ResetColours)},
6008     {SIP_MLNAME_CAST(sipName_ResetColumnSizes), SIP_MLMETH_CAST(meth_wxPropertyGrid_ResetColumnSizes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ResetColumnSizes)},
6009     {SIP_MLNAME_CAST(sipName_SelectProperty), SIP_MLMETH_CAST(meth_wxPropertyGrid_SelectProperty), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SelectProperty)},
6010     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxPropertyGrid_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
6011     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCanFocus)},
6012     {SIP_MLNAME_CAST(sipName_SetCaptionBackgroundColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCaptionBackgroundColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCaptionBackgroundColour)},
6013     {SIP_MLNAME_CAST(sipName_SetCaptionTextColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCaptionTextColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCaptionTextColour)},
6014     {SIP_MLNAME_CAST(sipName_SetCellBackgroundColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCellBackgroundColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCellBackgroundColour)},
6015     {SIP_MLNAME_CAST(sipName_SetCellDisabledTextColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCellDisabledTextColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCellDisabledTextColour)},
6016     {SIP_MLNAME_CAST(sipName_SetCellTextColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCellTextColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCellTextColour)},
6017     {SIP_MLNAME_CAST(sipName_SetColumnCount), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetColumnCount), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetColumnCount)},
6018     {SIP_MLNAME_CAST(sipName_SetCurrentCategory), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetCurrentCategory), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetCurrentCategory)},
6019     {SIP_MLNAME_CAST(sipName_SetEmptySpaceColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetEmptySpaceColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetEmptySpaceColour)},
6020     {SIP_MLNAME_CAST(sipName_SetLineColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetLineColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetLineColour)},
6021     {SIP_MLNAME_CAST(sipName_SetMarginColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetMarginColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetMarginColour)},
6022     {SIP_MLNAME_CAST(sipName_SetSelection), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetSelection)},
6023     {SIP_MLNAME_CAST(sipName_SetSelectionBackgroundColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetSelectionBackgroundColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetSelectionBackgroundColour)},
6024     {SIP_MLNAME_CAST(sipName_SetSelectionTextColour), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetSelectionTextColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetSelectionTextColour)},
6025     {SIP_MLNAME_CAST(sipName_SetSplitterLeft), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetSplitterLeft), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetSplitterLeft)},
6026     {SIP_MLNAME_CAST(sipName_SetSplitterPosition), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetSplitterPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetSplitterPosition)},
6027     {SIP_MLNAME_CAST(sipName_SetUnspecifiedValueAppearance), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetUnspecifiedValueAppearance), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetUnspecifiedValueAppearance)},
6028     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetValidator)},
6029     {SIP_MLNAME_CAST(sipName_SetVerticalSpacing), SIP_MLMETH_CAST(meth_wxPropertyGrid_SetVerticalSpacing), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_SetVerticalSpacing)},
6030     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxPropertyGrid_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ShouldInheritColours)},
6031     {SIP_MLNAME_CAST(sipName_ShowPropertyError), SIP_MLMETH_CAST(meth_wxPropertyGrid_ShowPropertyError), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_ShowPropertyError)},
6032     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxPropertyGrid_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_TransferDataFromWindow)},
6033     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxPropertyGrid_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_TransferDataToWindow)},
6034     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxPropertyGrid_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_TryAfter)},
6035     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxPropertyGrid_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPropertyGrid_TryBefore)},
6036     {SIP_MLNAME_CAST(sipName_Validate), meth_wxPropertyGrid_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_Validate)},
6037     {SIP_MLNAME_CAST(sipName_WasValueChangedInEvent), meth_wxPropertyGrid_WasValueChangedInEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPropertyGrid_WasValueChangedInEvent)}
6038 };
6039 
6040 sipVariableDef variables_wxPropertyGrid[] = {
6041     {PropertyVariable, sipName_VerticalSpacing, &methods_wxPropertyGrid[74], &methods_wxPropertyGrid[115], SIP_NULLPTR, SIP_NULLPTR},
6042     {PropertyVariable, sipName_UnspecifiedValueText, &methods_wxPropertyGrid[72], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6043     {PropertyVariable, sipName_UnspecifiedValueAppearance, &methods_wxPropertyGrid[71], &methods_wxPropertyGrid[113], SIP_NULLPTR, SIP_NULLPTR},
6044     {PropertyVariable, sipName_UncommittedPropertyValue, &methods_wxPropertyGrid[70], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6045     {PropertyVariable, sipName_StatusBar, &methods_wxPropertyGrid[69], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6046     {PropertyVariable, sipName_SplitterPosition, &methods_wxPropertyGrid[68], &methods_wxPropertyGrid[112], SIP_NULLPTR, SIP_NULLPTR},
6047     {PropertyVariable, sipName_SelectionForegroundColour, &methods_wxPropertyGrid[67], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6048     {PropertyVariable, sipName_SelectionBackgroundColour, &methods_wxPropertyGrid[66], &methods_wxPropertyGrid[109], SIP_NULLPTR, SIP_NULLPTR},
6049     {PropertyVariable, sipName_Selection, &methods_wxPropertyGrid[65], &methods_wxPropertyGrid[108], SIP_NULLPTR, SIP_NULLPTR},
6050     {PropertyVariable, sipName_SelectedProperty, &methods_wxPropertyGrid[64], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6051     {PropertyVariable, sipName_RowHeight, &methods_wxPropertyGrid[63], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6052     {PropertyVariable, sipName_Root, &methods_wxPropertyGrid[62], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6053     {PropertyVariable, sipName_Panel, &methods_wxPropertyGrid[61], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6054     {PropertyVariable, sipName_MarginColour, &methods_wxPropertyGrid[60], &methods_wxPropertyGrid[107], SIP_NULLPTR, SIP_NULLPTR},
6055     {PropertyVariable, sipName_LineColour, &methods_wxPropertyGrid[58], &methods_wxPropertyGrid[106], SIP_NULLPTR, SIP_NULLPTR},
6056     {PropertyVariable, sipName_LastItem, &methods_wxPropertyGrid[57], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6057     {PropertyVariable, sipName_LabelEditor, &methods_wxPropertyGrid[56], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6058     {PropertyVariable, sipName_ImageSize, &methods_wxPropertyGrid[55], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6059     {PropertyVariable, sipName_Grid, &methods_wxPropertyGrid[53], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6060     {PropertyVariable, sipName_FontHeight, &methods_wxPropertyGrid[52], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6061     {PropertyVariable, sipName_EmptySpaceColour, &methods_wxPropertyGrid[51], &methods_wxPropertyGrid[105], SIP_NULLPTR, SIP_NULLPTR},
6062     {PropertyVariable, sipName_EditorTextCtrl, &methods_wxPropertyGrid[50], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6063     {PropertyVariable, sipName_ColumnCount, &methods_wxPropertyGrid[47], &methods_wxPropertyGrid[103], SIP_NULLPTR, SIP_NULLPTR},
6064     {PropertyVariable, sipName_CellTextColour, &methods_wxPropertyGrid[44], &methods_wxPropertyGrid[102], SIP_NULLPTR, SIP_NULLPTR},
6065     {PropertyVariable, sipName_CellDisabledTextColour, &methods_wxPropertyGrid[43], &methods_wxPropertyGrid[101], SIP_NULLPTR, SIP_NULLPTR},
6066     {PropertyVariable, sipName_CellBackgroundColour, &methods_wxPropertyGrid[42], &methods_wxPropertyGrid[100], SIP_NULLPTR, SIP_NULLPTR},
6067     {PropertyVariable, sipName_CaptionForegroundColour, &methods_wxPropertyGrid[41], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6068     {PropertyVariable, sipName_CaptionFont, &methods_wxPropertyGrid[40], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6069     {PropertyVariable, sipName_CaptionBackgroundColour, &methods_wxPropertyGrid[39], &methods_wxPropertyGrid[98], SIP_NULLPTR, SIP_NULLPTR},
6070 };
6071 
6072 PyDoc_STRVAR(doc_wxPropertyGrid, "PropertyGrid()\n"
6073 "PropertyGrid(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=PG_DEFAULT_STYLE, name=PropertyGridNameStr)\n"
6074 "\n"
6075 "wxPropertyGrid is a specialized grid for editing properties - in other\n"
6076 "words name = value pairs.");
6077 
6078 
6079 sipClassTypeDef sipTypeDef__propgrid_wxPropertyGrid = {
6080     {
6081         -1,
6082         SIP_NULLPTR,
6083         SIP_NULLPTR,
6084         SIP_TYPE_SCC|SIP_TYPE_CLASS,
6085         sipNameNr_wxPropertyGrid,
6086         {SIP_NULLPTR},
6087         SIP_NULLPTR
6088     },
6089     {
6090         sipNameNr_PropertyGrid,
6091         {0, 0, 1},
6092         124, methods_wxPropertyGrid,
6093         0, SIP_NULLPTR,
6094         29, variables_wxPropertyGrid,
6095         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
6096     },
6097     doc_wxPropertyGrid,
6098     -1,
6099     -1,
6100     supers_wxPropertyGrid,
6101     SIP_NULLPTR,
6102     init_type_wxPropertyGrid,
6103     SIP_NULLPTR,
6104     SIP_NULLPTR,
6105 #if PY_MAJOR_VERSION >= 3
6106     SIP_NULLPTR,
6107     SIP_NULLPTR,
6108 #else
6109     SIP_NULLPTR,
6110     SIP_NULLPTR,
6111     SIP_NULLPTR,
6112     SIP_NULLPTR,
6113 #endif
6114     dealloc_wxPropertyGrid,
6115     SIP_NULLPTR,
6116     SIP_NULLPTR,
6117     SIP_NULLPTR,
6118     release_wxPropertyGrid,
6119     cast_wxPropertyGrid,
6120     SIP_NULLPTR,
6121     SIP_NULLPTR,
6122     SIP_NULLPTR,
6123     SIP_NULLPTR,
6124     SIP_NULLPTR,
6125     SIP_NULLPTR
6126 };
6127