diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-27 15:34:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-27 15:34:33 +0000 |
commit | b48741c8d0ed916d2cdd41956667ec4082ab245a (patch) | |
tree | 1d0e149514343e602495e85861649e173324fd01 /plugins/TabSRMM/src/TSButton.cpp | |
parent | b1d29a5793fc80dd1c0d26e4ba900853fad41809 (diff) |
obsolete helpers removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/TSButton.cpp')
-rw-r--r-- | plugins/TabSRMM/src/TSButton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/TSButton.cpp b/plugins/TabSRMM/src/TSButton.cpp index e721fe6e0d..fc8a8df426 100644 --- a/plugins/TabSRMM/src/TSButton.cpp +++ b/plugins/TabSRMM/src/TSButton.cpp @@ -82,7 +82,7 @@ int TSAPI LoadTSButtonModule(void) static void TSAPI DestroyTheme(MButtonCtrl *ctl)
{
- if (M->isVSAPIState()) {
+ if (M.isVSAPIState()) {
if (ctl->hThemeButton) {
CMimAPI::m_pfnCloseThemeData(ctl->hThemeButton);
ctl->hThemeButton = NULL;
@@ -96,10 +96,10 @@ static void TSAPI DestroyTheme(MButtonCtrl *ctl) static void TSAPI LoadTheme(MButtonCtrl *ctl)
{
- if (M->isVSAPIState()) {
+ if (M.isVSAPIState()) {
DestroyTheme(ctl);
ctl->hThemeButton = CMimAPI::m_pfnOpenThemeData(ctl->hwnd, L"BUTTON");
- ctl->hThemeToolbar = (M->isAero() || IsWinVerVistaPlus()) ? CMimAPI::m_pfnOpenThemeData(ctl->hwnd, L"MENU") : CMimAPI::m_pfnOpenThemeData(ctl->hwnd, L"TOOLBAR");
+ ctl->hThemeToolbar = (M.isAero() || IsWinVerVistaPlus()) ? CMimAPI::m_pfnOpenThemeData(ctl->hwnd, L"MENU") : CMimAPI::m_pfnOpenThemeData(ctl->hwnd, L"TOOLBAR");
ctl->bThemed = TRUE;
}
}
@@ -162,8 +162,8 @@ static void PaintWorker(MButtonCtrl *ctl, HDC hdcPaint) HBITMAP hbmMem, hOld;
RECT rcClient;
RECT rcContent;
- bool fAero = M->isAero();
- bool fVSThemed = (!CSkin::m_skinEnabled && M->isVSThemed());
+ bool fAero = M.isAero();
+ bool fVSThemed = (!CSkin::m_skinEnabled && M.isVSThemed());
HANDLE hbp = 0;
TWindowData *dat = (TWindowData *)GetWindowLongPtr(GetParent(ctl->hwnd), GWLP_USERDATA);
|