diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/thmutil.cpp')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/thmutil.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp index 068638f6..e8c23b6c 100644 --- a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp | |||
| @@ -824,6 +824,26 @@ LExit: | |||
| 824 | } | 824 | } |
| 825 | 825 | ||
| 826 | 826 | ||
| 827 | DAPI_(void) ThemeInitializeWindowClass( | ||
| 828 | __in THEME* pTheme, | ||
| 829 | __in WNDCLASSW* pWndClass, | ||
| 830 | __in WNDPROC pfnWndProc, | ||
| 831 | __in HINSTANCE hInstance, | ||
| 832 | __in LPCWSTR wzClassName | ||
| 833 | ) | ||
| 834 | { | ||
| 835 | pWndClass->style = CS_HREDRAW | CS_VREDRAW; | ||
| 836 | pWndClass->hCursor = ::LoadCursorW(NULL, (LPCWSTR)IDC_ARROW); | ||
| 837 | |||
| 838 | pWndClass->lpfnWndProc = pfnWndProc; | ||
| 839 | pWndClass->hInstance = hInstance; | ||
| 840 | pWndClass->lpszClassName = wzClassName; | ||
| 841 | |||
| 842 | pWndClass->hIcon = reinterpret_cast<HICON>(pTheme->hIcon); | ||
| 843 | pWndClass->hbrBackground = pTheme->rgFonts[pTheme->dwFontId].hBackground; | ||
| 844 | } | ||
| 845 | |||
| 846 | |||
| 827 | DAPI_(HRESULT) ThemeCreateParentWindow( | 847 | DAPI_(HRESULT) ThemeCreateParentWindow( |
| 828 | __in THEME* pTheme, | 848 | __in THEME* pTheme, |
| 829 | __in DWORD dwExStyle, | 849 | __in DWORD dwExStyle, |
