From: Vadim Zeitlin Date: Thu, 8 Feb 2007 15:05:23 +0000 (+0000) Subject: remove USE_GENERIC_TBAR test: USE_GENERIC_TBAR is not defined anywhere X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f10b672bd86cba7e69cf54a125f7f1ef9eab3431 remove USE_GENERIC_TBAR test: USE_GENERIC_TBAR is not defined anywhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index fcb326433e..8812040c03 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -586,19 +586,6 @@ MyFrame::MyFrame(wxFrame* parent, m_textWindow = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE); } -#if USE_GENERIC_TBAR - -wxToolBar* MyFrame::OnCreateToolBar(long style, - wxWindowID id, - const wxString& name) -{ - return (wxToolBar *)new wxToolBarSimple(this, id, - wxDefaultPosition, wxDefaultSize, - style, name); -} - -#endif // USE_GENERIC_TBAR - void MyFrame::LayoutChildren() { wxSize size = GetClientSize();