X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2588b9c467b3a313f516ef81c7d5cfd14d1e8bb6..72c1ba98f2c5e666516a2e44048c7ca0b3926ff4:/src/msw/tbar95.cpp diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 8dff81d4f9..9b9436d81f 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -29,6 +29,7 @@ #include "wx/toolbar.h" #ifndef WX_PRECOMP + #include "wx/msw/wrapcctl.h" // include "properly" #include "wx/dynarray.h" #include "wx/frame.h" #include "wx/log.h" @@ -49,9 +50,6 @@ #include "wx/msw/uxtheme.h" #endif -// include "properly" -#include "wx/msw/wrapcctl.h" - // this define controls whether the code for button colours remapping (only // useful for 16 or 256 colour images) is active at all, it's always turned off // for CE where it doesn't compile (and is probably not needed anyhow) and may @@ -404,6 +402,9 @@ WXDWORD wxToolBar::MSWGetStyle(long style, WXDWORD *exstyle) const if ( style & wxTB_VERTICAL ) msStyle |= CCS_VERT; + if( style & wxTB_BOTTOM ) + msStyle |= CCS_BOTTOM; + return msStyle; }