search for: wx_const

Displaying 2 results from an estimated 2 matches for "wx_const".

Did you mean: tx_cons
2007 Jun 23
0
[1060] trunk/wxruby2/swig/fixevents.rb: Include some previously missing events, rehash and simplify
...sp&nbsp&nbsp''EVT_COMMAND'', -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp''EVT_TAB'', -] </del><ins>+# Little 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...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...nt type, and adds the relevant methods to the -# EvtHandler class. - -# Load the $events global array of type definitions -require ''swig/classes/include/events'' - -# Little 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...