X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fbase%2Fshell%2Fexplorer%2Ftrayntfy.cpp;h=94613a729fef1b9f32a37f138e5bfe0724cca8d2;hp=a7a54ace83e65759e4e5dcf9899fee499c9e57a5;hb=55ee8217db6cfeff7a0b5673c37fd809dd60af27;hpb=70a31e656a1ed12008173089193d97f98bdeefc3 diff --git a/reactos/base/shell/explorer/trayntfy.cpp b/reactos/base/shell/explorer/trayntfy.cpp index a7a54ace83e..94613a729fe 100644 --- a/reactos/base/shell/explorer/trayntfy.cpp +++ b/reactos/base/shell/explorer/trayntfy.cpp @@ -1447,6 +1447,7 @@ public: LRESULT DrawBackground(HDC hdc) { + HRESULT res; RECT rect; GetClientRect(&rect); @@ -1458,10 +1459,10 @@ public: DrawThemeParentBackground(m_hWnd, hdc, &rect); } - DrawThemeBackground(TrayTheme, hdc, TNP_BACKGROUND, 0, &rect, 0); + res = DrawThemeBackground(TrayTheme, hdc, TNP_BACKGROUND, 0, &rect, 0); } - return TRUE; + return res; } LRESULT OnEraseBackground(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)