]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/treebooktest.cpp
applying editor part of patch, see #15003
[wxWidgets.git] / tests / controls / treebooktest.cpp
index d1e6f3388b51e74e59a4622c1c80a48f0624ecbb..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();