Sha256: d9571ae8c8eaf74364b31adaa5bff53f14d42294c31603e1172778d507c0de4d
Contents?: true
Size: 838 Bytes
Versions: 16
Compression:
Stored size: 838 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 wxWidgets interface director ### 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
16 entries across 16 versions & 1 rubygems