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();