- menu.Append(id_LINESIZE_0, "no line", checkable=true)
- menu.Append(id_LINESIZE_1, "1-pixel line", checkable=true)
- menu.Append(id_LINESIZE_2, "2-pixel line", checkable=true)
- menu.Append(id_LINESIZE_3, "3-pixel line", checkable=true)
- menu.Append(id_LINESIZE_4, "4-pixel line", checkable=true)
- menu.Append(id_LINESIZE_5, "5-pixel line", checkable=true)
+ menu.Append(id_LINESIZE_0, "no line", kind=wxITEM_CHECK)
+ menu.Append(id_LINESIZE_1, "1-pixel line", kind=wxITEM_CHECK)
+ menu.Append(id_LINESIZE_2, "2-pixel line", kind=wxITEM_CHECK)
+ menu.Append(id_LINESIZE_3, "3-pixel line", kind=wxITEM_CHECK)
+ menu.Append(id_LINESIZE_4, "4-pixel line", kind=wxITEM_CHECK)
+ menu.Append(id_LINESIZE_5, "5-pixel line", kind=wxITEM_CHECK)