Sha256: 9eb14089bdd84d89605ca7a963f52a828c9fda7fc63c78c5ece9d485bc635cf1
Contents?: true
Size: 686 Bytes
Versions: 7
Compression:
Stored size: 686 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Gauge : presents a progress bar # # On the C++ side, the actual class name of wxGauge under Windows is # wxGauge95. So when a Gauge is loaded from XRC, and we try to wrap the # object in a ruby class by calling obj->ClassInfo()->ClassName(), it # seeks for a ruby class (Wx::Gauge95) that doesn't exist (see # swig/shared/get_ruby_object.i). # # To fix this, make Wx::Gauge95 an alias. if Wx::PLATFORM == 'WXMSW' Wx::Gauge95 = Wx::Gauge end
Version data entries
7 entries across 7 versions & 1 rubygems