This weeks interface and compile catchup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-03-01 19:50:08 +00:00
parent ea1ad04b43
commit bc5a847c1b
5 changed files with 89 additions and 164 deletions

View File

@@ -318,7 +318,28 @@ void wxButton::MakeOwnerDrawn()
lStyle |= BS_USERBUTTON;
::WinSetWindowULong(GetHwnd(), QWL_STYLE, lStyle);
}
} // end of wxCButton::MakeOwnerDrawn
} // end of wxButton::MakeOwnerDrawn
WXDWORD wxButton::OS2GetStyle(
long lStyle
, WXDWORD* pdwExstyle
) const
{
//
// Buttons never have an external border, they draw their own one
//
WXDWORD dwStyle = wxControl::OS2GetStyle( (lStyle & ~wxBORDER_MASK) | wxBORDER_NONE
,pdwExstyle
);
//
// We must use WS_CLIPSIBLINGS with the buttons or they would draw over
// each other in any resizeable dialog which has more than one button in
// the bottom
//
dwStyle |= WS_CLIPSIBLINGS;
return dwStyle;
} // end of wxButton::OS2GetStyle
MRESULT wxButton::WindowProc(
WXUINT uMsg
@@ -362,5 +383,5 @@ MRESULT wxButton::WindowProc(
,wParam
,lParam
));
} // end of wxW indowProc
} // end of wxWindowProc