Sha256: f46c2cabbb373fbda97f581497b2d5df7c10a907cac0bf965d8039bfcefba20e

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

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

module Wx

  class GDIObject < Object

    # GDIObjects have safe, working (and relatively cheap) copy ctors.
    def dup
      self.class.new(self)
    end

    def clone
      dup
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/core/gdi_object.rb
wxruby3-1.3.0 lib/wx/core/gdi_object.rb