Sha256: 0f04d7af771ea0f07e3450e9dbbaa38fc58a8476beae265e7b33f4e16ce0da0c
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 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 # Emulates the wxWidgets WindowUpdateLocker class, by providing a scope within # which window can be updated without refreshing class Wx::WindowUpdateLocker # Only one class method accepting a window that will be # frozen while the block is executed def self.update(win) win.freeze yield ensure win.thaw end end
Version data entries
7 entries across 7 versions & 1 rubygems