]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/treebooktest.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / tests / controls / treebooktest.cpp
index 43bb91eacfed0f8f37ba773a163c2dee45d674b4..36497f4bea4ea3dd26702ec23e9dc26ac45202ca 100644 (file)
@@ -35,10 +35,10 @@ private:
     virtual wxBookCtrlBase *GetBase() const { return m_treebook; }
 
     virtual wxEventType GetChangedEvent() const
-        { return wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED; }
+        { return wxEVT_TREEBOOK_PAGE_CHANGED; }
 
     virtual wxEventType GetChangingEvent() const
-        { return wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING; }
+        { return wxEVT_TREEBOOK_PAGE_CHANGING; }
 
     CPPUNIT_TEST_SUITE( TreebookTestCase );
         wxBOOK_CTRL_BASE_TESTS();
@@ -60,7 +60,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( TreebookTestCase );
 
-// 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( TreebookTestCase, "TreebookTestCase" );
 
 void TreebookTestCase::setUp()