Commit 6aad91c7 authored by Yoann Peronneau's avatar Yoann Peronneau

* wxwindows/playlist.cpp: Menu and toolbar are no longer dockable

parent 7158665d
...@@ -253,7 +253,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -253,7 +253,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
ViewMenu(); ViewMenu();
/* Append the freshly created menus to the menu bar */ /* Append the freshly created menus to the menu bar */
wxMenuBar *menubar = new wxMenuBar( wxMB_DOCKABLE ); wxMenuBar *menubar = new wxMenuBar();
menubar->Append( manage_menu, wxU(_("&Manage")) ); menubar->Append( manage_menu, wxU(_("&Manage")) );
menubar->Append( sort_menu, wxU(_("S&ort")) ); menubar->Append( sort_menu, wxU(_("S&ort")) );
menubar->Append( selection_menu, wxU(_("&Selection")) ); menubar->Append( selection_menu, wxU(_("&Selection")) );
...@@ -283,7 +283,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -283,7 +283,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
/* Create the toolbar */ /* Create the toolbar */
wxToolBar *toolbar = wxToolBar *toolbar =
CreateToolBar( wxTB_HORIZONTAL | wxTB_FLAT | wxTB_DOCKABLE ); CreateToolBar( wxTB_HORIZONTAL | wxTB_FLAT );
/* Create the random tool */ /* Create the random tool */
toolbar->AddTool( Random_Event, wxT(""), wxBitmap(shuffle_on_xpm), toolbar->AddTool( Random_Event, wxT(""), wxBitmap(shuffle_on_xpm),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment