Displaying 3 results from an estimated 3 matches for "windows_on".
Did you mean:
windows_os
2007 Jun 23
0
[1060] trunk/wxruby2/swig/fixevents.rb: Include some previously missing events, rehash and simplify
...e class to make accessing Event Type info a bit easier below
+class WxEventType < Struct.new(:name, :type, :wx_const)
+ # Events in Wx but not exposed in WxRuby (b/c they cause problems)
+ EXCLUDED = [ /^EVT_TAB/, ''EVT_COMMAND'' ]
+ # These event types only work on Windows
+ WINDOWS_ONLY = [ /^EVT_DIALUP/ ]
</ins><span class="cx">
</span><del>-$windows_only = [
-        ''EVT_DIALUP''
-]
</del><ins>+ def initialize(*args)
+ super
+ @excluded = true...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...e class to make accessing Event Type info a bit easier below
-class WxEventType < Struct.new(:name, :type, :wx_const)
- # Events in Wx but not exposed in WxRuby (b/c they cause problems)
- EXCLUDED = [ /^EVT_TAB/, ''EVT_COMMAND'' ]
- # These event types only work on Windows
- WINDOWS_ONLY = [ /^EVT_DIALUP/ ]
-
- def initialize(*args)
- super
- @excluded = true if EXCLUDED.any? { | x | x === name }
- @win_only = true if WINDOWS_ONLY.any? { | x | x === name }
- end
-
- def excluded?
- @excluded
- end
-
- def windows_only?
- @win_only
- end
-end
-
-# Convert the...
2006 Nov 16
0
[742] trunk/wxruby2/swig/fixevents.rb: Un-disable evt_togglebutton on Linux and Mac; don''t seem to be any probs
...      2006-11-16 21:13:49 UTC (rev 742)
</span><span class="lines">@@ -13,8 +13,7 @@
</span><span class="cx"> ]
</span><span class="cx">
</span><span class="cx"> $windows_only = [
</span><del>-        ''EVT_DIALUP'',
-        ''EVT_TOGGLEBUTTON''
</del><ins>+   &am...