Added missing SetToolBitmapSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f42c2a7a62
commit
a368a8c4a8
@ -104,6 +104,7 @@ EditorToolPalette *MyApp::CreatePalette(wxFrame *parent)
|
||||
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxSize(-1, -1), wxTB_HORIZONTAL);
|
||||
|
||||
palette->SetMargins(2, 2);
|
||||
palette->SetToolBitmapSize(wxSize(22, 22));
|
||||
|
||||
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, TRUE, 0, -1, NULL, "Pointer");
|
||||
palette->AddTool(PALETTE_TOOL1, PaletteTool1, wxNullBitmap, TRUE, 0, -1, NULL, "Tool 1");
|
||||
|
Loading…
Reference in New Issue
Block a user