mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
14 lines
419 B
Python
14 lines
419 B
Python
|
|
def ColumnItems(self):
|
|
|
|
menu = wx.Menu()
|
|
menu.Append(100, "Some custom command")
|
|
menu.AppendSeparator()
|
|
self.AddColumnsItems(menu, 200)
|
|
rc = self.GetPopupMenuSelectionFromUser(menu, pt)
|
|
|
|
if rc >= 200:
|
|
# ... toggle visibility of the column rc-200 ...
|
|
ToggleVisibility()
|
|
|