Commit 6f1af630 authored by twanvl's avatar twanvl

wx hack: autosize toolbar buttons

parent e1ef2a20
...@@ -156,3 +156,18 @@ patch: apply http://trac.wxwidgets.org/ticket/8556 ...@@ -156,3 +156,18 @@ patch: apply http://trac.wxwidgets.org/ticket/8556
should be in 2.10 and HEAD already should be in 2.10 and HEAD already
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
purpose: Allow different size toolbar buttons
patch: see http://stackoverflow.com/questions/868637/wxtoolbar-with-dynamically-sized-buttons
file: src/msw/tbar95.cpp
line: 989 (wx2.8.11)
old:
bitmapId++;
break;
new:
// @@@ See http://stackoverflow.com/questions/868637/wxtoolbar-with-dynamically-sized-buttons
button.fsStyle |= TBSTYLE_AUTOSIZE;
bitmapId++;
break;
// -----------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment