X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/232fdc630c42eb165f7659981043e794be03b3b7..a9fd42ccebb2534cfd3910bc7108171f4ee6d54b:/tests/controls/treebooktest.cpp diff --git a/tests/controls/treebooktest.cpp b/tests/controls/treebooktest.cpp index 43bb91eacf..36497f4bea 100644 --- a/tests/controls/treebooktest.cpp +++ b/tests/controls/treebooktest.cpp @@ -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()