]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxCheckListBox.py
fix a crash when dismissing the popup window because of a key press
[wxWidgets.git] / wxPython / demo / wxCheckListBox.py
index 72003af446c8d1984c8c773a57a8b70d76671409..00fab47ec4d7261c4f3f750c11247941cd55f808 100644 (file)
@@ -33,7 +33,7 @@ class TestPanel(wxPanel):
     def OnDoPopup(self, evt):
         menu = wxMenu()
         # Make this first item bold
-        item = wxMenuItem(menu, wxNewId(), "If supported, this is &bold")
+        item = wxMenuItem(menu, wxNewId(), "If supported, this is bold")
         df = wxSystemSettings_GetSystemFont(wxSYS_DEFAULT_GUI_FONT)
         nf = wxFont(df.GetPointSize(), df.GetFamily(), df.GetStyle(), wxBOLD,
                     false, df.GetFaceName())