projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reSWIGged
[wxWidgets.git]
/
src
/
msw
/
button.cpp
diff --git
a/src/msw/button.cpp
b/src/msw/button.cpp
index 7e1c380ca6460a526c9e90e732794c8d0e49c29e..bffc09013b8e237a7a176cce9358e3d5122c9e68 100644
(file)
--- a/
src/msw/button.cpp
+++ b/
src/msw/button.cpp
@@
-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;