Class: Wx::BrushStyle

Inherits:
Object
  • Object
show all
Includes:
FIRM::Serializable
Defined in:
lib/wx/shapes/serialize/wx.rb

Overview

need to add this Enum explicitly as it was initially defined before we extended the Wx::Enum class above

Instance Method Summary collapse

Instance Method Details

#init_from_serialized(data) ⇒ Object



63
64
65
# File 'lib/wx/shapes/serialize/wx.rb', line 63

def init_from_serialized(data)
  self.__send__(:initialize, data[:value] || 0)
end