Parent Directory | Revision Log | Patch
revision 1.6 by jcater, Tue Aug 5 15:39:28 2003 UTC | revision 1.7 by jcater, Tue Aug 5 15:48:53 2003 UTC | |
---|---|---|
# | Line 80 class MenuBar(_BaseMenuBar): | Line 80 class MenuBar(_BaseMenuBar): |
80 | # Good ol' wx 2.2 $@#!@# | # Good ol' wx 2.2 $@#!@# |
81 | pass | pass |
82 | ||
83 | parent.AppendItem(item) | try: |
84 | parent.AppendItem(item) | |
85 | except: | |
86 | # Some i18n installations of WX don't like our hotkeys! | |
87 | # Damn GTK piece of crap | |
88 | item.SetLabel(altlabel) | |
89 | parent.AppendItem(item) | |
90 | ||
91 | try: | try: |
92 | parent.SetLabel(id, label) | parent.SetLabel(id, label) |
93 | except: | except: |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |