]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
reSWIGged
[wxWidgets.git] / src / msw / button.cpp
index 7e1c380ca6460a526c9e90e732794c8d0e49c29e..bffc09013b8e237a7a176cce9358e3d5122c9e68 100644 (file)
@@ -183,6 +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;