]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/toolbooktest.cpp
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / tests / controls / toolbooktest.cpp
index 85150a831f5772a6cfdadf437619db7ab281e302..58b8f535bab194314e574b2283de2824b5634a86 100644 (file)
@@ -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();