No real changes, just simplify wxBookCtrlBase unit test a little.
Add Realize() virtual function that can be overridden in ToolbookTestCase instead of using explicit wxDynamicCasts. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user