///////////////////////////////////////////////////////////////////////////////
-// Name: msw/renderer.cpp
+// Name: src/msw/renderer.cpp
// Purpose: implementation of wxRendererNative for Windows
// Author: Vadim Zeitlin
// Modified by:
#include "wx/string.h"
#include "wx/window.h"
#include "wx/dc.h"
+ #include "wx/settings.h"
#endif //WX_PRECOMP
#include "wx/splitter.h"
#include "wx/renderer.h"
-#include "wx/settings.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
wxDC& dc,
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,
}
void
-wxRendererXP::DrawCheckButton(wxWindow *win,
- wxDC& dc,
- const wxRect& rect,
- int flags)
+wxRendererXP::DrawCheckBox(wxWindow *win,
+ wxDC& dc,
+ const wxRect& rect,
+ int flags)
{
wxUxThemeHandle hTheme(win, L"BUTTON");
if ( !hTheme )
{
- m_rendererNative.DrawCheckButton(win, dc, rect, flags);
+ m_rendererNative.DrawCheckBox(win, dc, rect, flags);
return;
}
}
#endif // wxUSE_UXTHEME
-