X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3778b4d9c7eebc39f496a9dd055638e06fb9140..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/toolbooktest.cpp?ds=sidebyside diff --git a/tests/controls/toolbooktest.cpp b/tests/controls/toolbooktest.cpp index 85150a831f..58b8f535ba 100644 --- a/tests/controls/toolbooktest.cpp +++ b/tests/controls/toolbooktest.cpp @@ -36,10 +36,12 @@ private: virtual wxBookCtrlBase *GetBase() const { return m_toolbook; } virtual wxEventType GetChangedEvent() const - { return wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED; } + { return wxEVT_TOOLBOOK_PAGE_CHANGED; } virtual wxEventType GetChangingEvent() const - { return wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING; } + { return wxEVT_TOOLBOOK_PAGE_CHANGING; } + + virtual void Realize() { m_toolbook->GetToolBar()->Realize(); } CPPUNIT_TEST_SUITE( ToolbookTestCase ); wxBOOK_CTRL_BASE_TESTS();