Applied patch [ 874495 ] wxMSW: Flat buttons

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-01-11 11:47:23 +00:00
parent 8d99dec09b
commit 8a094d7ba9
2 changed files with 8 additions and 4 deletions

View File

@@ -183,6 +183,9 @@ WXDWORD wxButton::MSWGetStyle(long style, WXDWORD *exstyle) const
msStyle |= BS_TOP;
if ( style & wxBU_BOTTOM )
msStyle |= BS_BOTTOM;
// flat 2d buttons
if ( style & wxNO_BORDER )
msStyle |= BS_FLAT;
#endif // __WIN32__
return msStyle;