Correct drawing of check marks for owner-drawn items without bitmaps.

Standard check mark was not drawn correctly for check/radio items without
bitmaps.

Closes #11480.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-01-23 13:21:52 +00:00
parent 9c32ed26a2
commit ee00931326
2 changed files with 118 additions and 48 deletions

View File

@@ -118,6 +118,10 @@ protected:
virtual void GetFontToUse(wxFont& font) const;
virtual void GetColourToUse(wxODStatus stat, wxColour& colText, wxColour& colBack) const;
private:
// helper function for draw std menu check mark
void DrawStdCheckMark(HDC hdc, const RECT* rc, wxODStatus stat);
#endif // wxUSE_OWNER_DRAWN
private: