X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..b7b7dedc1fa70c7d2348a4cfe78617e99131bfa8:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 2f9b8b58db..bffc09013b 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -119,10 +119,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) // creation/destruction // ---------------------------------------------------------------------------- -wxButtonBase::wxButtonBase() -{ -} - bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, @@ -187,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;