Use smaller icons for GTK toolbar

This commit is contained in:
Timothy Warren 2015-04-06 15:57:17 -04:00
parent aaff81f6bb
commit ad83b42835

View File

@ -55,10 +55,18 @@ void MainFrame::SetupStatusBar()
void MainFrame::SetupToolbar() void MainFrame::SetupToolbar()
{ {
// Icon files // Icon files
#ifndef __WXGTK__
#include "../resources/xpm/48/file-empty.xpm" #include "../resources/xpm/48/file-empty.xpm"
#include "../resources/xpm/48/folder.xpm" #include "../resources/xpm/48/folder.xpm"
#include "../resources/xpm/48/floppy.xpm" #include "../resources/xpm/48/floppy.xpm"
#include "../resources/xpm/48/wrench-screwdriver.xpm" #include "../resources/xpm/48/wrench-screwdriver.xpm"
#endif // __WXGTK__
#ifdef __WXGTK__
#include "../resources/xpm/24/file-empty.xpm"
#include "../resources/xpm/24/folder.xpm"
#include "../resources/xpm/24/floppy.xpm"
#include "../resources/xpm/24/wrench-screwdriver.xpm"
#endif
CreateToolBar(wxNO_BORDER | wxTB_FLAT | wxTB_HORIZONTAL); CreateToolBar(wxNO_BORDER | wxTB_FLAT | wxTB_HORIZONTAL);