Sha256: 0669b876bfb239c0cfb69305d33569227954253f18fdc8ac2dca57d050a8d22f
Contents?: true
Size: 779 Bytes
Versions: 9
Compression:
Stored size: 779 Bytes
Contents
### # wxRuby3 wxWidgets interface director # Copyright (c) M.J.N. Corino, The Netherlands ### require_relative './window' module WXRuby3 class Director class AnyButton < Window def setup super if Config.instance.wx_port == :wxQT # pure abstract so use wxRuby specific impl class spec.add_header_code <<~__HEREDOC class wxRubyAnyButton : public wxAnyButton { public: wxRubyAnyButton() : wxAnyButton() {} int QtGetEventType() const wxOVERRIDE { return -1; } }; __HEREDOC spec.use_class_implementation('wxAnyButton', 'wxRubyAnyButton') end end end # class AnyButton end # class Director end # module WXRuby3
Version data entries
9 entries across 9 versions & 1 rubygems