spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 08e3d81f0b36c9b11f817b7a89f45d89d01b3c4d
parent 9c736788ed9cded87c2e0ba2be1812baee8a8196
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Mon,  3 Sep 2012 21:14:01 -0700

Toolbar tooltips

Diffstat:
Msrc/spek-window.cc | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/spek-window.cc b/src/spek-window.cc @@ -110,13 +110,15 @@ SpekWindow::SpekWindow(const wxString& path) : wxToolBar *toolbar = CreateToolBar(); toolbar->AddTool( wxID_OPEN, - menu_file_open->GetItemLabelText(), - wxArtProvider::GetBitmap(wxART_FILE_OPEN) + wxEmptyString, + wxArtProvider::GetBitmap(wxART_FILE_OPEN), + menu_file_open->GetItemLabelText() ); toolbar->AddTool( wxID_SAVE, - menu_file_save->GetItemLabelText(), - wxArtProvider::GetBitmap(wxART_FILE_SAVE) + wxEmptyString, + wxArtProvider::GetBitmap(wxART_FILE_SAVE), + menu_file_save->GetItemLabelText() ); toolbar->Realize();