Displaying 2 results from an estimated 2 matches for "helpid".
Did you mean:
helped
2006 Nov 12
0
[729] trunk/wxruby2/samples/bigdemo/bigdemo.rb: Fix some little bugs with the About dialog
...;lines">@@ -272,7 +272,7 @@
</span><span class="cx"> @mainmenu.append(menu, "&Demo")
</span><span class="cx">
</span><span class="cx"> # Make a Help menu
</span><del>- helpID = @demoID += 1
</del><ins>+ helpID = Wx::ID_ABOUT
</ins><span class="cx"> findID = @demoID += 1
</span><span class="cx"> findnextID = @demoID += 1
</span><span class="cx"> clearID = @demoID...
2013 Jan 06
1
[PATCH] menugen: Make it compatible with Py3k
...: Valid values are [A-Za-z0-9]")
return "\n".join(msg)
- elif value <> "-1": value = "'%s'" % value
+ elif value != "-1": value = "'%s'" % value
elif name in ["state","helpid","ipappend"]:
try:
value = int(value)
@@ -131,14 +131,14 @@ class Menusystem:
return ""
def set_menu(self,name,value):
- if not self.menu.has_key(name):
+ if name not in self.menu:
return "Error: Unknown ke...