Use smaller icons for GTK toolbar
This commit is contained in:
parent
aaff81f6bb
commit
ad83b42835
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user