Sha256: c1bdd03646ca582fcb81b80bd976bdb69a4ca1a0434cf6bd630817f0f2cb6d9d
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 Bytes
Contents
# Device Context to paint within an on_paint handler class Wx::PaintDC # This class should not be instantiated directly in wxRuby; it should # always be used via Window#paint, which takes a block receiving the # DC. This ensures that the DC is cleaned up at the correct time, # preventing serious errors on some platforms. def initialize(*args) Kernel.raise RuntimeError, "Do not instantiate PaintDC directly; use Window#paint", caller[1..-1] end end
Version data entries
9 entries across 9 versions & 1 rubygems