]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listbooktest.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / tests / controls / listbooktest.cpp
index ca9ce19e10233b0596bcfc067763edf7ac7e1f30..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();
@@ -56,7 +56,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( ListbookTestCase );
 
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( ListbookTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListbookTestCase, "ListbookTestCase" );
 
 void ListbookTestCase::setUp()
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ListbookTestCase, "ListbookTestCase" );
 
 void ListbookTestCase::setUp()