X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a094d7ba9913333b49f8561d97b8309d0023663..2d1715aa46b210e69ddf2dd1cd1c7d2f23c4298a:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 7d2a84f198..bffc09013b 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -183,9 +183,11 @@ WXDWORD wxButton::MSWGetStyle(long style, WXDWORD *exstyle) const msStyle |= BS_TOP; if ( style & wxBU_BOTTOM ) msStyle |= BS_BOTTOM; +#ifndef __WXWINCE__ // flat 2d buttons if ( style & wxNO_BORDER ) msStyle |= BS_FLAT; +#endif // __WXWINCE__ #endif // __WIN32__ return msStyle;