X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/toolbooktest.cpp diff --git a/tests/controls/toolbooktest.cpp b/tests/controls/toolbooktest.cpp index b1b0802bf2..58b8f535ba 100644 --- a/tests/controls/toolbooktest.cpp +++ b/tests/controls/toolbooktest.cpp @@ -41,6 +41,8 @@ private: virtual wxEventType GetChangingEvent() const { return wxEVT_TOOLBOOK_PAGE_CHANGING; } + virtual void Realize() { m_toolbook->GetToolBar()->Realize(); } + CPPUNIT_TEST_SUITE( ToolbookTestCase ); wxBOOK_CTRL_BASE_TESTS(); CPPUNIT_TEST( ToolBar );