From 321a14e5c96f9edae64bba9f97002431d155ab9f Mon Sep 17 00:00:00 2001 From: jonasno Date: Fri, 19 Feb 2010 00:19:24 +0000 Subject: const correction Patch by tetsuo55 git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1677 10f7b99b-c216-0410-bff0-8a66a9350fd8 --- src/ui/TreePropSheet/PropPageFrameDefault.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ui') diff --git a/src/ui/TreePropSheet/PropPageFrameDefault.cpp b/src/ui/TreePropSheet/PropPageFrameDefault.cpp index 85e69940a..a0da46b5d 100644 --- a/src/ui/TreePropSheet/PropPageFrameDefault.cpp +++ b/src/ui/TreePropSheet/PropPageFrameDefault.cpp @@ -78,19 +78,19 @@ public: // call wrappers public: - BOOL IsThemeActive() + BOOL IsThemeActive() const {THEMECALL(IsThemeActive)();} - HTHEME OpenThemeData(HWND hwnd, LPCWSTR pszClassList) + HTHEME OpenThemeData(HWND hwnd, LPCWSTR pszClassList) const {THEMECALL(OpenThemeData)(hwnd, pszClassList);} - HRESULT CloseThemeData(HTHEME hTheme) + HRESULT CloseThemeData(HTHEME hTheme) const {THEMECALL(CloseThemeData)(hTheme);} - HRESULT GetThemeBackgroundContentRect(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pBoundingRect, OUT RECT *pContentRect) + HRESULT GetThemeBackgroundContentRect(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pBoundingRect, OUT RECT *pContentRect) const {THEMECALL(GetThemeBackgroundContentRect)(hTheme, hdc, iPartId, iStateId, pBoundingRect, pContentRect);} - HRESULT DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) + HRESULT DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) const {THEMECALL(DrawThemeBackground)(hTheme, hdc, iPartId, iStateId, pRect, pClipRect);} // function pointers -- cgit v1.2.3