Sha256: 836c1050bafc53936e6ab2fdb5a15f9d3835b186cb5a381244d2867b713f9f1a
Contents?: true
Size: 428 Bytes
Versions: 13
Compression:
Stored size: 428 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 PaintDC def self.draw_on(win, &block) win.paint(&block) if block end end AutoBufferedPaintDC = PaintDC.has_native_double_buffer ? Wx::PaintDC : Wx::BufferedPaintDC end
Version data entries
13 entries across 13 versions & 1 rubygems