Skip to content

Commit

Permalink
Merge pull request #33 from guanlisheng/upgrade2v4
Browse files Browse the repository at this point in the history
use original bitmap sizee
  • Loading branch information
guanlisheng authored Dec 9, 2024
2 parents 6a0c089 + 4e6f0ec commit 46d3168
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sqliteplusframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void wxSQLitePlusFrame::CreateToolbars()

m_TbFile = new wxToolBar(this, ID_TB_FILE, wxDefaultPosition, wxDefaultSize,
wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
m_TbFile->SetToolBitmapSize(wxSize(32, 32));
m_TbFile->SetToolBitmapSize(wxSize(20, 20));
wxBitmapBundle bmp1(wxGetApp().GetBmp(ID_BMP_OPENDB));
m_TbFile->AddTool(wxID_OPEN, wxEmptyString, bmp1, BitmapDisabled,
wxITEM_NORMAL, _("Open/Create Database"),
Expand Down Expand Up @@ -576,7 +576,7 @@ void wxSQLitePlusFrame::CreateToolbars()

m_TbEdit = new wxToolBar(this, ID_TB_EDIT, wxDefaultPosition, wxDefaultSize,
wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
m_TbEdit->SetToolBitmapSize(wxSize(32, 32));
m_TbEdit->SetToolBitmapSize(wxSize(20, 20));
wxBitmapBundle bmp5(wxGetApp().GetBmp(ID_BMP_UNDO));
m_TbEdit->AddTool(wxID_UNDO, wxEmptyString, bmp5, BitmapDisabled,
wxITEM_NORMAL, _("Undo"), _("Undo the last editor action"));
Expand Down Expand Up @@ -614,7 +614,7 @@ void wxSQLitePlusFrame::CreateToolbars()

m_TbQuery = new wxToolBar(this, ID_TBQUERY, wxDefaultPosition, wxDefaultSize,
wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
m_TbQuery->SetToolBitmapSize(wxSize(32, 32));
m_TbQuery->SetToolBitmapSize(wxSize(20, 20));
wxBitmapBundle bmp11(wxGetApp().GetBmp(ID_BMP_RUNSQL));
m_TbQuery->AddTool(ID_MNU_EXECUTESQL, wxEmptyString, bmp11, BitmapDisabled,
wxITEM_NORMAL, _("Execute SQL"),
Expand Down Expand Up @@ -643,7 +643,7 @@ void wxSQLitePlusFrame::CreateToolbars()
m_TbTransact = new wxToolBar(this, ID_TB_TRANSACT, wxDefaultPosition,
wxDefaultSize,
wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
m_TbTransact->SetToolBitmapSize(wxSize(32, 32));
m_TbTransact->SetToolBitmapSize(wxSize(20, 20));
wxBitmapBundle bmp14(wxGetApp().GetBmp(ID_BMP_STARTTRANSACT));
m_TbTransact->AddTool(ID_MNU_BEGINTRANSACT, wxEmptyString, bmp14,
BitmapDisabled, wxITEM_NORMAL, _("Begin Transaction"),
Expand Down Expand Up @@ -683,7 +683,7 @@ void wxSQLitePlusFrame::CreateToolbars()
m_TbDatabase = new wxToolBar(this, ID_MNU_TB_DATABASE, wxDefaultPosition,
wxDefaultSize,
wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
m_TbDatabase->SetToolBitmapSize(wxSize(32, 32));
m_TbDatabase->SetToolBitmapSize(wxSize(20, 20));
wxBitmapBundle bmp19(wxGetApp().GetBmp(ID_BMP_TABLECREATE));
m_TbDatabase->AddTool(ID_MNU_ADD_TABLE, wxEmptyString, bmp19, BitmapDisabled,
wxITEM_NORMAL, _("Create Table"),
Expand Down

0 comments on commit 46d3168

Please sign in to comment.