title: wxPython menu text alignment
body: <p>I'm developing a wxPython GUI, and would like to right-align shortcut text. Obviously one can cludge this using tab characters, but I'd prefer to do it natively if there is a way to.</p>
  
  <p>The default menu item creation is thus:</p>
  
  <pre><code>menu = wx.Menu()
  item_id = 1
  item_name = 'My menu item'
  help_text = 'Clicking this does something interesting.'
  item = menu.Append(item_id, item_name, help_text)
  </code></pre>
  
  <p>I'll be expanding on this with shortcuts, so if I were using tabs, it would be something like:</p>
  
  <pre><code>item_name = 'My menu item\t\tCtrl+Alt+H'
  </code></pre>
  
  <p>However, that involves a lot of manual <code>\t</code> entries to make sure everything lines up, and anytime a menu item changes name or another item is added, they would all potentially need to be updated. Is there any way around this, e.g. a class method I'm not seeing to automatically associate the keybinding to the menu item?</p>
  
  <p><strong>Edit:</strong> I know that when passing text like <code>&amp;My menu item</code>, it does <em>something</em> automatically with the keybinding associated with the ID specified if there is a definition associated with that ID in the accelerators table, correct?</p>