mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Don't set the id parameter default to wx.ID_ANY if there is a default.
This commit is contained in:
@@ -13,7 +13,10 @@ class cshelp_Tests(wtc.WidgetTestCase):
|
||||
pnl = wx.Panel(self.frame)
|
||||
pnl.SetHelpText("HelpMe!")
|
||||
cBtn = wx.ContextHelpButton(pnl)
|
||||
|
||||
|
||||
# Make sure we haven't borked the magic ID
|
||||
assert cBtn.GetId() == wx.ID_CONTEXT_HELP
|
||||
|
||||
|
||||
def test_cshelp2(self):
|
||||
wx.wxEVT_HELP
|
||||
|
||||
Reference in New Issue
Block a user