]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listbooktest.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / controls / listbooktest.cpp
index 1dd63c31c9b45aeefd840a8ef8d6b85fefb49cd6..b77bc438c3d0d6cb0d6be02bc056f251f4f7b7be 100644 (file)
@@ -36,10 +36,10 @@ private:
     virtual wxBookCtrlBase *GetBase() const { return m_listbook; }
 
     virtual wxEventType GetChangedEvent() const
     virtual wxBookCtrlBase *GetBase() const { return m_listbook; }
 
     virtual wxEventType GetChangedEvent() const
-    { return wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED; }
+    { return wxEVT_LISTBOOK_PAGE_CHANGED; }
 
     virtual wxEventType GetChangingEvent() const
 
     virtual wxEventType GetChangingEvent() const
-    { return wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING; }
+    { return wxEVT_LISTBOOK_PAGE_CHANGING; }
 
     CPPUNIT_TEST_SUITE( ListbookTestCase );
         wxBOOK_CTRL_BASE_TESTS();
 
     CPPUNIT_TEST_SUITE( ListbookTestCase );
         wxBOOK_CTRL_BASE_TESTS();