]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/checkboxtest.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / controls / checkboxtest.cpp
index 8c1b3a607db485250e205816274daf77bb53c7d9..c36ea4325b9ffc840fabc35fc2ff4c8b16e89274 100644 (file)
@@ -83,7 +83,7 @@ void CheckBoxTestCase::tearDown()
 
 void CheckBoxTestCase::Check()
 {
-    EventCounter clicked(m_check, wxEVT_COMMAND_CHECKBOX_CLICKED);
+    EventCounter clicked(m_check, wxEVT_CHECKBOX);
 
     //We should be unchecked by default
     CPPUNIT_ASSERT(!m_check->IsChecked());