Displaying 1 result from an estimated 1 matches for "__preview".
Did you mean:
_preview
2007 Jul 19
0
[1120] trunk/wxruby2/lib/wx/classes/previewframe.rb: GC protection for Preview associated with PreviewFrame, fixing crashes
...tPreview (only a protected member), so instead we have
+ # to assign it to an instance variable so it is marked correctly when
+ # the frame displaying it is marked.
+ wx_init = self.instance_method(:initialize)
+ define_method(:initialize) do | *args |
+ wx_init.bind(self).call(*args)
+ @__preview = args[0]
+ end
+end
</ins></span></pre>
</div>
</div>
</body>
</html>