Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-04-30 23:54:26 +00:00
parent 3cdcf4d444
commit 90b903c263
6 changed files with 48 additions and 52 deletions

View File

@@ -78,10 +78,10 @@ public:
const wxRect& rect,
int flags = 0);
virtual void DrawCheckButton(wxWindow *win,
wxDC& dc,
const wxRect& rect,
int flags = 0);
virtual void DrawCheckBox(wxWindow *win,
wxDC& dc,
const wxRect& rect,
int flags = 0);
virtual void DrawPushButton(wxWindow *win,
wxDC& dc,
@@ -402,10 +402,10 @@ wxRendererGeneric::DrawDropArrow(wxWindow *win,
}
void
wxRendererGeneric::DrawCheckButton(wxWindow *WXUNUSED(win),
wxDC& dc,
const wxRect& rect,
int flags)
wxRendererGeneric::DrawCheckBox(wxWindow *WXUNUSED(win),
wxDC& dc,
const wxRect& rect,
int flags)
{
dc.SetPen(*(flags & wxCONTROL_DISABLED ? wxGREY_PEN : wxBLACK_PEN));
dc.SetBrush( *wxTRANSPARENT_BRUSH );