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_richtext.h"
11 
12         #include <wx/richtext/richtextbuffer.h>
13 
14         #include <wx/richtext/richtextbuffer.h>
15         #include <wx/richtext/richtextbuffer.h>
16         #include <wx/gdicmn.h>
17         #include <wx/dc.h>
18         #include <wx/richtext/richtextbuffer.h>
19         #include <wx/gdicmn.h>
20         #include <wx/gdicmn.h>
21         #include <wx/window.h>
22         #include <wx/richtext/richtextbuffer.h>
23         #include <wx/richtext/richtextbuffer.h>
24 
25         #include <wx/richtext/richtextbuffer.h>
26         #include <wx/richtext/richtextstyles.h>
27         #include <wx/richtext/richtextbuffer.h>
28         #include <wx/richtext/richtextbuffer.h>
29         #include <wx/richtext/richtextbuffer.h>
30         #include <wx/richtext/richtextstyles.h>
31         #include <wx/richtext/richtextbuffer.h>
32         #include <wx/image.h>
33         #include <wx/richtext/richtextctrl.h>
34         #include <wx/richtext/richtextbuffer.h>
35         #include <wx/richtext/richtextbuffer.h>
36         #include <wx/xml/xml.h>
37         #include <wx/richtext/richtextxml.h>
38         #include <wx/richtext/richtextbuffer.h>
39         #include <wx/richtext/richtextbuffer.h>
40         #include <wx/object.h>
41         #include <wx/object.h>
42         #include <wx/object.h>
43 
44 
45 class sipwxRichTextCell : public  ::wxRichTextCell
46 {
47 public:
48     sipwxRichTextCell( ::wxRichTextObject*);
49     sipwxRichTextCell(const  ::wxRichTextCell&);
50     virtual ~sipwxRichTextCell();
51 
52     /*
53      * There is a protected method for every virtual method visible from
54      * this class.
55      */
56 protected:
57     bool UpdateFloatingObjects(const  ::wxRect&, ::wxRichTextObject*) SIP_OVERRIDE;
58     void InvalidateHierarchy(const  ::wxRichTextRange&) SIP_OVERRIDE;
59     void DoInvalidate(const  ::wxRichTextRange&) SIP_OVERRIDE;
60     const  ::wxRichTextAttr& GetBasicStyle() const SIP_OVERRIDE;
61     void SetBasicStyle(const  ::wxRichTextAttr&) SIP_OVERRIDE;
62     const  ::wxRichTextAttr& GetDefaultStyle() const SIP_OVERRIDE;
63     bool SetDefaultStyle(const  ::wxRichTextAttr&) SIP_OVERRIDE;
64      ::wxString GetText() const SIP_OVERRIDE;
65     void UpdateRanges() SIP_OVERRIDE;
66     bool ApplyStyleSheet( ::wxRichTextStyleSheet*) SIP_OVERRIDE;
67     bool CopyFragment(const  ::wxRichTextRange&, ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
68     bool InsertFragment(long, ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
69     void PrepareContent( ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
70     bool HasParagraphAttributes(const  ::wxRichTextRange&,const  ::wxRichTextAttr&) const SIP_OVERRIDE;
71     bool HasCharacterAttributes(const  ::wxRichTextRange&,const  ::wxRichTextAttr&) const SIP_OVERRIDE;
72     bool SetObjectPropertiesWithUndo( ::wxRichTextObject&,const  ::wxRichTextProperties&, ::wxRichTextObject*) SIP_OVERRIDE;
73     bool SetProperties(const  ::wxRichTextRange&,const  ::wxRichTextProperties&,int) SIP_OVERRIDE;
74     bool FindNextParagraphNumber( ::wxRichTextParagraph*, ::wxRichTextAttr&) const SIP_OVERRIDE;
75     bool DoNumberList(const  ::wxRichTextRange&,const  ::wxRichTextRange&,int, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
76     bool ClearListStyle(const  ::wxRichTextRange&,int) SIP_OVERRIDE;
77     bool GetStyleForRange(const  ::wxRichTextRange&, ::wxRichTextAttr&) SIP_OVERRIDE;
78     bool DoGetStyle(long, ::wxRichTextAttr&,bool) SIP_OVERRIDE;
79     bool GetUncombinedStyle(long, ::wxRichTextAttr&) SIP_OVERRIDE;
80     bool GetStyle(long, ::wxRichTextAttr&) SIP_OVERRIDE;
81     void SetStyle( ::wxRichTextObject*,const  ::wxRichTextAttr&,int) SIP_OVERRIDE;
82     bool SetStyle(const  ::wxRichTextRange&,const  ::wxRichTextAttr&,int) SIP_OVERRIDE;
83     bool PositionToXY(long,long*,long*) const SIP_OVERRIDE;
84     long XYToPosition(long,long) const SIP_OVERRIDE;
85      ::wxString GetParagraphText(long) const SIP_OVERRIDE;
86     int GetLineCount() const SIP_OVERRIDE;
87     int GetParagraphCount() const SIP_OVERRIDE;
88     int GetParagraphLength(long) const SIP_OVERRIDE;
89      ::wxRichTextParagraph* GetParagraphForLine( ::wxRichTextLine*) const SIP_OVERRIDE;
90      ::wxRichTextParagraph* GetParagraphAtLine(long) const SIP_OVERRIDE;
91      ::wxRichTextObject* GetLeafObjectAtPosition(long) const SIP_OVERRIDE;
92      ::wxRichTextLine* GetLineForVisibleLineNumber(long) const SIP_OVERRIDE;
93     long GetVisibleLineNumber(long,bool,bool) const SIP_OVERRIDE;
94      ::wxSize GetLineSizeAtPosition(long,bool) const SIP_OVERRIDE;
95      ::wxRichTextParagraph* GetParagraphAtPosition(long,bool) const SIP_OVERRIDE;
96      ::wxRichTextLine* GetLineAtYPosition(int) const SIP_OVERRIDE;
97      ::wxRichTextLine* GetLineAtPosition(long,bool) const SIP_OVERRIDE;
98      ::wxRichTextRange AddParagraphs(const  ::wxString&, ::wxRichTextAttr*) SIP_OVERRIDE;
99      ::wxRichTextRange AddImage(const  ::wxImage&, ::wxRichTextAttr*) SIP_OVERRIDE;
100      ::wxRichTextRange AddParagraph(const  ::wxString&, ::wxRichTextAttr*) SIP_OVERRIDE;
101     void Reset() SIP_OVERRIDE;
102     void Clear() SIP_OVERRIDE;
103      ::wxRichTextStyleSheet* GetStyleSheet() const SIP_OVERRIDE;
104     bool PromoteList(int,const  ::wxRichTextRange&,const  ::wxString&,int,int) SIP_OVERRIDE;
105     bool PromoteList(int,const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int) SIP_OVERRIDE;
106     bool NumberList(const  ::wxRichTextRange&,const  ::wxString&,int,int,int) SIP_OVERRIDE;
107     bool NumberList(const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
108     bool SetListStyle(const  ::wxRichTextRange&,const  ::wxString&,int,int,int) SIP_OVERRIDE;
109     bool SetListStyle(const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
110     void Move(const  ::wxPoint&) SIP_OVERRIDE;
111      ::wxRichTextObject* Clone() const SIP_OVERRIDE;
112     void Show(bool) SIP_OVERRIDE;
113     bool IsTopLevel() const SIP_OVERRIDE;
114     bool AdjustAttributes( ::wxRichTextAttr&, ::wxRichTextDrawingContext&) SIP_OVERRIDE;
115     bool LayoutToBestSize( ::wxDC&, ::wxRichTextDrawingContext&, ::wxRichTextBuffer*,const  ::wxRichTextAttr&,const  ::wxRichTextAttr&,const  ::wxRect&,const  ::wxRect&,int) SIP_OVERRIDE;
116      ::wxRect GetAvailableContentArea( ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRect&) const SIP_OVERRIDE;
117     int GetBottomMargin() const SIP_OVERRIDE;
118     int GetTopMargin() const SIP_OVERRIDE;
119     int GetRightMargin() const SIP_OVERRIDE;
120     int GetLeftMargin() const SIP_OVERRIDE;
121     void SetMargins(int,int,int,int) SIP_OVERRIDE;
122     void SetMargins(int) SIP_OVERRIDE;
123      ::wxRichTextParagraphLayoutBox* GetParentContainer() const SIP_OVERRIDE;
124      ::wxRichTextParagraphLayoutBox* GetContainer() const SIP_OVERRIDE;
125     void SetParent( ::wxRichTextObject*) SIP_OVERRIDE;
126      ::wxRichTextObject* GetParent() const SIP_OVERRIDE;
127     bool IsAtomic() const SIP_OVERRIDE;
128     bool IsComposite() const SIP_OVERRIDE;
129      ::wxRect GetRect() const SIP_OVERRIDE;
130      ::wxPoint GetAbsolutePosition() const SIP_OVERRIDE;
131     void SetPosition(const  ::wxPoint&) SIP_OVERRIDE;
132      ::wxPoint GetPosition() const SIP_OVERRIDE;
133      ::wxTextAttrSize GetNaturalSize() const SIP_OVERRIDE;
134     void SetMinSize(const  ::wxSize&) SIP_OVERRIDE;
135      ::wxSize GetMinSize() const SIP_OVERRIDE;
136     void SetMaxSize(const  ::wxSize&) SIP_OVERRIDE;
137      ::wxSize GetMaxSize() const SIP_OVERRIDE;
138     void SetCachedSize(const  ::wxSize&) SIP_OVERRIDE;
139      ::wxSize GetCachedSize() const SIP_OVERRIDE;
140      ::wxRichTextSelection GetSelection(long,long) const SIP_OVERRIDE;
141     bool HandlesChildSelections() const SIP_OVERRIDE;
142     void Invalidate(const  ::wxRichTextRange&) SIP_OVERRIDE;
143      ::wxString GetXMLNodeName() const SIP_OVERRIDE;
144     bool UsesParagraphAttributes() const SIP_OVERRIDE;
145     bool ImportFromXML( ::wxRichTextBuffer*, ::wxXmlNode*, ::wxRichTextXMLHandler*,bool*) SIP_OVERRIDE;
146     bool AcceptsFocus() const SIP_OVERRIDE;
147      ::wxString GetPropertiesMenuLabel() const SIP_OVERRIDE;
148     bool EditProperties( ::wxWindow*, ::wxRichTextBuffer*) SIP_OVERRIDE;
149     bool CanEditProperties() const SIP_OVERRIDE;
150      ::wxRichTextObject* Split( ::wxRichTextDrawingContext&) SIP_OVERRIDE;
151     bool CanSplit( ::wxRichTextDrawingContext&) const SIP_OVERRIDE;
152     bool Merge( ::wxRichTextObject*, ::wxRichTextDrawingContext&) SIP_OVERRIDE;
153     bool CanMerge( ::wxRichTextObject*, ::wxRichTextDrawingContext&) const SIP_OVERRIDE;
154      ::wxString GetTextForRange(const  ::wxRichTextRange&) const SIP_OVERRIDE;
155     int GetFloatDirection() const SIP_OVERRIDE;
156     bool IsFloating() const SIP_OVERRIDE;
157     bool IsFloatable() const SIP_OVERRIDE;
158     bool IsEmpty() const SIP_OVERRIDE;
159     bool DeleteRange(const  ::wxRichTextRange&) SIP_OVERRIDE;
160     void CalculateRange(long,long&) SIP_OVERRIDE;
161      ::wxRichTextObject* DoSplit(long) SIP_OVERRIDE;
162     bool GetRangeSize(const  ::wxRichTextRange&, ::wxSize&,int&, ::wxDC&, ::wxRichTextDrawingContext&,int,const  ::wxPoint&,const  ::wxSize&, ::wxArrayInt*) const SIP_OVERRIDE;
163      ::wxSize GetBestSize() const SIP_OVERRIDE;
164     bool FindPosition( ::wxDC&, ::wxRichTextDrawingContext&,long, ::wxPoint&,int*,bool) SIP_OVERRIDE;
165     int HitTest( ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxPoint&,long&, ::wxRichTextObject**, ::wxRichTextObject**,int) SIP_OVERRIDE;
166     bool Layout( ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRect&,const  ::wxRect&,int) SIP_OVERRIDE;
167     bool Draw( ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRichTextRange&,const  ::wxRichTextSelection&,const  ::wxRect&,int,int) SIP_OVERRIDE;
168      ::wxRichTextObject* GetChildAtPosition(long) const SIP_OVERRIDE;
169 
170 public:
171     sipSimpleWrapper *sipPySelf;
172 
173 private:
174     sipwxRichTextCell(const sipwxRichTextCell &);
175     sipwxRichTextCell &operator = (const sipwxRichTextCell &);
176 
177     char sipPyMethods[112];
178 };
179 
sipwxRichTextCell(::wxRichTextObject * parent)180 sipwxRichTextCell::sipwxRichTextCell( ::wxRichTextObject*parent):  ::wxRichTextCell(parent), sipPySelf(SIP_NULLPTR)
181 {
182     memset(sipPyMethods, 0, sizeof (sipPyMethods));
183 }
184 
sipwxRichTextCell(const::wxRichTextCell & obj)185 sipwxRichTextCell::sipwxRichTextCell(const  ::wxRichTextCell& obj):  ::wxRichTextCell(obj), sipPySelf(SIP_NULLPTR)
186 {
187     memset(sipPyMethods, 0, sizeof (sipPyMethods));
188 }
189 
~sipwxRichTextCell()190 sipwxRichTextCell::~sipwxRichTextCell()
191 {
192     sipInstanceDestroyedEx(&sipPySelf);
193 }
194 
UpdateFloatingObjects(const::wxRect & availableRect,::wxRichTextObject * untilObj)195 bool sipwxRichTextCell::UpdateFloatingObjects(const  ::wxRect& availableRect, ::wxRichTextObject*untilObj)
196 {
197     sip_gilstate_t sipGILState;
198     PyObject *sipMeth;
199 
200     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_UpdateFloatingObjects);
201 
202     if (!sipMeth)
203         return  ::wxRichTextCell::UpdateFloatingObjects(availableRect,untilObj);
204 
205     extern bool sipVH__richtext_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRect&, ::wxRichTextObject*);
206 
207     return sipVH__richtext_73(sipGILState, 0, sipPySelf, sipMeth, availableRect, untilObj);
208 }
209 
InvalidateHierarchy(const::wxRichTextRange & invalidRange)210 void sipwxRichTextCell::InvalidateHierarchy(const  ::wxRichTextRange& invalidRange)
211 {
212     sip_gilstate_t sipGILState;
213     PyObject *sipMeth;
214 
215     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_InvalidateHierarchy);
216 
217     if (!sipMeth)
218     {
219          ::wxRichTextCell::InvalidateHierarchy(invalidRange);
220         return;
221     }
222 
223     extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&);
224 
225     sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
226 }
227 
DoInvalidate(const::wxRichTextRange & invalidRange)228 void sipwxRichTextCell::DoInvalidate(const  ::wxRichTextRange& invalidRange)
229 {
230     sip_gilstate_t sipGILState;
231     PyObject *sipMeth;
232 
233     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_DoInvalidate);
234 
235     if (!sipMeth)
236     {
237          ::wxRichTextCell::DoInvalidate(invalidRange);
238         return;
239     }
240 
241     extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&);
242 
243     sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
244 }
245 
GetBasicStyle() const246 const  ::wxRichTextAttr& sipwxRichTextCell::GetBasicStyle() const
247 {
248     sip_gilstate_t sipGILState;
249     PyObject *sipMeth;
250 
251     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,SIP_NULLPTR,sipName_GetBasicStyle);
252 
253     if (!sipMeth)
254         return  ::wxRichTextCell::GetBasicStyle();
255 
256     extern const  ::wxRichTextAttr& sipVH__richtext_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
257 
258     return sipVH__richtext_71(sipGILState, 0, sipPySelf, sipMeth);
259 }
260 
SetBasicStyle(const::wxRichTextAttr & style)261 void sipwxRichTextCell::SetBasicStyle(const  ::wxRichTextAttr& style)
262 {
263     sip_gilstate_t sipGILState;
264     PyObject *sipMeth;
265 
266     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_SetBasicStyle);
267 
268     if (!sipMeth)
269     {
270          ::wxRichTextCell::SetBasicStyle(style);
271         return;
272     }
273 
274     extern void sipVH__richtext_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextAttr&);
275 
276     sipVH__richtext_72(sipGILState, 0, sipPySelf, sipMeth, style);
277 }
278 
GetDefaultStyle() const279 const  ::wxRichTextAttr& sipwxRichTextCell::GetDefaultStyle() const
280 {
281     sip_gilstate_t sipGILState;
282     PyObject *sipMeth;
283 
284     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultStyle);
285 
286     if (!sipMeth)
287         return  ::wxRichTextCell::GetDefaultStyle();
288 
289     extern const  ::wxRichTextAttr& sipVH__richtext_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
290 
291     return sipVH__richtext_71(sipGILState, 0, sipPySelf, sipMeth);
292 }
293 
SetDefaultStyle(const::wxRichTextAttr & style)294 bool sipwxRichTextCell::SetDefaultStyle(const  ::wxRichTextAttr& style)
295 {
296     sip_gilstate_t sipGILState;
297     PyObject *sipMeth;
298 
299     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_SetDefaultStyle);
300 
301     if (!sipMeth)
302         return  ::wxRichTextCell::SetDefaultStyle(style);
303 
304     extern bool sipVH__richtext_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextAttr&);
305 
306     return sipVH__richtext_70(sipGILState, 0, sipPySelf, sipMeth, style);
307 }
308 
GetText() const309  ::wxString sipwxRichTextCell::GetText() const
310 {
311     sip_gilstate_t sipGILState;
312     PyObject *sipMeth;
313 
314     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_GetText);
315 
316     if (!sipMeth)
317         return  ::wxRichTextCell::GetText();
318 
319     extern  ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
320 
321     return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
322 }
323 
UpdateRanges()324 void sipwxRichTextCell::UpdateRanges()
325 {
326     sip_gilstate_t sipGILState;
327     PyObject *sipMeth;
328 
329     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_UpdateRanges);
330 
331     if (!sipMeth)
332     {
333          ::wxRichTextCell::UpdateRanges();
334         return;
335     }
336 
337     extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
338 
339     sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
340 }
341 
ApplyStyleSheet(::wxRichTextStyleSheet * styleSheet)342 bool sipwxRichTextCell::ApplyStyleSheet( ::wxRichTextStyleSheet*styleSheet)
343 {
344     sip_gilstate_t sipGILState;
345     PyObject *sipMeth;
346 
347     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_ApplyStyleSheet);
348 
349     if (!sipMeth)
350         return  ::wxRichTextCell::ApplyStyleSheet(styleSheet);
351 
352     extern bool sipVH__richtext_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextStyleSheet*);
353 
354     return sipVH__richtext_69(sipGILState, 0, sipPySelf, sipMeth, styleSheet);
355 }
356 
CopyFragment(const::wxRichTextRange & range,::wxRichTextParagraphLayoutBox & fragment)357 bool sipwxRichTextCell::CopyFragment(const  ::wxRichTextRange& range, ::wxRichTextParagraphLayoutBox& fragment)
358 {
359     sip_gilstate_t sipGILState;
360     PyObject *sipMeth;
361 
362     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_CopyFragment);
363 
364     if (!sipMeth)
365         return  ::wxRichTextCell::CopyFragment(range,fragment);
366 
367     extern bool sipVH__richtext_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&, ::wxRichTextParagraphLayoutBox&);
368 
369     return sipVH__richtext_68(sipGILState, 0, sipPySelf, sipMeth, range, fragment);
370 }
371 
InsertFragment(long position,::wxRichTextParagraphLayoutBox & fragment)372 bool sipwxRichTextCell::InsertFragment(long position, ::wxRichTextParagraphLayoutBox& fragment)
373 {
374     sip_gilstate_t sipGILState;
375     PyObject *sipMeth;
376 
377     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_InsertFragment);
378 
379     if (!sipMeth)
380         return  ::wxRichTextCell::InsertFragment(position,fragment);
381 
382     extern bool sipVH__richtext_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextParagraphLayoutBox&);
383 
384     return sipVH__richtext_67(sipGILState, 0, sipPySelf, sipMeth, position, fragment);
385 }
386 
PrepareContent(::wxRichTextParagraphLayoutBox & container)387 void sipwxRichTextCell::PrepareContent( ::wxRichTextParagraphLayoutBox& container)
388 {
389     sip_gilstate_t sipGILState;
390     PyObject *sipMeth;
391 
392     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_PrepareContent);
393 
394     if (!sipMeth)
395     {
396          ::wxRichTextCell::PrepareContent(container);
397         return;
398     }
399 
400     extern void sipVH__richtext_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextParagraphLayoutBox&);
401 
402     sipVH__richtext_66(sipGILState, 0, sipPySelf, sipMeth, container);
403 }
404 
HasParagraphAttributes(const::wxRichTextRange & range,const::wxRichTextAttr & style) const405 bool sipwxRichTextCell::HasParagraphAttributes(const  ::wxRichTextRange& range,const  ::wxRichTextAttr& style) const
406 {
407     sip_gilstate_t sipGILState;
408     PyObject *sipMeth;
409 
410     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_HasParagraphAttributes);
411 
412     if (!sipMeth)
413         return  ::wxRichTextCell::HasParagraphAttributes(range,style);
414 
415     extern bool sipVH__richtext_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxRichTextAttr&);
416 
417     return sipVH__richtext_65(sipGILState, 0, sipPySelf, sipMeth, range, style);
418 }
419 
HasCharacterAttributes(const::wxRichTextRange & range,const::wxRichTextAttr & style) const420 bool sipwxRichTextCell::HasCharacterAttributes(const  ::wxRichTextRange& range,const  ::wxRichTextAttr& style) const
421 {
422     sip_gilstate_t sipGILState;
423     PyObject *sipMeth;
424 
425     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_HasCharacterAttributes);
426 
427     if (!sipMeth)
428         return  ::wxRichTextCell::HasCharacterAttributes(range,style);
429 
430     extern bool sipVH__richtext_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxRichTextAttr&);
431 
432     return sipVH__richtext_65(sipGILState, 0, sipPySelf, sipMeth, range, style);
433 }
434 
SetObjectPropertiesWithUndo(::wxRichTextObject & obj,const::wxRichTextProperties & properties,::wxRichTextObject * objToSet)435 bool sipwxRichTextCell::SetObjectPropertiesWithUndo( ::wxRichTextObject& obj,const  ::wxRichTextProperties& properties, ::wxRichTextObject*objToSet)
436 {
437     sip_gilstate_t sipGILState;
438     PyObject *sipMeth;
439 
440     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_SetObjectPropertiesWithUndo);
441 
442     if (!sipMeth)
443         return  ::wxRichTextCell::SetObjectPropertiesWithUndo(obj,properties,objToSet);
444 
445     extern bool sipVH__richtext_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextObject&,const  ::wxRichTextProperties&, ::wxRichTextObject*);
446 
447     return sipVH__richtext_64(sipGILState, 0, sipPySelf, sipMeth, obj, properties, objToSet);
448 }
449 
SetProperties(const::wxRichTextRange & range,const::wxRichTextProperties & properties,int flags)450 bool sipwxRichTextCell::SetProperties(const  ::wxRichTextRange& range,const  ::wxRichTextProperties& properties,int flags)
451 {
452     sip_gilstate_t sipGILState;
453     PyObject *sipMeth;
454 
455     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_SetProperties);
456 
457     if (!sipMeth)
458         return  ::wxRichTextCell::SetProperties(range,properties,flags);
459 
460     extern bool sipVH__richtext_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxRichTextProperties&,int);
461 
462     return sipVH__richtext_63(sipGILState, 0, sipPySelf, sipMeth, range, properties, flags);
463 }
464 
FindNextParagraphNumber(::wxRichTextParagraph * previousParagraph,::wxRichTextAttr & attr) const465 bool sipwxRichTextCell::FindNextParagraphNumber( ::wxRichTextParagraph*previousParagraph, ::wxRichTextAttr& attr) const
466 {
467     sip_gilstate_t sipGILState;
468     PyObject *sipMeth;
469 
470     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,SIP_NULLPTR,sipName_FindNextParagraphNumber);
471 
472     if (!sipMeth)
473         return  ::wxRichTextCell::FindNextParagraphNumber(previousParagraph,attr);
474 
475     extern bool sipVH__richtext_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextParagraph*, ::wxRichTextAttr&);
476 
477     return sipVH__richtext_62(sipGILState, 0, sipPySelf, sipMeth, previousParagraph, attr);
478 }
479 
DoNumberList(const::wxRichTextRange & range,const::wxRichTextRange & promotionRange,int promoteBy,::wxRichTextListStyleDefinition * styleDef,int flags,int startFrom,int specifiedLevel)480 bool sipwxRichTextCell::DoNumberList(const  ::wxRichTextRange& range,const  ::wxRichTextRange& promotionRange,int promoteBy, ::wxRichTextListStyleDefinition*styleDef,int flags,int startFrom,int specifiedLevel)
481 {
482     sip_gilstate_t sipGILState;
483     PyObject *sipMeth;
484 
485     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_DoNumberList);
486 
487     if (!sipMeth)
488         return  ::wxRichTextCell::DoNumberList(range,promotionRange,promoteBy,styleDef,flags,startFrom,specifiedLevel);
489 
490     extern bool sipVH__richtext_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxRichTextRange&,int, ::wxRichTextListStyleDefinition*,int,int,int);
491 
492     return sipVH__richtext_61(sipGILState, 0, sipPySelf, sipMeth, range, promotionRange, promoteBy, styleDef, flags, startFrom, specifiedLevel);
493 }
494 
ClearListStyle(const::wxRichTextRange & range,int flags)495 bool sipwxRichTextCell::ClearListStyle(const  ::wxRichTextRange& range,int flags)
496 {
497     sip_gilstate_t sipGILState;
498     PyObject *sipMeth;
499 
500     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_ClearListStyle);
501 
502     if (!sipMeth)
503         return  ::wxRichTextCell::ClearListStyle(range,flags);
504 
505     extern bool sipVH__richtext_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,int);
506 
507     return sipVH__richtext_60(sipGILState, 0, sipPySelf, sipMeth, range, flags);
508 }
509 
GetStyleForRange(const::wxRichTextRange & range,::wxRichTextAttr & style)510 bool sipwxRichTextCell::GetStyleForRange(const  ::wxRichTextRange& range, ::wxRichTextAttr& style)
511 {
512     sip_gilstate_t sipGILState;
513     PyObject *sipMeth;
514 
515     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_GetStyleForRange);
516 
517     if (!sipMeth)
518         return  ::wxRichTextCell::GetStyleForRange(range,style);
519 
520     extern bool sipVH__richtext_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&, ::wxRichTextAttr&);
521 
522     return sipVH__richtext_59(sipGILState, 0, sipPySelf, sipMeth, range, style);
523 }
524 
DoGetStyle(long position,::wxRichTextAttr & style,bool combineStyles)525 bool sipwxRichTextCell::DoGetStyle(long position, ::wxRichTextAttr& style,bool combineStyles)
526 {
527     sip_gilstate_t sipGILState;
528     PyObject *sipMeth;
529 
530     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_DoGetStyle);
531 
532     if (!sipMeth)
533         return  ::wxRichTextCell::DoGetStyle(position,style,combineStyles);
534 
535     extern bool sipVH__richtext_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&,bool);
536 
537     return sipVH__richtext_58(sipGILState, 0, sipPySelf, sipMeth, position, style, combineStyles);
538 }
539 
GetUncombinedStyle(long position,::wxRichTextAttr & style)540 bool sipwxRichTextCell::GetUncombinedStyle(long position, ::wxRichTextAttr& style)
541 {
542     sip_gilstate_t sipGILState;
543     PyObject *sipMeth;
544 
545     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_GetUncombinedStyle);
546 
547     if (!sipMeth)
548         return  ::wxRichTextCell::GetUncombinedStyle(position,style);
549 
550     extern bool sipVH__richtext_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&);
551 
552     return sipVH__richtext_57(sipGILState, 0, sipPySelf, sipMeth, position, style);
553 }
554 
GetStyle(long position,::wxRichTextAttr & style)555 bool sipwxRichTextCell::GetStyle(long position, ::wxRichTextAttr& style)
556 {
557     sip_gilstate_t sipGILState;
558     PyObject *sipMeth;
559 
560     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_GetStyle);
561 
562     if (!sipMeth)
563         return  ::wxRichTextCell::GetStyle(position,style);
564 
565     extern bool sipVH__richtext_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&);
566 
567     return sipVH__richtext_57(sipGILState, 0, sipPySelf, sipMeth, position, style);
568 }
569 
SetStyle(::wxRichTextObject * obj,const::wxRichTextAttr & textAttr,int flags)570 void sipwxRichTextCell::SetStyle( ::wxRichTextObject*obj,const  ::wxRichTextAttr& textAttr,int flags)
571 {
572     sip_gilstate_t sipGILState;
573     PyObject *sipMeth;
574 
575     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_SetStyle);
576 
577     if (!sipMeth)
578     {
579          ::wxRichTextCell::SetStyle(obj,textAttr,flags);
580         return;
581     }
582 
583     extern void sipVH__richtext_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextObject*,const  ::wxRichTextAttr&,int);
584 
585     sipVH__richtext_56(sipGILState, 0, sipPySelf, sipMeth, obj, textAttr, flags);
586 }
587 
SetStyle(const::wxRichTextRange & range,const::wxRichTextAttr & style,int flags)588 bool sipwxRichTextCell::SetStyle(const  ::wxRichTextRange& range,const  ::wxRichTextAttr& style,int flags)
589 {
590     sip_gilstate_t sipGILState;
591     PyObject *sipMeth;
592 
593     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_SetStyle);
594 
595     if (!sipMeth)
596         return  ::wxRichTextCell::SetStyle(range,style,flags);
597 
598     extern bool sipVH__richtext_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxRichTextAttr&,int);
599 
600     return sipVH__richtext_55(sipGILState, 0, sipPySelf, sipMeth, range, style, flags);
601 }
602 
PositionToXY(long pos,long * x,long * y) const603 bool sipwxRichTextCell::PositionToXY(long pos,long*x,long*y) const
604 {
605     sip_gilstate_t sipGILState;
606     PyObject *sipMeth;
607 
608     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_PositionToXY);
609 
610     if (!sipMeth)
611         return  ::wxRichTextCell::PositionToXY(pos,x,y);
612 
613     extern bool sipVH__richtext_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long*,long*);
614 
615     return sipVH__richtext_54(sipGILState, 0, sipPySelf, sipMeth, pos, x, y);
616 }
617 
XYToPosition(long x,long y) const618 long sipwxRichTextCell::XYToPosition(long x,long y) const
619 {
620     sip_gilstate_t sipGILState;
621     PyObject *sipMeth;
622 
623     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,SIP_NULLPTR,sipName_XYToPosition);
624 
625     if (!sipMeth)
626         return  ::wxRichTextCell::XYToPosition(x,y);
627 
628     extern long sipVH__richtext_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long);
629 
630     return sipVH__richtext_53(sipGILState, 0, sipPySelf, sipMeth, x, y);
631 }
632 
GetParagraphText(long paragraphNumber) const633  ::wxString sipwxRichTextCell::GetParagraphText(long paragraphNumber) const
634 {
635     sip_gilstate_t sipGILState;
636     PyObject *sipMeth;
637 
638     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphText);
639 
640     if (!sipMeth)
641         return  ::wxRichTextCell::GetParagraphText(paragraphNumber);
642 
643     extern  ::wxString sipVH__richtext_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
644 
645     return sipVH__richtext_52(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
646 }
647 
GetLineCount() const648 int sipwxRichTextCell::GetLineCount() const
649 {
650     sip_gilstate_t sipGILState;
651     PyObject *sipMeth;
652 
653     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,SIP_NULLPTR,sipName_GetLineCount);
654 
655     if (!sipMeth)
656         return  ::wxRichTextCell::GetLineCount();
657 
658     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
659 
660     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
661 }
662 
GetParagraphCount() const663 int sipwxRichTextCell::GetParagraphCount() const
664 {
665     sip_gilstate_t sipGILState;
666     PyObject *sipMeth;
667 
668     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphCount);
669 
670     if (!sipMeth)
671         return  ::wxRichTextCell::GetParagraphCount();
672 
673     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
674 
675     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
676 }
677 
GetParagraphLength(long paragraphNumber) const678 int sipwxRichTextCell::GetParagraphLength(long paragraphNumber) const
679 {
680     sip_gilstate_t sipGILState;
681     PyObject *sipMeth;
682 
683     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphLength);
684 
685     if (!sipMeth)
686         return  ::wxRichTextCell::GetParagraphLength(paragraphNumber);
687 
688     extern int sipVH__richtext_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
689 
690     return sipVH__richtext_51(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
691 }
692 
GetParagraphForLine(::wxRichTextLine * line) const693  ::wxRichTextParagraph* sipwxRichTextCell::GetParagraphForLine( ::wxRichTextLine*line) const
694 {
695     sip_gilstate_t sipGILState;
696     PyObject *sipMeth;
697 
698     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphForLine);
699 
700     if (!sipMeth)
701         return  ::wxRichTextCell::GetParagraphForLine(line);
702 
703     extern  ::wxRichTextParagraph* sipVH__richtext_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextLine*);
704 
705     return sipVH__richtext_50(sipGILState, 0, sipPySelf, sipMeth, line);
706 }
707 
GetParagraphAtLine(long paragraphNumber) const708  ::wxRichTextParagraph* sipwxRichTextCell::GetParagraphAtLine(long paragraphNumber) const
709 {
710     sip_gilstate_t sipGILState;
711     PyObject *sipMeth;
712 
713     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphAtLine);
714 
715     if (!sipMeth)
716         return  ::wxRichTextCell::GetParagraphAtLine(paragraphNumber);
717 
718     extern  ::wxRichTextParagraph* sipVH__richtext_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
719 
720     return sipVH__richtext_49(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
721 }
722 
GetLeafObjectAtPosition(long position) const723  ::wxRichTextObject* sipwxRichTextCell::GetLeafObjectAtPosition(long position) const
724 {
725     sip_gilstate_t sipGILState;
726     PyObject *sipMeth;
727 
728     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_GetLeafObjectAtPosition);
729 
730     if (!sipMeth)
731         return  ::wxRichTextCell::GetLeafObjectAtPosition(position);
732 
733     extern  ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
734 
735     return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, position);
736 }
737 
GetLineForVisibleLineNumber(long lineNumber) const738  ::wxRichTextLine* sipwxRichTextCell::GetLineForVisibleLineNumber(long lineNumber) const
739 {
740     sip_gilstate_t sipGILState;
741     PyObject *sipMeth;
742 
743     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,SIP_NULLPTR,sipName_GetLineForVisibleLineNumber);
744 
745     if (!sipMeth)
746         return  ::wxRichTextCell::GetLineForVisibleLineNumber(lineNumber);
747 
748     extern  ::wxRichTextLine* sipVH__richtext_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
749 
750     return sipVH__richtext_48(sipGILState, 0, sipPySelf, sipMeth, lineNumber);
751 }
752 
GetVisibleLineNumber(long pos,bool caretPosition,bool startOfLine) const753 long sipwxRichTextCell::GetVisibleLineNumber(long pos,bool caretPosition,bool startOfLine) const
754 {
755     sip_gilstate_t sipGILState;
756     PyObject *sipMeth;
757 
758     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,SIP_NULLPTR,sipName_GetVisibleLineNumber);
759 
760     if (!sipMeth)
761         return  ::wxRichTextCell::GetVisibleLineNumber(pos,caretPosition,startOfLine);
762 
763     extern long sipVH__richtext_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool,bool);
764 
765     return sipVH__richtext_47(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition, startOfLine);
766 }
767 
GetLineSizeAtPosition(long pos,bool caretPosition) const768  ::wxSize sipwxRichTextCell::GetLineSizeAtPosition(long pos,bool caretPosition) const
769 {
770     sip_gilstate_t sipGILState;
771     PyObject *sipMeth;
772 
773     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_GetLineSizeAtPosition);
774 
775     if (!sipMeth)
776         return  ::wxRichTextCell::GetLineSizeAtPosition(pos,caretPosition);
777 
778     extern  ::wxSize sipVH__richtext_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
779 
780     return sipVH__richtext_46(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
781 }
782 
GetParagraphAtPosition(long pos,bool caretPosition) const783  ::wxRichTextParagraph* sipwxRichTextCell::GetParagraphAtPosition(long pos,bool caretPosition) const
784 {
785     sip_gilstate_t sipGILState;
786     PyObject *sipMeth;
787 
788     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphAtPosition);
789 
790     if (!sipMeth)
791         return  ::wxRichTextCell::GetParagraphAtPosition(pos,caretPosition);
792 
793     extern  ::wxRichTextParagraph* sipVH__richtext_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
794 
795     return sipVH__richtext_45(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
796 }
797 
GetLineAtYPosition(int y) const798  ::wxRichTextLine* sipwxRichTextCell::GetLineAtYPosition(int y) const
799 {
800     sip_gilstate_t sipGILState;
801     PyObject *sipMeth;
802 
803     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,SIP_NULLPTR,sipName_GetLineAtYPosition);
804 
805     if (!sipMeth)
806         return  ::wxRichTextCell::GetLineAtYPosition(y);
807 
808     extern  ::wxRichTextLine* sipVH__richtext_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
809 
810     return sipVH__richtext_44(sipGILState, 0, sipPySelf, sipMeth, y);
811 }
812 
GetLineAtPosition(long pos,bool caretPosition) const813  ::wxRichTextLine* sipwxRichTextCell::GetLineAtPosition(long pos,bool caretPosition) const
814 {
815     sip_gilstate_t sipGILState;
816     PyObject *sipMeth;
817 
818     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_GetLineAtPosition);
819 
820     if (!sipMeth)
821         return  ::wxRichTextCell::GetLineAtPosition(pos,caretPosition);
822 
823     extern  ::wxRichTextLine* sipVH__richtext_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
824 
825     return sipVH__richtext_43(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
826 }
827 
AddParagraphs(const::wxString & text,::wxRichTextAttr * paraStyle)828  ::wxRichTextRange sipwxRichTextCell::AddParagraphs(const  ::wxString& text, ::wxRichTextAttr*paraStyle)
829 {
830     sip_gilstate_t sipGILState;
831     PyObject *sipMeth;
832 
833     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_AddParagraphs);
834 
835     if (!sipMeth)
836         return  ::wxRichTextCell::AddParagraphs(text,paraStyle);
837 
838     extern  ::wxRichTextRange sipVH__richtext_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxString&, ::wxRichTextAttr*);
839 
840     return sipVH__richtext_41(sipGILState, 0, sipPySelf, sipMeth, text, paraStyle);
841 }
842 
AddImage(const::wxImage & image,::wxRichTextAttr * paraStyle)843  ::wxRichTextRange sipwxRichTextCell::AddImage(const  ::wxImage& image, ::wxRichTextAttr*paraStyle)
844 {
845     sip_gilstate_t sipGILState;
846     PyObject *sipMeth;
847 
848     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,SIP_NULLPTR,sipName_AddImage);
849 
850     if (!sipMeth)
851         return  ::wxRichTextCell::AddImage(image,paraStyle);
852 
853     extern  ::wxRichTextRange sipVH__richtext_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxImage&, ::wxRichTextAttr*);
854 
855     return sipVH__richtext_42(sipGILState, 0, sipPySelf, sipMeth, image, paraStyle);
856 }
857 
AddParagraph(const::wxString & text,::wxRichTextAttr * paraStyle)858  ::wxRichTextRange sipwxRichTextCell::AddParagraph(const  ::wxString& text, ::wxRichTextAttr*paraStyle)
859 {
860     sip_gilstate_t sipGILState;
861     PyObject *sipMeth;
862 
863     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,SIP_NULLPTR,sipName_AddParagraph);
864 
865     if (!sipMeth)
866         return  ::wxRichTextCell::AddParagraph(text,paraStyle);
867 
868     extern  ::wxRichTextRange sipVH__richtext_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxString&, ::wxRichTextAttr*);
869 
870     return sipVH__richtext_41(sipGILState, 0, sipPySelf, sipMeth, text, paraStyle);
871 }
872 
Reset()873 void sipwxRichTextCell::Reset()
874 {
875     sip_gilstate_t sipGILState;
876     PyObject *sipMeth;
877 
878     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,SIP_NULLPTR,sipName_Reset);
879 
880     if (!sipMeth)
881     {
882          ::wxRichTextCell::Reset();
883         return;
884     }
885 
886     extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
887 
888     sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
889 }
890 
Clear()891 void sipwxRichTextCell::Clear()
892 {
893     sip_gilstate_t sipGILState;
894     PyObject *sipMeth;
895 
896     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,SIP_NULLPTR,sipName_Clear);
897 
898     if (!sipMeth)
899     {
900          ::wxRichTextCell::Clear();
901         return;
902     }
903 
904     extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
905 
906     sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
907 }
908 
GetStyleSheet() const909  ::wxRichTextStyleSheet* sipwxRichTextCell::GetStyleSheet() const
910 {
911     sip_gilstate_t sipGILState;
912     PyObject *sipMeth;
913 
914     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,SIP_NULLPTR,sipName_GetStyleSheet);
915 
916     if (!sipMeth)
917         return  ::wxRichTextCell::GetStyleSheet();
918 
919     extern  ::wxRichTextStyleSheet* sipVH__richtext_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
920 
921     return sipVH__richtext_39(sipGILState, 0, sipPySelf, sipMeth);
922 }
923 
PromoteList(int promoteBy,const::wxRichTextRange & range,const::wxString & defName,int flags,int specifiedLevel)924 bool sipwxRichTextCell::PromoteList(int promoteBy,const  ::wxRichTextRange& range,const  ::wxString& defName,int flags,int specifiedLevel)
925 {
926     sip_gilstate_t sipGILState;
927     PyObject *sipMeth;
928 
929     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,SIP_NULLPTR,sipName_PromoteList);
930 
931     if (!sipMeth)
932         return  ::wxRichTextCell::PromoteList(promoteBy,range,defName,flags,specifiedLevel);
933 
934     extern bool sipVH__richtext_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::wxRichTextRange&,const  ::wxString&,int,int);
935 
936     return sipVH__richtext_38(sipGILState, 0, sipPySelf, sipMeth, promoteBy, range, defName, flags, specifiedLevel);
937 }
938 
PromoteList(int promoteBy,const::wxRichTextRange & range,::wxRichTextListStyleDefinition * def,int flags,int specifiedLevel)939 bool sipwxRichTextCell::PromoteList(int promoteBy,const  ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*def,int flags,int specifiedLevel)
940 {
941     sip_gilstate_t sipGILState;
942     PyObject *sipMeth;
943 
944     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,SIP_NULLPTR,sipName_PromoteList);
945 
946     if (!sipMeth)
947         return  ::wxRichTextCell::PromoteList(promoteBy,range,def,flags,specifiedLevel);
948 
949     extern bool sipVH__richtext_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int);
950 
951     return sipVH__richtext_37(sipGILState, 0, sipPySelf, sipMeth, promoteBy, range, def, flags, specifiedLevel);
952 }
953 
NumberList(const::wxRichTextRange & range,const::wxString & defName,int flags,int startFrom,int specifiedLevel)954 bool sipwxRichTextCell::NumberList(const  ::wxRichTextRange& range,const  ::wxString& defName,int flags,int startFrom,int specifiedLevel)
955 {
956     sip_gilstate_t sipGILState;
957     PyObject *sipMeth;
958 
959     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,SIP_NULLPTR,sipName_NumberList);
960 
961     if (!sipMeth)
962         return  ::wxRichTextCell::NumberList(range,defName,flags,startFrom,specifiedLevel);
963 
964     extern bool sipVH__richtext_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxString&,int,int,int);
965 
966     return sipVH__richtext_36(sipGILState, 0, sipPySelf, sipMeth, range, defName, flags, startFrom, specifiedLevel);
967 }
968 
NumberList(const::wxRichTextRange & range,::wxRichTextListStyleDefinition * def,int flags,int startFrom,int specifiedLevel)969 bool sipwxRichTextCell::NumberList(const  ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*def,int flags,int startFrom,int specifiedLevel)
970 {
971     sip_gilstate_t sipGILState;
972     PyObject *sipMeth;
973 
974     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,SIP_NULLPTR,sipName_NumberList);
975 
976     if (!sipMeth)
977         return  ::wxRichTextCell::NumberList(range,def,flags,startFrom,specifiedLevel);
978 
979     extern bool sipVH__richtext_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int);
980 
981     return sipVH__richtext_35(sipGILState, 0, sipPySelf, sipMeth, range, def, flags, startFrom, specifiedLevel);
982 }
983 
SetListStyle(const::wxRichTextRange & range,const::wxString & defName,int flags,int startFrom,int specifiedLevel)984 bool sipwxRichTextCell::SetListStyle(const  ::wxRichTextRange& range,const  ::wxString& defName,int flags,int startFrom,int specifiedLevel)
985 {
986     sip_gilstate_t sipGILState;
987     PyObject *sipMeth;
988 
989     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,SIP_NULLPTR,sipName_SetListStyle);
990 
991     if (!sipMeth)
992         return  ::wxRichTextCell::SetListStyle(range,defName,flags,startFrom,specifiedLevel);
993 
994     extern bool sipVH__richtext_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&,const  ::wxString&,int,int,int);
995 
996     return sipVH__richtext_36(sipGILState, 0, sipPySelf, sipMeth, range, defName, flags, startFrom, specifiedLevel);
997 }
998 
SetListStyle(const::wxRichTextRange & range,::wxRichTextListStyleDefinition * styleDef,int flags,int startFrom,int specifiedLevel)999 bool sipwxRichTextCell::SetListStyle(const  ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*styleDef,int flags,int startFrom,int specifiedLevel)
1000 {
1001     sip_gilstate_t sipGILState;
1002     PyObject *sipMeth;
1003 
1004     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,SIP_NULLPTR,sipName_SetListStyle);
1005 
1006     if (!sipMeth)
1007         return  ::wxRichTextCell::SetListStyle(range,styleDef,flags,startFrom,specifiedLevel);
1008 
1009     extern bool sipVH__richtext_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int);
1010 
1011     return sipVH__richtext_35(sipGILState, 0, sipPySelf, sipMeth, range, styleDef, flags, startFrom, specifiedLevel);
1012 }
1013 
Move(const::wxPoint & pt)1014 void sipwxRichTextCell::Move(const  ::wxPoint& pt)
1015 {
1016     sip_gilstate_t sipGILState;
1017     PyObject *sipMeth;
1018 
1019     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,SIP_NULLPTR,sipName_Move);
1020 
1021     if (!sipMeth)
1022     {
1023          ::wxRichTextCell::Move(pt);
1024         return;
1025     }
1026 
1027     extern void sipVH__richtext_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxPoint&);
1028 
1029     sipVH__richtext_23(sipGILState, 0, sipPySelf, sipMeth, pt);
1030 }
1031 
Clone() const1032  ::wxRichTextObject* sipwxRichTextCell::Clone() const
1033 {
1034     sip_gilstate_t sipGILState;
1035     PyObject *sipMeth;
1036 
1037     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,SIP_NULLPTR,sipName_Clone);
1038 
1039     if (!sipMeth)
1040         return  ::wxRichTextCell::Clone();
1041 
1042     extern  ::wxRichTextObject* sipVH__richtext_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1043 
1044     return sipVH__richtext_34(sipGILState, 0, sipPySelf, sipMeth);
1045 }
1046 
Show(bool show)1047 void sipwxRichTextCell::Show(bool show)
1048 {
1049     sip_gilstate_t sipGILState;
1050     PyObject *sipMeth;
1051 
1052     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,SIP_NULLPTR,sipName_Show);
1053 
1054     if (!sipMeth)
1055     {
1056          ::wxRichTextCell::Show(show);
1057         return;
1058     }
1059 
1060     extern void sipVH__richtext_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
1061 
1062     sipVH__richtext_33(sipGILState, 0, sipPySelf, sipMeth, show);
1063 }
1064 
IsTopLevel() const1065 bool sipwxRichTextCell::IsTopLevel() const
1066 {
1067     sip_gilstate_t sipGILState;
1068     PyObject *sipMeth;
1069 
1070     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,SIP_NULLPTR,sipName_IsTopLevel);
1071 
1072     if (!sipMeth)
1073         return  ::wxRichTextCell::IsTopLevel();
1074 
1075     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1076 
1077     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1078 }
1079 
AdjustAttributes(::wxRichTextAttr & attr,::wxRichTextDrawingContext & context)1080 bool sipwxRichTextCell::AdjustAttributes( ::wxRichTextAttr& attr, ::wxRichTextDrawingContext& context)
1081 {
1082     sip_gilstate_t sipGILState;
1083     PyObject *sipMeth;
1084 
1085     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,SIP_NULLPTR,sipName_AdjustAttributes);
1086 
1087     if (!sipMeth)
1088         return  ::wxRichTextCell::AdjustAttributes(attr,context);
1089 
1090     extern bool sipVH__richtext_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextAttr&, ::wxRichTextDrawingContext&);
1091 
1092     return sipVH__richtext_32(sipGILState, 0, sipPySelf, sipMeth, attr, context);
1093 }
1094 
LayoutToBestSize(::wxDC & dc,::wxRichTextDrawingContext & context,::wxRichTextBuffer * buffer,const::wxRichTextAttr & parentAttr,const::wxRichTextAttr & attr,const::wxRect & availableParentSpace,const::wxRect & availableContainerSpace,int style)1095 bool sipwxRichTextCell::LayoutToBestSize( ::wxDC& dc, ::wxRichTextDrawingContext& context, ::wxRichTextBuffer*buffer,const  ::wxRichTextAttr& parentAttr,const  ::wxRichTextAttr& attr,const  ::wxRect& availableParentSpace,const  ::wxRect& availableContainerSpace,int style)
1096 {
1097     sip_gilstate_t sipGILState;
1098     PyObject *sipMeth;
1099 
1100     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,SIP_NULLPTR,sipName_LayoutToBestSize);
1101 
1102     if (!sipMeth)
1103         return  ::wxRichTextCell::LayoutToBestSize(dc,context,buffer,parentAttr,attr,availableParentSpace,availableContainerSpace,style);
1104 
1105     extern bool sipVH__richtext_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&, ::wxRichTextBuffer*,const  ::wxRichTextAttr&,const  ::wxRichTextAttr&,const  ::wxRect&,const  ::wxRect&,int);
1106 
1107     return sipVH__richtext_31(sipGILState, 0, sipPySelf, sipMeth, dc, context, buffer, parentAttr, attr, availableParentSpace, availableContainerSpace, style);
1108 }
1109 
GetAvailableContentArea(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRect & outerRect) const1110  ::wxRect sipwxRichTextCell::GetAvailableContentArea( ::wxDC& dc, ::wxRichTextDrawingContext& context,const  ::wxRect& outerRect) const
1111 {
1112     sip_gilstate_t sipGILState;
1113     PyObject *sipMeth;
1114 
1115     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,SIP_NULLPTR,sipName_GetAvailableContentArea);
1116 
1117     if (!sipMeth)
1118         return  ::wxRichTextCell::GetAvailableContentArea(dc,context,outerRect);
1119 
1120     extern  ::wxRect sipVH__richtext_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRect&);
1121 
1122     return sipVH__richtext_30(sipGILState, 0, sipPySelf, sipMeth, dc, context, outerRect);
1123 }
1124 
GetBottomMargin() const1125 int sipwxRichTextCell::GetBottomMargin() const
1126 {
1127     sip_gilstate_t sipGILState;
1128     PyObject *sipMeth;
1129 
1130     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[60]),sipPySelf,SIP_NULLPTR,sipName_GetBottomMargin);
1131 
1132     if (!sipMeth)
1133         return  ::wxRichTextCell::GetBottomMargin();
1134 
1135     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1136 
1137     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1138 }
1139 
GetTopMargin() const1140 int sipwxRichTextCell::GetTopMargin() const
1141 {
1142     sip_gilstate_t sipGILState;
1143     PyObject *sipMeth;
1144 
1145     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,SIP_NULLPTR,sipName_GetTopMargin);
1146 
1147     if (!sipMeth)
1148         return  ::wxRichTextCell::GetTopMargin();
1149 
1150     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1151 
1152     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1153 }
1154 
GetRightMargin() const1155 int sipwxRichTextCell::GetRightMargin() const
1156 {
1157     sip_gilstate_t sipGILState;
1158     PyObject *sipMeth;
1159 
1160     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[62]),sipPySelf,SIP_NULLPTR,sipName_GetRightMargin);
1161 
1162     if (!sipMeth)
1163         return  ::wxRichTextCell::GetRightMargin();
1164 
1165     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1166 
1167     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1168 }
1169 
GetLeftMargin() const1170 int sipwxRichTextCell::GetLeftMargin() const
1171 {
1172     sip_gilstate_t sipGILState;
1173     PyObject *sipMeth;
1174 
1175     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[63]),sipPySelf,SIP_NULLPTR,sipName_GetLeftMargin);
1176 
1177     if (!sipMeth)
1178         return  ::wxRichTextCell::GetLeftMargin();
1179 
1180     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1181 
1182     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1183 }
1184 
SetMargins(int leftMargin,int rightMargin,int topMargin,int bottomMargin)1185 void sipwxRichTextCell::SetMargins(int leftMargin,int rightMargin,int topMargin,int bottomMargin)
1186 {
1187     sip_gilstate_t sipGILState;
1188     PyObject *sipMeth;
1189 
1190     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,SIP_NULLPTR,sipName_SetMargins);
1191 
1192     if (!sipMeth)
1193     {
1194          ::wxRichTextCell::SetMargins(leftMargin,rightMargin,topMargin,bottomMargin);
1195         return;
1196     }
1197 
1198     extern void sipVH__richtext_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
1199 
1200     sipVH__richtext_29(sipGILState, 0, sipPySelf, sipMeth, leftMargin, rightMargin, topMargin, bottomMargin);
1201 }
1202 
SetMargins(int margin)1203 void sipwxRichTextCell::SetMargins(int margin)
1204 {
1205     sip_gilstate_t sipGILState;
1206     PyObject *sipMeth;
1207 
1208     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,SIP_NULLPTR,sipName_SetMargins);
1209 
1210     if (!sipMeth)
1211     {
1212          ::wxRichTextCell::SetMargins(margin);
1213         return;
1214     }
1215 
1216     extern void sipVH__richtext_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
1217 
1218     sipVH__richtext_28(sipGILState, 0, sipPySelf, sipMeth, margin);
1219 }
1220 
GetParentContainer() const1221  ::wxRichTextParagraphLayoutBox* sipwxRichTextCell::GetParentContainer() const
1222 {
1223     sip_gilstate_t sipGILState;
1224     PyObject *sipMeth;
1225 
1226     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,SIP_NULLPTR,sipName_GetParentContainer);
1227 
1228     if (!sipMeth)
1229         return  ::wxRichTextCell::GetParentContainer();
1230 
1231     extern  ::wxRichTextParagraphLayoutBox* sipVH__richtext_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1232 
1233     return sipVH__richtext_27(sipGILState, 0, sipPySelf, sipMeth);
1234 }
1235 
GetContainer() const1236  ::wxRichTextParagraphLayoutBox* sipwxRichTextCell::GetContainer() const
1237 {
1238     sip_gilstate_t sipGILState;
1239     PyObject *sipMeth;
1240 
1241     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,SIP_NULLPTR,sipName_GetContainer);
1242 
1243     if (!sipMeth)
1244         return  ::wxRichTextCell::GetContainer();
1245 
1246     extern  ::wxRichTextParagraphLayoutBox* sipVH__richtext_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1247 
1248     return sipVH__richtext_27(sipGILState, 0, sipPySelf, sipMeth);
1249 }
1250 
SetParent(::wxRichTextObject * parent)1251 void sipwxRichTextCell::SetParent( ::wxRichTextObject*parent)
1252 {
1253     sip_gilstate_t sipGILState;
1254     PyObject *sipMeth;
1255 
1256     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,SIP_NULLPTR,sipName_SetParent);
1257 
1258     if (!sipMeth)
1259     {
1260          ::wxRichTextCell::SetParent(parent);
1261         return;
1262     }
1263 
1264     extern void sipVH__richtext_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextObject*);
1265 
1266     sipVH__richtext_26(sipGILState, 0, sipPySelf, sipMeth, parent);
1267 }
1268 
GetParent() const1269  ::wxRichTextObject* sipwxRichTextCell::GetParent() const
1270 {
1271     sip_gilstate_t sipGILState;
1272     PyObject *sipMeth;
1273 
1274     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[69]),sipPySelf,SIP_NULLPTR,sipName_GetParent);
1275 
1276     if (!sipMeth)
1277         return  ::wxRichTextCell::GetParent();
1278 
1279     extern  ::wxRichTextObject* sipVH__richtext_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1280 
1281     return sipVH__richtext_34(sipGILState, 0, sipPySelf, sipMeth);
1282 }
1283 
IsAtomic() const1284 bool sipwxRichTextCell::IsAtomic() const
1285 {
1286     sip_gilstate_t sipGILState;
1287     PyObject *sipMeth;
1288 
1289     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,SIP_NULLPTR,sipName_IsAtomic);
1290 
1291     if (!sipMeth)
1292         return  ::wxRichTextCell::IsAtomic();
1293 
1294     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1295 
1296     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1297 }
1298 
IsComposite() const1299 bool sipwxRichTextCell::IsComposite() const
1300 {
1301     sip_gilstate_t sipGILState;
1302     PyObject *sipMeth;
1303 
1304     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,SIP_NULLPTR,sipName_IsComposite);
1305 
1306     if (!sipMeth)
1307         return  ::wxRichTextCell::IsComposite();
1308 
1309     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1310 
1311     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1312 }
1313 
GetRect() const1314  ::wxRect sipwxRichTextCell::GetRect() const
1315 {
1316     sip_gilstate_t sipGILState;
1317     PyObject *sipMeth;
1318 
1319     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,SIP_NULLPTR,sipName_GetRect);
1320 
1321     if (!sipMeth)
1322         return  ::wxRichTextCell::GetRect();
1323 
1324     extern  ::wxRect sipVH__richtext_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1325 
1326     return sipVH__richtext_24(sipGILState, 0, sipPySelf, sipMeth);
1327 }
1328 
GetAbsolutePosition() const1329  ::wxPoint sipwxRichTextCell::GetAbsolutePosition() const
1330 {
1331     sip_gilstate_t sipGILState;
1332     PyObject *sipMeth;
1333 
1334     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,SIP_NULLPTR,sipName_GetAbsolutePosition);
1335 
1336     if (!sipMeth)
1337         return  ::wxRichTextCell::GetAbsolutePosition();
1338 
1339     extern  ::wxPoint sipVH__richtext_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1340 
1341     return sipVH__richtext_22(sipGILState, 0, sipPySelf, sipMeth);
1342 }
1343 
SetPosition(const::wxPoint & pos)1344 void sipwxRichTextCell::SetPosition(const  ::wxPoint& pos)
1345 {
1346     sip_gilstate_t sipGILState;
1347     PyObject *sipMeth;
1348 
1349     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,SIP_NULLPTR,sipName_SetPosition);
1350 
1351     if (!sipMeth)
1352     {
1353          ::wxRichTextCell::SetPosition(pos);
1354         return;
1355     }
1356 
1357     extern void sipVH__richtext_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxPoint&);
1358 
1359     sipVH__richtext_23(sipGILState, 0, sipPySelf, sipMeth, pos);
1360 }
1361 
GetPosition() const1362  ::wxPoint sipwxRichTextCell::GetPosition() const
1363 {
1364     sip_gilstate_t sipGILState;
1365     PyObject *sipMeth;
1366 
1367     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,SIP_NULLPTR,sipName_GetPosition);
1368 
1369     if (!sipMeth)
1370         return  ::wxRichTextCell::GetPosition();
1371 
1372     extern  ::wxPoint sipVH__richtext_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1373 
1374     return sipVH__richtext_22(sipGILState, 0, sipPySelf, sipMeth);
1375 }
1376 
GetNaturalSize() const1377  ::wxTextAttrSize sipwxRichTextCell::GetNaturalSize() const
1378 {
1379     sip_gilstate_t sipGILState;
1380     PyObject *sipMeth;
1381 
1382     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,SIP_NULLPTR,sipName_GetNaturalSize);
1383 
1384     if (!sipMeth)
1385         return  ::wxRichTextCell::GetNaturalSize();
1386 
1387     extern  ::wxTextAttrSize sipVH__richtext_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1388 
1389     return sipVH__richtext_21(sipGILState, 0, sipPySelf, sipMeth);
1390 }
1391 
SetMinSize(const::wxSize & sz)1392 void sipwxRichTextCell::SetMinSize(const  ::wxSize& sz)
1393 {
1394     sip_gilstate_t sipGILState;
1395     PyObject *sipMeth;
1396 
1397     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,SIP_NULLPTR,sipName_SetMinSize);
1398 
1399     if (!sipMeth)
1400     {
1401          ::wxRichTextCell::SetMinSize(sz);
1402         return;
1403     }
1404 
1405     extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxSize&);
1406 
1407     sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1408 }
1409 
GetMinSize() const1410  ::wxSize sipwxRichTextCell::GetMinSize() const
1411 {
1412     sip_gilstate_t sipGILState;
1413     PyObject *sipMeth;
1414 
1415     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,SIP_NULLPTR,sipName_GetMinSize);
1416 
1417     if (!sipMeth)
1418         return  ::wxRichTextCell::GetMinSize();
1419 
1420     extern  ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1421 
1422     return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1423 }
1424 
SetMaxSize(const::wxSize & sz)1425 void sipwxRichTextCell::SetMaxSize(const  ::wxSize& sz)
1426 {
1427     sip_gilstate_t sipGILState;
1428     PyObject *sipMeth;
1429 
1430     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,SIP_NULLPTR,sipName_SetMaxSize);
1431 
1432     if (!sipMeth)
1433     {
1434          ::wxRichTextCell::SetMaxSize(sz);
1435         return;
1436     }
1437 
1438     extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxSize&);
1439 
1440     sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1441 }
1442 
GetMaxSize() const1443  ::wxSize sipwxRichTextCell::GetMaxSize() const
1444 {
1445     sip_gilstate_t sipGILState;
1446     PyObject *sipMeth;
1447 
1448     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,SIP_NULLPTR,sipName_GetMaxSize);
1449 
1450     if (!sipMeth)
1451         return  ::wxRichTextCell::GetMaxSize();
1452 
1453     extern  ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1454 
1455     return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1456 }
1457 
SetCachedSize(const::wxSize & sz)1458 void sipwxRichTextCell::SetCachedSize(const  ::wxSize& sz)
1459 {
1460     sip_gilstate_t sipGILState;
1461     PyObject *sipMeth;
1462 
1463     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,SIP_NULLPTR,sipName_SetCachedSize);
1464 
1465     if (!sipMeth)
1466     {
1467          ::wxRichTextCell::SetCachedSize(sz);
1468         return;
1469     }
1470 
1471     extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxSize&);
1472 
1473     sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1474 }
1475 
GetCachedSize() const1476  ::wxSize sipwxRichTextCell::GetCachedSize() const
1477 {
1478     sip_gilstate_t sipGILState;
1479     PyObject *sipMeth;
1480 
1481     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,SIP_NULLPTR,sipName_GetCachedSize);
1482 
1483     if (!sipMeth)
1484         return  ::wxRichTextCell::GetCachedSize();
1485 
1486     extern  ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1487 
1488     return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1489 }
1490 
GetSelection(long start,long end) const1491  ::wxRichTextSelection sipwxRichTextCell::GetSelection(long start,long end) const
1492 {
1493     sip_gilstate_t sipGILState;
1494     PyObject *sipMeth;
1495 
1496     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,SIP_NULLPTR,sipName_GetSelection);
1497 
1498     if (!sipMeth)
1499         return  ::wxRichTextCell::GetSelection(start,end);
1500 
1501     extern  ::wxRichTextSelection sipVH__richtext_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long);
1502 
1503     return sipVH__richtext_19(sipGILState, 0, sipPySelf, sipMeth, start, end);
1504 }
1505 
HandlesChildSelections() const1506 bool sipwxRichTextCell::HandlesChildSelections() const
1507 {
1508     sip_gilstate_t sipGILState;
1509     PyObject *sipMeth;
1510 
1511     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,SIP_NULLPTR,sipName_HandlesChildSelections);
1512 
1513     if (!sipMeth)
1514         return  ::wxRichTextCell::HandlesChildSelections();
1515 
1516     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1517 
1518     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1519 }
1520 
Invalidate(const::wxRichTextRange & invalidRange)1521 void sipwxRichTextCell::Invalidate(const  ::wxRichTextRange& invalidRange)
1522 {
1523     sip_gilstate_t sipGILState;
1524     PyObject *sipMeth;
1525 
1526     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,SIP_NULLPTR,sipName_Invalidate);
1527 
1528     if (!sipMeth)
1529     {
1530          ::wxRichTextCell::Invalidate(invalidRange);
1531         return;
1532     }
1533 
1534     extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&);
1535 
1536     sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
1537 }
1538 
GetXMLNodeName() const1539  ::wxString sipwxRichTextCell::GetXMLNodeName() const
1540 {
1541     sip_gilstate_t sipGILState;
1542     PyObject *sipMeth;
1543 
1544     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,SIP_NULLPTR,sipName_GetXMLNodeName);
1545 
1546     if (!sipMeth)
1547         return  ::wxRichTextCell::GetXMLNodeName();
1548 
1549     extern  ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1550 
1551     return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
1552 }
1553 
UsesParagraphAttributes() const1554 bool sipwxRichTextCell::UsesParagraphAttributes() const
1555 {
1556     sip_gilstate_t sipGILState;
1557     PyObject *sipMeth;
1558 
1559     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,SIP_NULLPTR,sipName_UsesParagraphAttributes);
1560 
1561     if (!sipMeth)
1562         return  ::wxRichTextCell::UsesParagraphAttributes();
1563 
1564     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1565 
1566     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1567 }
1568 
ImportFromXML(::wxRichTextBuffer * buffer,::wxXmlNode * node,::wxRichTextXMLHandler * handler,bool * recurse)1569 bool sipwxRichTextCell::ImportFromXML( ::wxRichTextBuffer*buffer, ::wxXmlNode*node, ::wxRichTextXMLHandler*handler,bool*recurse)
1570 {
1571     sip_gilstate_t sipGILState;
1572     PyObject *sipMeth;
1573 
1574     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,SIP_NULLPTR,sipName_ImportFromXML);
1575 
1576     if (!sipMeth)
1577         return  ::wxRichTextCell::ImportFromXML(buffer,node,handler,recurse);
1578 
1579     extern bool sipVH__richtext_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextBuffer*, ::wxXmlNode*, ::wxRichTextXMLHandler*,bool*);
1580 
1581     return sipVH__richtext_17(sipGILState, 0, sipPySelf, sipMeth, buffer, node, handler, recurse);
1582 }
1583 
AcceptsFocus() const1584 bool sipwxRichTextCell::AcceptsFocus() const
1585 {
1586     sip_gilstate_t sipGILState;
1587     PyObject *sipMeth;
1588 
1589     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[89]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
1590 
1591     if (!sipMeth)
1592         return  ::wxRichTextCell::AcceptsFocus();
1593 
1594     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1595 
1596     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1597 }
1598 
GetPropertiesMenuLabel() const1599  ::wxString sipwxRichTextCell::GetPropertiesMenuLabel() const
1600 {
1601     sip_gilstate_t sipGILState;
1602     PyObject *sipMeth;
1603 
1604     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[90]),sipPySelf,SIP_NULLPTR,sipName_GetPropertiesMenuLabel);
1605 
1606     if (!sipMeth)
1607         return  ::wxRichTextCell::GetPropertiesMenuLabel();
1608 
1609     extern  ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1610 
1611     return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
1612 }
1613 
EditProperties(::wxWindow * parent,::wxRichTextBuffer * buffer)1614 bool sipwxRichTextCell::EditProperties( ::wxWindow*parent, ::wxRichTextBuffer*buffer)
1615 {
1616     sip_gilstate_t sipGILState;
1617     PyObject *sipMeth;
1618 
1619     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[91],sipPySelf,SIP_NULLPTR,sipName_EditProperties);
1620 
1621     if (!sipMeth)
1622         return  ::wxRichTextCell::EditProperties(parent,buffer);
1623 
1624     extern bool sipVH__richtext_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindow*, ::wxRichTextBuffer*);
1625 
1626     return sipVH__richtext_15(sipGILState, 0, sipPySelf, sipMeth, parent, buffer);
1627 }
1628 
CanEditProperties() const1629 bool sipwxRichTextCell::CanEditProperties() const
1630 {
1631     sip_gilstate_t sipGILState;
1632     PyObject *sipMeth;
1633 
1634     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[92]),sipPySelf,SIP_NULLPTR,sipName_CanEditProperties);
1635 
1636     if (!sipMeth)
1637         return  ::wxRichTextCell::CanEditProperties();
1638 
1639     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1640 
1641     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1642 }
1643 
Split(::wxRichTextDrawingContext & context)1644  ::wxRichTextObject* sipwxRichTextCell::Split( ::wxRichTextDrawingContext& context)
1645 {
1646     sip_gilstate_t sipGILState;
1647     PyObject *sipMeth;
1648 
1649     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[93],sipPySelf,SIP_NULLPTR,sipName_Split);
1650 
1651     if (!sipMeth)
1652         return  ::wxRichTextCell::Split(context);
1653 
1654     extern  ::wxRichTextObject* sipVH__richtext_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextDrawingContext&);
1655 
1656     return sipVH__richtext_14(sipGILState, 0, sipPySelf, sipMeth, context);
1657 }
1658 
CanSplit(::wxRichTextDrawingContext & context) const1659 bool sipwxRichTextCell::CanSplit( ::wxRichTextDrawingContext& context) const
1660 {
1661     sip_gilstate_t sipGILState;
1662     PyObject *sipMeth;
1663 
1664     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[94]),sipPySelf,SIP_NULLPTR,sipName_CanSplit);
1665 
1666     if (!sipMeth)
1667         return  ::wxRichTextCell::CanSplit(context);
1668 
1669     extern bool sipVH__richtext_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextDrawingContext&);
1670 
1671     return sipVH__richtext_13(sipGILState, 0, sipPySelf, sipMeth, context);
1672 }
1673 
Merge(::wxRichTextObject * object,::wxRichTextDrawingContext & context)1674 bool sipwxRichTextCell::Merge( ::wxRichTextObject*object, ::wxRichTextDrawingContext& context)
1675 {
1676     sip_gilstate_t sipGILState;
1677     PyObject *sipMeth;
1678 
1679     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[95],sipPySelf,SIP_NULLPTR,sipName_Merge);
1680 
1681     if (!sipMeth)
1682         return  ::wxRichTextCell::Merge(object,context);
1683 
1684     extern bool sipVH__richtext_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextObject*, ::wxRichTextDrawingContext&);
1685 
1686     return sipVH__richtext_12(sipGILState, 0, sipPySelf, sipMeth, object, context);
1687 }
1688 
CanMerge(::wxRichTextObject * object,::wxRichTextDrawingContext & context) const1689 bool sipwxRichTextCell::CanMerge( ::wxRichTextObject*object, ::wxRichTextDrawingContext& context) const
1690 {
1691     sip_gilstate_t sipGILState;
1692     PyObject *sipMeth;
1693 
1694     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[96]),sipPySelf,SIP_NULLPTR,sipName_CanMerge);
1695 
1696     if (!sipMeth)
1697         return  ::wxRichTextCell::CanMerge(object,context);
1698 
1699     extern bool sipVH__richtext_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxRichTextObject*, ::wxRichTextDrawingContext&);
1700 
1701     return sipVH__richtext_12(sipGILState, 0, sipPySelf, sipMeth, object, context);
1702 }
1703 
GetTextForRange(const::wxRichTextRange & range) const1704  ::wxString sipwxRichTextCell::GetTextForRange(const  ::wxRichTextRange& range) const
1705 {
1706     sip_gilstate_t sipGILState;
1707     PyObject *sipMeth;
1708 
1709     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[97]),sipPySelf,SIP_NULLPTR,sipName_GetTextForRange);
1710 
1711     if (!sipMeth)
1712         return  ::wxRichTextCell::GetTextForRange(range);
1713 
1714     extern  ::wxString sipVH__richtext_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&);
1715 
1716     return sipVH__richtext_11(sipGILState, 0, sipPySelf, sipMeth, range);
1717 }
1718 
GetFloatDirection() const1719 int sipwxRichTextCell::GetFloatDirection() const
1720 {
1721     sip_gilstate_t sipGILState;
1722     PyObject *sipMeth;
1723 
1724     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[98]),sipPySelf,SIP_NULLPTR,sipName_GetFloatDirection);
1725 
1726     if (!sipMeth)
1727         return  ::wxRichTextCell::GetFloatDirection();
1728 
1729     extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1730 
1731     return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1732 }
1733 
IsFloating() const1734 bool sipwxRichTextCell::IsFloating() const
1735 {
1736     sip_gilstate_t sipGILState;
1737     PyObject *sipMeth;
1738 
1739     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[99]),sipPySelf,SIP_NULLPTR,sipName_IsFloating);
1740 
1741     if (!sipMeth)
1742         return  ::wxRichTextCell::IsFloating();
1743 
1744     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1745 
1746     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1747 }
1748 
IsFloatable() const1749 bool sipwxRichTextCell::IsFloatable() const
1750 {
1751     sip_gilstate_t sipGILState;
1752     PyObject *sipMeth;
1753 
1754     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[100]),sipPySelf,SIP_NULLPTR,sipName_IsFloatable);
1755 
1756     if (!sipMeth)
1757         return  ::wxRichTextCell::IsFloatable();
1758 
1759     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1760 
1761     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1762 }
1763 
IsEmpty() const1764 bool sipwxRichTextCell::IsEmpty() const
1765 {
1766     sip_gilstate_t sipGILState;
1767     PyObject *sipMeth;
1768 
1769     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[101]),sipPySelf,SIP_NULLPTR,sipName_IsEmpty);
1770 
1771     if (!sipMeth)
1772         return  ::wxRichTextCell::IsEmpty();
1773 
1774     extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1775 
1776     return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1777 }
1778 
DeleteRange(const::wxRichTextRange & range)1779 bool sipwxRichTextCell::DeleteRange(const  ::wxRichTextRange& range)
1780 {
1781     sip_gilstate_t sipGILState;
1782     PyObject *sipMeth;
1783 
1784     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[102],sipPySelf,SIP_NULLPTR,sipName_DeleteRange);
1785 
1786     if (!sipMeth)
1787         return  ::wxRichTextCell::DeleteRange(range);
1788 
1789     extern bool sipVH__richtext_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&);
1790 
1791     return sipVH__richtext_8(sipGILState, 0, sipPySelf, sipMeth, range);
1792 }
1793 
CalculateRange(long start,long & end)1794 void sipwxRichTextCell::CalculateRange(long start,long& end)
1795 {
1796     sip_gilstate_t sipGILState;
1797     PyObject *sipMeth;
1798 
1799     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[103],sipPySelf,SIP_NULLPTR,sipName_CalculateRange);
1800 
1801     if (!sipMeth)
1802     {
1803          ::wxRichTextCell::CalculateRange(start,end);
1804         return;
1805     }
1806 
1807     extern void sipVH__richtext_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long&);
1808 
1809     sipVH__richtext_7(sipGILState, 0, sipPySelf, sipMeth, start, end);
1810 }
1811 
DoSplit(long pos)1812  ::wxRichTextObject* sipwxRichTextCell::DoSplit(long pos)
1813 {
1814     sip_gilstate_t sipGILState;
1815     PyObject *sipMeth;
1816 
1817     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[104],sipPySelf,SIP_NULLPTR,sipName_DoSplit);
1818 
1819     if (!sipMeth)
1820         return  ::wxRichTextCell::DoSplit(pos);
1821 
1822     extern  ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
1823 
1824     return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, pos);
1825 }
1826 
GetRangeSize(const::wxRichTextRange & range,::wxSize & size,int & descent,::wxDC & dc,::wxRichTextDrawingContext & context,int flags,const::wxPoint & position,const::wxSize & parentSize,::wxArrayInt * partialExtents) const1827 bool sipwxRichTextCell::GetRangeSize(const  ::wxRichTextRange& range, ::wxSize& size,int& descent, ::wxDC& dc, ::wxRichTextDrawingContext& context,int flags,const  ::wxPoint& position,const  ::wxSize& parentSize, ::wxArrayInt*partialExtents) const
1828 {
1829     sip_gilstate_t sipGILState;
1830     PyObject *sipMeth;
1831 
1832     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[105]),sipPySelf,SIP_NULLPTR,sipName_GetRangeSize);
1833 
1834     if (!sipMeth)
1835         return  ::wxRichTextCell::GetRangeSize(range,size,descent,dc,context,flags,position,parentSize,partialExtents);
1836 
1837     extern bool sipVH__richtext_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRichTextRange&, ::wxSize&,int&, ::wxDC&, ::wxRichTextDrawingContext&,int,const  ::wxPoint&,const  ::wxSize&, ::wxArrayInt*);
1838 
1839     return sipVH__richtext_5(sipGILState, 0, sipPySelf, sipMeth, range, size, descent, dc, context, flags, position, parentSize, partialExtents);
1840 }
1841 
GetBestSize() const1842  ::wxSize sipwxRichTextCell::GetBestSize() const
1843 {
1844     sip_gilstate_t sipGILState;
1845     PyObject *sipMeth;
1846 
1847     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[106]),sipPySelf,SIP_NULLPTR,sipName_GetBestSize);
1848 
1849     if (!sipMeth)
1850         return  ::wxRichTextCell::GetBestSize();
1851 
1852     extern  ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1853 
1854     return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1855 }
1856 
FindPosition(::wxDC & dc,::wxRichTextDrawingContext & context,long index,::wxPoint & pt,int * height,bool forceLineStart)1857 bool sipwxRichTextCell::FindPosition( ::wxDC& dc, ::wxRichTextDrawingContext& context,long index, ::wxPoint& pt,int*height,bool forceLineStart)
1858 {
1859     sip_gilstate_t sipGILState;
1860     PyObject *sipMeth;
1861 
1862     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[107],sipPySelf,SIP_NULLPTR,sipName_FindPosition);
1863 
1864     if (!sipMeth)
1865         return  ::wxRichTextCell::FindPosition(dc,context,index,pt,height,forceLineStart);
1866 
1867     extern bool sipVH__richtext_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&,long, ::wxPoint&,int*,bool);
1868 
1869     return sipVH__richtext_3(sipGILState, 0, sipPySelf, sipMeth, dc, context, index, pt, height, forceLineStart);
1870 }
1871 
HitTest(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxPoint & pt,long & textPosition,::wxRichTextObject ** obj,::wxRichTextObject ** contextObj,int flags)1872 int sipwxRichTextCell::HitTest( ::wxDC& dc, ::wxRichTextDrawingContext& context,const  ::wxPoint& pt,long& textPosition, ::wxRichTextObject**obj, ::wxRichTextObject**contextObj,int flags)
1873 {
1874     sip_gilstate_t sipGILState;
1875     PyObject *sipMeth;
1876 
1877     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[108],sipPySelf,SIP_NULLPTR,sipName_HitTest);
1878 
1879     if (!sipMeth)
1880         return  ::wxRichTextCell::HitTest(dc,context,pt,textPosition,obj,contextObj,flags);
1881 
1882     extern int sipVH__richtext_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxPoint&,long&, ::wxRichTextObject**, ::wxRichTextObject**,int);
1883 
1884     return sipVH__richtext_2(sipGILState, 0, sipPySelf, sipMeth, dc, context, pt, textPosition, obj, contextObj, flags);
1885 }
1886 
Layout(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRect & rect,const::wxRect & parentRect,int style)1887 bool sipwxRichTextCell::Layout( ::wxDC& dc, ::wxRichTextDrawingContext& context,const  ::wxRect& rect,const  ::wxRect& parentRect,int style)
1888 {
1889     sip_gilstate_t sipGILState;
1890     PyObject *sipMeth;
1891 
1892     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[109],sipPySelf,SIP_NULLPTR,sipName_Layout);
1893 
1894     if (!sipMeth)
1895         return  ::wxRichTextCell::Layout(dc,context,rect,parentRect,style);
1896 
1897     extern bool sipVH__richtext_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRect&,const  ::wxRect&,int);
1898 
1899     return sipVH__richtext_1(sipGILState, 0, sipPySelf, sipMeth, dc, context, rect, parentRect, style);
1900 }
1901 
Draw(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRichTextRange & range,const::wxRichTextSelection & selection,const::wxRect & rect,int descent,int style)1902 bool sipwxRichTextCell::Draw( ::wxDC& dc, ::wxRichTextDrawingContext& context,const  ::wxRichTextRange& range,const  ::wxRichTextSelection& selection,const  ::wxRect& rect,int descent,int style)
1903 {
1904     sip_gilstate_t sipGILState;
1905     PyObject *sipMeth;
1906 
1907     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[110],sipPySelf,SIP_NULLPTR,sipName_Draw);
1908 
1909     if (!sipMeth)
1910         return  ::wxRichTextCell::Draw(dc,context,range,selection,rect,descent,style);
1911 
1912     extern bool sipVH__richtext_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxRichTextDrawingContext&,const  ::wxRichTextRange&,const  ::wxRichTextSelection&,const  ::wxRect&,int,int);
1913 
1914     return sipVH__richtext_0(sipGILState, 0, sipPySelf, sipMeth, dc, context, range, selection, rect, descent, style);
1915 }
1916 
GetChildAtPosition(long pos) const1917  ::wxRichTextObject* sipwxRichTextCell::GetChildAtPosition(long pos) const
1918 {
1919     sip_gilstate_t sipGILState;
1920     PyObject *sipMeth;
1921 
1922     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[111]),sipPySelf,SIP_NULLPTR,sipName_GetChildAtPosition);
1923 
1924     if (!sipMeth)
1925         return  ::wxRichTextCell::GetChildAtPosition(pos);
1926 
1927     extern  ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
1928 
1929     return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, pos);
1930 }
1931 
1932 
1933 PyDoc_STRVAR(doc_wxRichTextCell_Draw, "Draw(dc, context, range, selection, rect, descent, style) -> bool\n"
1934 "\n"
1935 "Draw the item, within the given range.");
1936 
1937 extern "C" {static PyObject *meth_wxRichTextCell_Draw(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_Draw(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1938 static PyObject *meth_wxRichTextCell_Draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1939 {
1940     PyObject *sipParseErr = SIP_NULLPTR;
1941     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1942 
1943     {
1944          ::wxDC* dc;
1945          ::wxRichTextDrawingContext* context;
1946         const  ::wxRichTextRange* range;
1947         int rangeState = 0;
1948         const  ::wxRichTextSelection* selection;
1949         const  ::wxRect* rect;
1950         int rectState = 0;
1951         int descent;
1952         int style;
1953          ::wxRichTextCell *sipCpp;
1954 
1955         static const char *sipKwdList[] = {
1956             sipName_dc,
1957             sipName_context,
1958             sipName_range,
1959             sipName_selection,
1960             sipName_rect,
1961             sipName_descent,
1962             sipName_style,
1963         };
1964 
1965         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1J9J1ii", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxRichTextRange, &range, &rangeState, sipType_wxRichTextSelection, &selection, sipType_wxRect, &rect, &rectState, &descent, &style))
1966         {
1967             bool sipRes;
1968 
1969             PyErr_Clear();
1970 
1971             Py_BEGIN_ALLOW_THREADS
1972             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::Draw(*dc,*context,*range,*selection,*rect,descent,style) : sipCpp->Draw(*dc,*context,*range,*selection,*rect,descent,style));
1973             Py_END_ALLOW_THREADS
1974             sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
1975             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1976 
1977             if (PyErr_Occurred())
1978                 return 0;
1979 
1980             return PyBool_FromLong(sipRes);
1981         }
1982     }
1983 
1984     /* Raise an exception if the arguments couldn't be parsed. */
1985     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_Draw, SIP_NULLPTR);
1986 
1987     return SIP_NULLPTR;
1988 }
1989 
1990 
1991 PyDoc_STRVAR(doc_wxRichTextCell_HitTest, "HitTest(dc, context, pt, flags=0) -> (int, textPosition, obj, contextObj)\n"
1992 "\n"
1993 "Hit-testing: returns a flag indicating hit test details, plus\n"
1994 "information about position.");
1995 
1996 extern "C" {static PyObject *meth_wxRichTextCell_HitTest(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_HitTest(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1997 static PyObject *meth_wxRichTextCell_HitTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1998 {
1999     PyObject *sipParseErr = SIP_NULLPTR;
2000     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2001 
2002     {
2003          ::wxDC* dc;
2004          ::wxRichTextDrawingContext* context;
2005         const  ::wxPoint* pt;
2006         int ptState = 0;
2007         long textPosition;
2008          ::wxRichTextObject* obj;
2009          ::wxRichTextObject* contextObj;
2010         int flags = 0;
2011          ::wxRichTextCell *sipCpp;
2012 
2013         static const char *sipKwdList[] = {
2014             sipName_dc,
2015             sipName_context,
2016             sipName_pt,
2017             sipName_flags,
2018         };
2019 
2020         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1|i", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxPoint, &pt, &ptState, &flags))
2021         {
2022             int sipRes;
2023 
2024             PyErr_Clear();
2025 
2026             Py_BEGIN_ALLOW_THREADS
2027             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::HitTest(*dc,*context,*pt,textPosition,&obj,&contextObj,flags) : sipCpp->HitTest(*dc,*context,*pt,textPosition,&obj,&contextObj,flags));
2028             Py_END_ALLOW_THREADS
2029             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
2030 
2031             if (PyErr_Occurred())
2032                 return 0;
2033 
2034             return sipBuildResult(0,"(ilDD)",sipRes,textPosition,obj,sipType_wxRichTextObject,SIP_NULLPTR,contextObj,sipType_wxRichTextObject,SIP_NULLPTR);
2035         }
2036     }
2037 
2038     /* Raise an exception if the arguments couldn't be parsed. */
2039     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_HitTest, SIP_NULLPTR);
2040 
2041     return SIP_NULLPTR;
2042 }
2043 
2044 
2045 PyDoc_STRVAR(doc_wxRichTextCell_GetXMLNodeName, "GetXMLNodeName() -> String\n"
2046 "\n"
2047 "Returns the XML node name of this object.");
2048 
2049 extern "C" {static PyObject *meth_wxRichTextCell_GetXMLNodeName(PyObject *, PyObject *);}
meth_wxRichTextCell_GetXMLNodeName(PyObject * sipSelf,PyObject * sipArgs)2050 static PyObject *meth_wxRichTextCell_GetXMLNodeName(PyObject *sipSelf, PyObject *sipArgs)
2051 {
2052     PyObject *sipParseErr = SIP_NULLPTR;
2053     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2054 
2055     {
2056         const  ::wxRichTextCell *sipCpp;
2057 
2058         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2059         {
2060              ::wxString*sipRes;
2061 
2062             PyErr_Clear();
2063 
2064             Py_BEGIN_ALLOW_THREADS
2065             sipRes = new  ::wxString((sipSelfWasArg ? sipCpp-> ::wxRichTextCell::GetXMLNodeName() : sipCpp->GetXMLNodeName()));
2066             Py_END_ALLOW_THREADS
2067 
2068             if (PyErr_Occurred())
2069                 return 0;
2070 
2071             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2072         }
2073     }
2074 
2075     /* Raise an exception if the arguments couldn't be parsed. */
2076     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_GetXMLNodeName, SIP_NULLPTR);
2077 
2078     return SIP_NULLPTR;
2079 }
2080 
2081 
2082 PyDoc_STRVAR(doc_wxRichTextCell_CanEditProperties, "CanEditProperties() -> bool\n"
2083 "\n"
2084 "Returns true if we can edit the object's properties via a GUI.");
2085 
2086 extern "C" {static PyObject *meth_wxRichTextCell_CanEditProperties(PyObject *, PyObject *);}
meth_wxRichTextCell_CanEditProperties(PyObject * sipSelf,PyObject * sipArgs)2087 static PyObject *meth_wxRichTextCell_CanEditProperties(PyObject *sipSelf, PyObject *sipArgs)
2088 {
2089     PyObject *sipParseErr = SIP_NULLPTR;
2090     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2091 
2092     {
2093         const  ::wxRichTextCell *sipCpp;
2094 
2095         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2096         {
2097             bool sipRes;
2098 
2099             PyErr_Clear();
2100 
2101             Py_BEGIN_ALLOW_THREADS
2102             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::CanEditProperties() : sipCpp->CanEditProperties());
2103             Py_END_ALLOW_THREADS
2104 
2105             if (PyErr_Occurred())
2106                 return 0;
2107 
2108             return PyBool_FromLong(sipRes);
2109         }
2110     }
2111 
2112     /* Raise an exception if the arguments couldn't be parsed. */
2113     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_CanEditProperties, SIP_NULLPTR);
2114 
2115     return SIP_NULLPTR;
2116 }
2117 
2118 
2119 PyDoc_STRVAR(doc_wxRichTextCell_EditProperties, "EditProperties(parent, buffer) -> bool\n"
2120 "\n"
2121 "Edits the object's properties via a GUI.");
2122 
2123 extern "C" {static PyObject *meth_wxRichTextCell_EditProperties(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_EditProperties(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2124 static PyObject *meth_wxRichTextCell_EditProperties(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2125 {
2126     PyObject *sipParseErr = SIP_NULLPTR;
2127     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2128 
2129     {
2130          ::wxWindow* parent;
2131          ::wxRichTextBuffer* buffer;
2132          ::wxRichTextCell *sipCpp;
2133 
2134         static const char *sipKwdList[] = {
2135             sipName_parent,
2136             sipName_buffer,
2137         };
2138 
2139         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxWindow, &parent, sipType_wxRichTextBuffer, &buffer))
2140         {
2141             bool sipRes;
2142 
2143             PyErr_Clear();
2144 
2145             Py_BEGIN_ALLOW_THREADS
2146             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::EditProperties(parent,buffer) : sipCpp->EditProperties(parent,buffer));
2147             Py_END_ALLOW_THREADS
2148 
2149             if (PyErr_Occurred())
2150                 return 0;
2151 
2152             return PyBool_FromLong(sipRes);
2153         }
2154     }
2155 
2156     /* Raise an exception if the arguments couldn't be parsed. */
2157     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_EditProperties, SIP_NULLPTR);
2158 
2159     return SIP_NULLPTR;
2160 }
2161 
2162 
2163 PyDoc_STRVAR(doc_wxRichTextCell_GetPropertiesMenuLabel, "GetPropertiesMenuLabel() -> String\n"
2164 "\n"
2165 "Returns the label to be used for the properties context menu item.");
2166 
2167 extern "C" {static PyObject *meth_wxRichTextCell_GetPropertiesMenuLabel(PyObject *, PyObject *);}
meth_wxRichTextCell_GetPropertiesMenuLabel(PyObject * sipSelf,PyObject * sipArgs)2168 static PyObject *meth_wxRichTextCell_GetPropertiesMenuLabel(PyObject *sipSelf, PyObject *sipArgs)
2169 {
2170     PyObject *sipParseErr = SIP_NULLPTR;
2171     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2172 
2173     {
2174         const  ::wxRichTextCell *sipCpp;
2175 
2176         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2177         {
2178              ::wxString*sipRes;
2179 
2180             PyErr_Clear();
2181 
2182             Py_BEGIN_ALLOW_THREADS
2183             sipRes = new  ::wxString((sipSelfWasArg ? sipCpp-> ::wxRichTextCell::GetPropertiesMenuLabel() : sipCpp->GetPropertiesMenuLabel()));
2184             Py_END_ALLOW_THREADS
2185 
2186             if (PyErr_Occurred())
2187                 return 0;
2188 
2189             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2190         }
2191     }
2192 
2193     /* Raise an exception if the arguments couldn't be parsed. */
2194     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_GetPropertiesMenuLabel, SIP_NULLPTR);
2195 
2196     return SIP_NULLPTR;
2197 }
2198 
2199 
2200 PyDoc_STRVAR(doc_wxRichTextCell_GetColSpan, "GetColSpan() -> int\n"
2201 "\n"
2202 "Returns the number of columns spanned by the cell.");
2203 
2204 extern "C" {static PyObject *meth_wxRichTextCell_GetColSpan(PyObject *, PyObject *);}
meth_wxRichTextCell_GetColSpan(PyObject * sipSelf,PyObject * sipArgs)2205 static PyObject *meth_wxRichTextCell_GetColSpan(PyObject *sipSelf, PyObject *sipArgs)
2206 {
2207     PyObject *sipParseErr = SIP_NULLPTR;
2208 
2209     {
2210         const  ::wxRichTextCell *sipCpp;
2211 
2212         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2213         {
2214             int sipRes;
2215 
2216             PyErr_Clear();
2217 
2218             Py_BEGIN_ALLOW_THREADS
2219             sipRes = sipCpp->GetColSpan();
2220             Py_END_ALLOW_THREADS
2221 
2222             if (PyErr_Occurred())
2223                 return 0;
2224 
2225             return SIPLong_FromLong(sipRes);
2226         }
2227     }
2228 
2229     /* Raise an exception if the arguments couldn't be parsed. */
2230     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_GetColSpan, SIP_NULLPTR);
2231 
2232     return SIP_NULLPTR;
2233 }
2234 
2235 
2236 PyDoc_STRVAR(doc_wxRichTextCell_SetColSpan, "SetColSpan(span)\n"
2237 "\n"
2238 "Set the number of columns spanned by the cell.");
2239 
2240 extern "C" {static PyObject *meth_wxRichTextCell_SetColSpan(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_SetColSpan(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2241 static PyObject *meth_wxRichTextCell_SetColSpan(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2242 {
2243     PyObject *sipParseErr = SIP_NULLPTR;
2244 
2245     {
2246         long span;
2247          ::wxRichTextCell *sipCpp;
2248 
2249         static const char *sipKwdList[] = {
2250             sipName_span,
2251         };
2252 
2253         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxRichTextCell, &sipCpp, &span))
2254         {
2255             PyErr_Clear();
2256 
2257             Py_BEGIN_ALLOW_THREADS
2258             sipCpp->SetColSpan(span);
2259             Py_END_ALLOW_THREADS
2260 
2261             if (PyErr_Occurred())
2262                 return 0;
2263 
2264             Py_INCREF(Py_None);
2265             return Py_None;
2266         }
2267     }
2268 
2269     /* Raise an exception if the arguments couldn't be parsed. */
2270     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_SetColSpan, SIP_NULLPTR);
2271 
2272     return SIP_NULLPTR;
2273 }
2274 
2275 
2276 PyDoc_STRVAR(doc_wxRichTextCell_GetRowSpan, "GetRowSpan() -> int\n"
2277 "\n"
2278 "Returns the number of rows spanned by the cell.");
2279 
2280 extern "C" {static PyObject *meth_wxRichTextCell_GetRowSpan(PyObject *, PyObject *);}
meth_wxRichTextCell_GetRowSpan(PyObject * sipSelf,PyObject * sipArgs)2281 static PyObject *meth_wxRichTextCell_GetRowSpan(PyObject *sipSelf, PyObject *sipArgs)
2282 {
2283     PyObject *sipParseErr = SIP_NULLPTR;
2284 
2285     {
2286         const  ::wxRichTextCell *sipCpp;
2287 
2288         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2289         {
2290             int sipRes;
2291 
2292             PyErr_Clear();
2293 
2294             Py_BEGIN_ALLOW_THREADS
2295             sipRes = sipCpp->GetRowSpan();
2296             Py_END_ALLOW_THREADS
2297 
2298             if (PyErr_Occurred())
2299                 return 0;
2300 
2301             return SIPLong_FromLong(sipRes);
2302         }
2303     }
2304 
2305     /* Raise an exception if the arguments couldn't be parsed. */
2306     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_GetRowSpan, SIP_NULLPTR);
2307 
2308     return SIP_NULLPTR;
2309 }
2310 
2311 
2312 PyDoc_STRVAR(doc_wxRichTextCell_SetRowSpan, "SetRowSpan(span)\n"
2313 "\n"
2314 "Set the number of rows spanned by the cell.");
2315 
2316 extern "C" {static PyObject *meth_wxRichTextCell_SetRowSpan(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_SetRowSpan(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2317 static PyObject *meth_wxRichTextCell_SetRowSpan(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2318 {
2319     PyObject *sipParseErr = SIP_NULLPTR;
2320 
2321     {
2322         long span;
2323          ::wxRichTextCell *sipCpp;
2324 
2325         static const char *sipKwdList[] = {
2326             sipName_span,
2327         };
2328 
2329         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxRichTextCell, &sipCpp, &span))
2330         {
2331             PyErr_Clear();
2332 
2333             Py_BEGIN_ALLOW_THREADS
2334             sipCpp->SetRowSpan(span);
2335             Py_END_ALLOW_THREADS
2336 
2337             if (PyErr_Occurred())
2338                 return 0;
2339 
2340             Py_INCREF(Py_None);
2341             return Py_None;
2342         }
2343     }
2344 
2345     /* Raise an exception if the arguments couldn't be parsed. */
2346     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_SetRowSpan, SIP_NULLPTR);
2347 
2348     return SIP_NULLPTR;
2349 }
2350 
2351 
2352 PyDoc_STRVAR(doc_wxRichTextCell_Clone, "Clone() -> RichTextObject\n"
2353 "\n"
2354 "Clones the object.");
2355 
2356 extern "C" {static PyObject *meth_wxRichTextCell_Clone(PyObject *, PyObject *);}
meth_wxRichTextCell_Clone(PyObject * sipSelf,PyObject * sipArgs)2357 static PyObject *meth_wxRichTextCell_Clone(PyObject *sipSelf, PyObject *sipArgs)
2358 {
2359     PyObject *sipParseErr = SIP_NULLPTR;
2360     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2361 
2362     {
2363         const  ::wxRichTextCell *sipCpp;
2364 
2365         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextCell, &sipCpp))
2366         {
2367              ::wxRichTextObject*sipRes;
2368 
2369             PyErr_Clear();
2370 
2371             Py_BEGIN_ALLOW_THREADS
2372             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::Clone() : sipCpp->Clone());
2373             Py_END_ALLOW_THREADS
2374 
2375             if (PyErr_Occurred())
2376                 return 0;
2377 
2378             return sipConvertFromNewType(sipRes,sipType_wxRichTextObject,SIP_NULLPTR);
2379         }
2380     }
2381 
2382     /* Raise an exception if the arguments couldn't be parsed. */
2383     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_Clone, SIP_NULLPTR);
2384 
2385     return SIP_NULLPTR;
2386 }
2387 
2388 
2389 PyDoc_STRVAR(doc_wxRichTextCell_Copy, "Copy(obj)");
2390 
2391 extern "C" {static PyObject *meth_wxRichTextCell_Copy(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_Copy(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2392 static PyObject *meth_wxRichTextCell_Copy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2393 {
2394     PyObject *sipParseErr = SIP_NULLPTR;
2395 
2396     {
2397         const  ::wxRichTextCell* obj;
2398          ::wxRichTextCell *sipCpp;
2399 
2400         static const char *sipKwdList[] = {
2401             sipName_obj,
2402         };
2403 
2404         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxRichTextCell, &obj))
2405         {
2406             PyErr_Clear();
2407 
2408             Py_BEGIN_ALLOW_THREADS
2409             sipCpp->Copy(*obj);
2410             Py_END_ALLOW_THREADS
2411 
2412             if (PyErr_Occurred())
2413                 return 0;
2414 
2415             Py_INCREF(Py_None);
2416             return Py_None;
2417         }
2418     }
2419 
2420     /* Raise an exception if the arguments couldn't be parsed. */
2421     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_Copy, SIP_NULLPTR);
2422 
2423     return SIP_NULLPTR;
2424 }
2425 
2426 
2427 PyDoc_STRVAR(doc_wxRichTextCell_Layout, "Layout(self, dc: DC, context: RichTextDrawingContext, rect: Rect, parentRect: Rect, style: int) -> bool");
2428 
2429 extern "C" {static PyObject *meth_wxRichTextCell_Layout(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_Layout(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2430 static PyObject *meth_wxRichTextCell_Layout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2431 {
2432     PyObject *sipParseErr = SIP_NULLPTR;
2433     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2434 
2435     {
2436          ::wxDC* dc;
2437          ::wxRichTextDrawingContext* context;
2438         const  ::wxRect* rect;
2439         int rectState = 0;
2440         const  ::wxRect* parentRect;
2441         int parentRectState = 0;
2442         int style;
2443          ::wxRichTextCell *sipCpp;
2444 
2445         static const char *sipKwdList[] = {
2446             sipName_dc,
2447             sipName_context,
2448             sipName_rect,
2449             sipName_parentRect,
2450             sipName_style,
2451         };
2452 
2453         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1J1i", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxRect, &rect, &rectState, sipType_wxRect, &parentRect, &parentRectState, &style))
2454         {
2455             bool sipRes;
2456 
2457             PyErr_Clear();
2458 
2459             Py_BEGIN_ALLOW_THREADS
2460             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::Layout(*dc,*context,*rect,*parentRect,style) : sipCpp->Layout(*dc,*context,*rect,*parentRect,style));
2461             Py_END_ALLOW_THREADS
2462             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
2463             sipReleaseType(const_cast< ::wxRect *>(parentRect),sipType_wxRect,parentRectState);
2464 
2465             if (PyErr_Occurred())
2466                 return 0;
2467 
2468             return PyBool_FromLong(sipRes);
2469         }
2470     }
2471 
2472     /* Raise an exception if the arguments couldn't be parsed. */
2473     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_Layout, doc_wxRichTextCell_Layout);
2474 
2475     return SIP_NULLPTR;
2476 }
2477 
2478 
2479 PyDoc_STRVAR(doc_wxRichTextCell_GetRangeSize, "GetRangeSize(self, range: RichTextRange, size: Size, dc: DC, context: RichTextDrawingContext, flags: int, position: Point = wxPoint(0,0), parentSize: Size = wxDefaultSize, partialExtents: object = None) -> Tuple[bool, int]");
2480 
2481 extern "C" {static PyObject *meth_wxRichTextCell_GetRangeSize(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextCell_GetRangeSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2482 static PyObject *meth_wxRichTextCell_GetRangeSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2483 {
2484     PyObject *sipParseErr = SIP_NULLPTR;
2485     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2486 
2487     {
2488         const  ::wxRichTextRange* range;
2489         int rangeState = 0;
2490          ::wxSize* size;
2491         int sizeState = 0;
2492         int descent;
2493          ::wxDC* dc;
2494          ::wxRichTextDrawingContext* context;
2495         int flags;
2496         const  ::wxPoint& positiondef = wxPoint(0,0);
2497         const  ::wxPoint* position = &positiondef;
2498         int positionState = 0;
2499         const  ::wxSize& parentSizedef = wxDefaultSize;
2500         const  ::wxSize* parentSize = &parentSizedef;
2501         int parentSizeState = 0;
2502          ::wxArrayInt* partialExtents = 0;
2503         int partialExtentsState = 0;
2504         const  ::wxRichTextCell *sipCpp;
2505 
2506         static const char *sipKwdList[] = {
2507             sipName_range,
2508             sipName_size,
2509             sipName_dc,
2510             sipName_context,
2511             sipName_flags,
2512             sipName_position,
2513             sipName_parentSize,
2514             sipName_partialExtents,
2515         };
2516 
2517         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1J9J9i|J1J1J0", &sipSelf, sipType_wxRichTextCell, &sipCpp, sipType_wxRichTextRange, &range, &rangeState, sipType_wxSize, &size, &sizeState, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, &flags, sipType_wxPoint, &position, &positionState, sipType_wxSize, &parentSize, &parentSizeState, sipType_wxArrayInt,&partialExtents, &partialExtentsState))
2518         {
2519             bool sipRes;
2520 
2521             PyErr_Clear();
2522 
2523             Py_BEGIN_ALLOW_THREADS
2524             sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextCell::GetRangeSize(*range,*size,descent,*dc,*context,flags,*position,*parentSize,partialExtents) : sipCpp->GetRangeSize(*range,*size,descent,*dc,*context,flags,*position,*parentSize,partialExtents));
2525             Py_END_ALLOW_THREADS
2526             sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
2527             sipReleaseType(size,sipType_wxSize,sizeState);
2528             sipReleaseType(const_cast< ::wxPoint *>(position),sipType_wxPoint,positionState);
2529             sipReleaseType(const_cast< ::wxSize *>(parentSize),sipType_wxSize,parentSizeState);
2530             sipReleaseType(partialExtents,sipType_wxArrayInt,partialExtentsState);
2531 
2532             if (PyErr_Occurred())
2533                 return 0;
2534 
2535             return sipBuildResult(0,"(bi)",sipRes,descent);
2536         }
2537     }
2538 
2539     /* Raise an exception if the arguments couldn't be parsed. */
2540     sipNoMethod(sipParseErr, sipName_RichTextCell, sipName_GetRangeSize, doc_wxRichTextCell_GetRangeSize);
2541 
2542     return SIP_NULLPTR;
2543 }
2544 
2545 
2546 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
2547 extern "C" {static void *cast_wxRichTextCell(void *, const sipTypeDef *);}
cast_wxRichTextCell(void * sipCppV,const sipTypeDef * targetType)2548 static void *cast_wxRichTextCell(void *sipCppV, const sipTypeDef *targetType)
2549 {
2550      ::wxRichTextCell *sipCpp = reinterpret_cast< ::wxRichTextCell *>(sipCppV);
2551 
2552     if (targetType == sipType_wxRichTextBox)
2553         return static_cast< ::wxRichTextBox *>(sipCpp);
2554 
2555     if (targetType == sipType_wxRichTextParagraphLayoutBox)
2556         return static_cast< ::wxRichTextParagraphLayoutBox *>(sipCpp);
2557 
2558     if (targetType == sipType_wxRichTextCompositeObject)
2559         return static_cast< ::wxRichTextCompositeObject *>(sipCpp);
2560 
2561     if (targetType == sipType_wxRichTextObject)
2562         return static_cast< ::wxRichTextObject *>(sipCpp);
2563 
2564     if (targetType == sipType_wxObject)
2565         return static_cast< ::wxObject *>(sipCpp);
2566 
2567     return sipCppV;
2568 }
2569 
2570 
2571 /* Call the instance's destructor. */
2572 extern "C" {static void release_wxRichTextCell(void *, int);}
release_wxRichTextCell(void * sipCppV,int sipState)2573 static void release_wxRichTextCell(void *sipCppV, int sipState)
2574 {
2575     Py_BEGIN_ALLOW_THREADS
2576 
2577     if (sipState & SIP_DERIVED_CLASS)
2578         delete reinterpret_cast<sipwxRichTextCell *>(sipCppV);
2579     else
2580         delete reinterpret_cast< ::wxRichTextCell *>(sipCppV);
2581 
2582     Py_END_ALLOW_THREADS
2583 }
2584 
2585 
2586 extern "C" {static void assign_wxRichTextCell(void *, SIP_SSIZE_T, void *);}
assign_wxRichTextCell(void * sipDst,SIP_SSIZE_T sipDstIdx,void * sipSrc)2587 static void assign_wxRichTextCell(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
2588 {
2589     reinterpret_cast< ::wxRichTextCell *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxRichTextCell *>(sipSrc);
2590 }
2591 
2592 
2593 extern "C" {static void *array_wxRichTextCell(SIP_SSIZE_T);}
array_wxRichTextCell(SIP_SSIZE_T sipNrElem)2594 static void *array_wxRichTextCell(SIP_SSIZE_T sipNrElem)
2595 {
2596     return new  ::wxRichTextCell[sipNrElem];
2597 }
2598 
2599 
2600 extern "C" {static void *copy_wxRichTextCell(const void *, SIP_SSIZE_T);}
copy_wxRichTextCell(const void * sipSrc,SIP_SSIZE_T sipSrcIdx)2601 static void *copy_wxRichTextCell(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
2602 {
2603     return new  ::wxRichTextCell(reinterpret_cast<const  ::wxRichTextCell *>(sipSrc)[sipSrcIdx]);
2604 }
2605 
2606 
2607 extern "C" {static void dealloc_wxRichTextCell(sipSimpleWrapper *);}
dealloc_wxRichTextCell(sipSimpleWrapper * sipSelf)2608 static void dealloc_wxRichTextCell(sipSimpleWrapper *sipSelf)
2609 {
2610     if (sipIsDerivedClass(sipSelf))
2611         reinterpret_cast<sipwxRichTextCell *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
2612 
2613     if (sipIsOwnedByPython(sipSelf))
2614     {
2615         release_wxRichTextCell(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
2616     }
2617 }
2618 
2619 
2620 extern "C" {static void *init_type_wxRichTextCell(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxRichTextCell(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)2621 static void *init_type_wxRichTextCell(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
2622 {
2623     sipwxRichTextCell *sipCpp = SIP_NULLPTR;
2624 
2625     {
2626          ::wxRichTextObject* parent = 0;
2627 
2628         static const char *sipKwdList[] = {
2629             sipName_parent,
2630         };
2631 
2632         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J8", sipType_wxRichTextObject, &parent))
2633         {
2634             PyErr_Clear();
2635 
2636             Py_BEGIN_ALLOW_THREADS
2637             sipCpp = new sipwxRichTextCell(parent);
2638             Py_END_ALLOW_THREADS
2639 
2640             if (PyErr_Occurred())
2641             {
2642                 delete sipCpp;
2643                 return SIP_NULLPTR;
2644             }
2645 
2646             sipCpp->sipPySelf = sipSelf;
2647 
2648             return sipCpp;
2649         }
2650     }
2651 
2652     {
2653         const  ::wxRichTextCell* obj;
2654 
2655         static const char *sipKwdList[] = {
2656             sipName_obj,
2657         };
2658 
2659         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxRichTextCell, &obj))
2660         {
2661             PyErr_Clear();
2662 
2663             Py_BEGIN_ALLOW_THREADS
2664             sipCpp = new sipwxRichTextCell(*obj);
2665             Py_END_ALLOW_THREADS
2666 
2667             if (PyErr_Occurred())
2668             {
2669                 delete sipCpp;
2670                 return SIP_NULLPTR;
2671             }
2672 
2673             sipCpp->sipPySelf = sipSelf;
2674 
2675             return sipCpp;
2676         }
2677     }
2678 
2679     return SIP_NULLPTR;
2680 }
2681 
2682 
2683 /* Define this type's super-types. */
2684 static sipEncodedTypeDef supers_wxRichTextCell[] = {{5, 255, 1}};
2685 
2686 
2687 static PyMethodDef methods_wxRichTextCell[] = {
2688     {SIP_MLNAME_CAST(sipName_CanEditProperties), meth_wxRichTextCell_CanEditProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_CanEditProperties)},
2689     {SIP_MLNAME_CAST(sipName_Clone), meth_wxRichTextCell_Clone, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_Clone)},
2690     {SIP_MLNAME_CAST(sipName_Copy), SIP_MLMETH_CAST(meth_wxRichTextCell_Copy), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_Copy)},
2691     {SIP_MLNAME_CAST(sipName_Draw), SIP_MLMETH_CAST(meth_wxRichTextCell_Draw), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_Draw)},
2692     {SIP_MLNAME_CAST(sipName_EditProperties), SIP_MLMETH_CAST(meth_wxRichTextCell_EditProperties), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_EditProperties)},
2693     {SIP_MLNAME_CAST(sipName_GetColSpan), meth_wxRichTextCell_GetColSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_GetColSpan)},
2694     {SIP_MLNAME_CAST(sipName_GetPropertiesMenuLabel), meth_wxRichTextCell_GetPropertiesMenuLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_GetPropertiesMenuLabel)},
2695     {SIP_MLNAME_CAST(sipName_GetRangeSize), SIP_MLMETH_CAST(meth_wxRichTextCell_GetRangeSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_GetRangeSize)},
2696     {SIP_MLNAME_CAST(sipName_GetRowSpan), meth_wxRichTextCell_GetRowSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_GetRowSpan)},
2697     {SIP_MLNAME_CAST(sipName_GetXMLNodeName), meth_wxRichTextCell_GetXMLNodeName, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextCell_GetXMLNodeName)},
2698     {SIP_MLNAME_CAST(sipName_HitTest), SIP_MLMETH_CAST(meth_wxRichTextCell_HitTest), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_HitTest)},
2699     {SIP_MLNAME_CAST(sipName_Layout), SIP_MLMETH_CAST(meth_wxRichTextCell_Layout), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_Layout)},
2700     {SIP_MLNAME_CAST(sipName_SetColSpan), SIP_MLMETH_CAST(meth_wxRichTextCell_SetColSpan), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_SetColSpan)},
2701     {SIP_MLNAME_CAST(sipName_SetRowSpan), SIP_MLMETH_CAST(meth_wxRichTextCell_SetRowSpan), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextCell_SetRowSpan)}
2702 };
2703 
2704 sipVariableDef variables_wxRichTextCell[] = {
2705     {PropertyVariable, sipName_XMLNodeName, &methods_wxRichTextCell[9], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2706     {PropertyVariable, sipName_RowSpan, &methods_wxRichTextCell[8], &methods_wxRichTextCell[13], SIP_NULLPTR, SIP_NULLPTR},
2707     {PropertyVariable, sipName_PropertiesMenuLabel, &methods_wxRichTextCell[6], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2708     {PropertyVariable, sipName_ColSpan, &methods_wxRichTextCell[5], &methods_wxRichTextCell[12], SIP_NULLPTR, SIP_NULLPTR},
2709 };
2710 
2711 PyDoc_STRVAR(doc_wxRichTextCell, "RichTextCell(parent=None)\n"
2712 "RichTextCell(obj)\n"
2713 "\n"
2714 "wxRichTextCell is the cell in a table, in which the user can type.");
2715 
2716 
2717 sipClassTypeDef sipTypeDef__richtext_wxRichTextCell = {
2718     {
2719         -1,
2720         SIP_NULLPTR,
2721         SIP_NULLPTR,
2722         SIP_TYPE_SCC|SIP_TYPE_CLASS,
2723         sipNameNr_wxRichTextCell,
2724         {SIP_NULLPTR},
2725         SIP_NULLPTR
2726     },
2727     {
2728         sipNameNr_RichTextCell,
2729         {0, 0, 1},
2730         14, methods_wxRichTextCell,
2731         0, SIP_NULLPTR,
2732         4, variables_wxRichTextCell,
2733         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2734     },
2735     doc_wxRichTextCell,
2736     -1,
2737     -1,
2738     supers_wxRichTextCell,
2739     SIP_NULLPTR,
2740     init_type_wxRichTextCell,
2741     SIP_NULLPTR,
2742     SIP_NULLPTR,
2743 #if PY_MAJOR_VERSION >= 3
2744     SIP_NULLPTR,
2745     SIP_NULLPTR,
2746 #else
2747     SIP_NULLPTR,
2748     SIP_NULLPTR,
2749     SIP_NULLPTR,
2750     SIP_NULLPTR,
2751 #endif
2752     dealloc_wxRichTextCell,
2753     assign_wxRichTextCell,
2754     array_wxRichTextCell,
2755     copy_wxRichTextCell,
2756     release_wxRichTextCell,
2757     cast_wxRichTextCell,
2758     SIP_NULLPTR,
2759     SIP_NULLPTR,
2760     SIP_NULLPTR,
2761     SIP_NULLPTR,
2762     SIP_NULLPTR,
2763     SIP_NULLPTR
2764 };
2765