Class: Wx::DataFormat
- Inherits:
-
Object
- Object
- Wx::DataFormat
- Defined in:
- lib/wx/classes/dataformat.rb
Overview
Make this easier to use for multi-typed data objects. Comparison doesn’t work correctly in the SWIG binding
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/wx/classes/dataformat.rb', line 4 def ==(other) if self.get_type > Wx::DATA_FORMAT_ID_INVALID self.get_type == other.get_type else self.id == other.id end end |