]> git.saurik.com Git - wxWidgets.git/commitdiff
remove USE_GENERIC_TBAR test: USE_GENERIC_TBAR is not defined anywhere
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 15:05:23 +0000 (15:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 15:05:23 +0000 (15:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/toolbar/toolbar.cpp

index fcb326433e1144b35daf8acde2fd7ae3c58d95c6..8812040c032ee195a6fb6e0e6dde8ca711b758e0 100644 (file)
@@ -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();