]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/choicebooktest.cpp
reusing existing API
[wxWidgets.git] / tests / controls / choicebooktest.cpp
index 434929532597fab25813940d45ce20cfa75f8adc..fcd91a3f918afacd6e8f2de14455e0bf364aac4a 100644 (file)
@@ -35,10 +35,10 @@ private:
     virtual wxBookCtrlBase *GetBase() const { return m_choicebook; }
 
     virtual wxEventType GetChangedEvent() const
-    { return wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED; }
+    { return wxEVT_CHOICEBOOK_PAGE_CHANGED; }
 
     virtual wxEventType GetChangingEvent() const
-    { return wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING; }
+    { return wxEVT_CHOICEBOOK_PAGE_CHANGING; }
 
     CPPUNIT_TEST_SUITE( ChoicebookTestCase );
         wxBOOK_CTRL_BASE_TESTS();