Sha256: e4536926e792989ea31f137cd2de70a87c5fc76d86a1cbd7c314baf7640112bb
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
### # wxRuby3 wxWidgets interface director # Copyright (c) M.J.N. Corino, The Netherlands ### module WXRuby3 class Director class RichTextBuffer < Director include Typemap::RichText include Typemap::IOStreams def setup spec.disable_proxies spec.items.replace %w[ wxTextAttrBorder wxTextAttrBorders wxTextBoxAttr wxRichTextAttr wxRichTextBuffer ] spec.gc_as_object 'wxRichTextAttr' spec.gc_as_object 'wxRichTextBuffer' spec.override_inheritance_chain('wxRichTextBuffer', %w[wxObject]) spec.ignore %w[ wxRichTextBuffer::GetBatchedCommand wxRichTextBuffer::GetCommandProcessor ] spec.disown 'wxRichTextFileHandler* handler' spec.ignore(%w[wxRICHTEXT_ALL wxRICHTEXT_NONE wxRICHTEXT_NO_SELECTION]) # special typemap for const wxChar wxRichTextLineBreakChar; spec.add_swig_code <<~__HEREDOC %typemap(constcode,noblock=1) const wxChar { %set_constant("$symname", rb_str_new2((const char *)wxString($value).utf8_str())); } __HEREDOC spec.do_not_generate(:functions) super end end # class RichTextBuffer end # class Director end # module WXRuby3
Version data entries
5 entries across 5 versions & 1 rubygems