Class: Wx::Size
- Inherits:
-
Object
- Object
- Wx::Size
- Defined in:
- lib/wx_sugar/wx_classes/size.rb
Instance Method Summary collapse
-
#default? ⇒ Boolean
Checks if this equal to Wx::DEFAULT_SIZE (i.e. no explicit dimensions set).
Instance Method Details
#default? ⇒ Boolean
Checks if this equal to Wx::DEFAULT_SIZE (i.e. no explicit dimensions set)
4 5 6 |
# File 'lib/wx_sugar/wx_classes/size.rb', line 4 def default? get_width == -1 and get_height == -1 end |