Sha256: b7ef8cbb4c27e3655ff29701d712444cb27d49202503e927ed36eeb92b8e18e9

Contents?: true

Size: 665 Bytes

Versions: 19

Compression:

Stored size: 665 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

19 entries across 19 versions & 1 rubygems

Version Path
wxruby3-1.4.2 lib/wx/core/gauge.rb
wxruby3-1.4.1 lib/wx/core/gauge.rb
wxruby3-1.4.0 lib/wx/core/gauge.rb
wxruby3-1.3.1 lib/wx/core/gauge.rb
wxruby3-1.3.0 lib/wx/core/gauge.rb
wxruby3-1.2.1 lib/wx/core/gauge.rb
wxruby3-1.2.0 lib/wx/core/gauge.rb
wxruby3-1.1.2 lib/wx/core/gauge.rb
wxruby3-1.1.1 lib/wx/core/gauge.rb
wxruby3-1.1.0 lib/wx/core/gauge.rb
wxruby3-1.0.1 lib/wx/core/gauge.rb
wxruby3-0.9.8 lib/wx/core/gauge.rb
wxruby3-0.9.7 lib/wx/core/gauge.rb
wxruby3-0.9.5 lib/wx/core/gauge.rb
wxruby3-0.9.4 lib/wx/core/gauge.rb
wxruby3-0.9.3 lib/wx/core/gauge.rb
wxruby3-0.9.2 lib/wx/core/gauge.rb
wxruby3-0.9.1 lib/wx/core/gauge.rb
wxruby3-0.9.0 lib/wx/core/gauge.rb