Changes of r66379 broke the unit test as wxAcceleratorEntry::Create() now
requires the TAB to be present in the string passed to it (again).
Update the test to make it pass.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66380
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CheckAccelEntry(*pa, 'Z', wxACCEL_CTRL);
+ // There must be a TAB in the string passed to Create()
pa.reset(wxAcceleratorEntry::Create("Shift-Q"));
+ CPPUNIT_ASSERT( !pa );
+
+ pa.reset(wxAcceleratorEntry::Create("Bar\tShift-Q"));
CPPUNIT_ASSERT( pa );
CPPUNIT_ASSERT( pa->IsOk() );
-
CheckAccelEntry(*pa, 'Q', wxACCEL_SHIFT);