Skip to content

Commit

Permalink
fix typos in symbol array literals
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Nov 6, 2024
1 parent 1c93456 commit 933fa84
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/wx/core/brush.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Wx

class BrushStyle < Wx::Enum

set_non_distinct(%x[BRUSHSTYLE_INVALID BRUSHSTYLE_FIRST_HATCH BRUSHSTYLE_LAST_HATCH])
set_non_distinct(%i[BRUSHSTYLE_INVALID BRUSHSTYLE_FIRST_HATCH BRUSHSTYLE_LAST_HATCH])

end

Expand Down
12 changes: 6 additions & 6 deletions lib/wx/core/defs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ module Wx

class Orientation < Wx::Enum

set_non_distinct(%x[ORIENTATION_MASK])
set_non_distinct(%i[ORIENTATION_MASK])

end

class Direction < Wx::Enum

set_non_distinct(%x[TOP BOTTOM NORTH SOUTH WEST EAST ALL DIRECTION_MASK])
set_non_distinct(%i[TOP BOTTOM NORTH SOUTH WEST EAST ALL DIRECTION_MASK])

end

class Alignment < Wx::Enum

set_non_distinct(%x[ALIGN_INVALID ALIGN_CENTRE_HORIZONTAL ALIGN_LEFT ALIGN_TOP ALIGN_CENTRE_VERTICAL ALIGN_CENTER ALIGN_MASK])
set_non_distinct(%i[ALIGN_INVALID ALIGN_CENTRE_HORIZONTAL ALIGN_LEFT ALIGN_TOP ALIGN_CENTRE_VERTICAL ALIGN_CENTER ALIGN_MASK])

end

class SizerFlagBits < Wx::Enum

set_non_distinct(%x[SIZER_FLAG_BITS_MASK])
set_non_distinct(%i[SIZER_FLAG_BITS_MASK])

end

class Stretch < Wx::Enum

set_non_distinct(%x[GROW STRETCH_MASK])
set_non_distinct(%i[GROW STRETCH_MASK])

end

class Border < Wx::Enum

set_non_distinct(%x[BORDER_THEME BORDER_MASK])
set_non_distinct(%i[BORDER_THEME BORDER_MASK])

end

Expand Down
2 changes: 1 addition & 1 deletion lib/wx/core/font.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def set_default_encoding_name(enc)

class FontFlag < Wx::Enum

set_non_distinct(%x[FONTFLAG_MASK])
set_non_distinct(%i[FONTFLAG_MASK])

end

Expand Down
6 changes: 3 additions & 3 deletions lib/wx/core/pen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ module Wx

class PenStyle < Wx::Enum

set_non_distinct(%x[PENSTYLE_INVALID PENSTYLE_FIRST_HATCH PENSTYLE_LAST_HATCH])
set_non_distinct(%i[PENSTYLE_INVALID PENSTYLE_FIRST_HATCH PENSTYLE_LAST_HATCH])

end

class PenJoin < Wx::Enum

set_non_distinct(%x[JOIN_INVALID])
set_non_distinct(%i[JOIN_INVALID])

end

class PenCap < Wx::Enum

set_non_distinct(%x[CAP_INVALID])
set_non_distinct(%i[CAP_INVALID])

end

Expand Down

0 comments on commit 933fa84

Please sign in to comment.