X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b04093c949b167780465008be80b273b25c28e3a..fc32cd4a59dc7c6cedea430750b2ce2c2a342353:/src/msw/statbox.cpp?ds=sidebyside diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index 4173fcfee6..6cd10ee393 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -36,9 +36,14 @@ #endif #include "wx/statbox.h" +#include "wx/notebook.h" #include "wx/msw/private.h" -#include "wx/msw/notebook.h" + +// this is for Win CE +#ifndef WS_EX_TRANSPARENT + #define WS_EX_TRANSPARENT 0 +#endif // ---------------------------------------------------------------------------- // wxWin macros @@ -115,7 +120,8 @@ bool wxStaticBox::Create(wxWindow *parent, if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) ) return false; - if ( !MSWCreateControl(wxT("BUTTON"), BS_GROUPBOX, pos, size, label, 0) ) + if ( !MSWCreateControl(wxT("BUTTON"), BS_GROUPBOX, pos, size, label, + WS_EX_TRANSPARENT) ) return false; return true;