]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
fixed wxEVT_CONTEXT_MENU generation (it works differently under w2k/XP than under...
[wxWidgets.git] / src / msw / button.cpp
index 2f9b8b58dbdba3752ec160bd65a9db6a8b11832b..bffc09013b8e237a7a176cce9358e3d5122c9e68 100644 (file)
@@ -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;