X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2209baaee3a8578450e204593b79ed155f340f68..4f450f41a2c02db9c35e3e566b381c85b5714de8:/src/msw/renderer.cpp diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index ca355bdf17..0ec34ab54c 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/renderer.cpp +// Name: src/msw/renderer.cpp // Purpose: implementation of wxRendererNative for Windows // Author: Vadim Zeitlin // Modified by: @@ -28,11 +28,11 @@ #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" @@ -134,10 +134,10 @@ public: 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, @@ -335,15 +335,15 @@ wxRendererXP::DrawTreeItemButton(wxWindow *win, } 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; } @@ -473,4 +473,3 @@ wxRendererXP::DrawSplitterSash(wxWindow *win, } #endif // wxUSE_UXTHEME -