diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-22 17:01:56 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 20:55:41 +1000 |
| commit | 4a30b5af2909452db7995b75406c45429c85f4ef (patch) | |
| tree | e8dbae6f4b8a94cacfc2bbf3dbb07a03d0cfda95 /src/thmviewer/load.cpp | |
| parent | 7eab1eb96794e9dbf33414d1f7804a915bdb3bf9 (diff) | |
| download | wix-4a30b5af2909452db7995b75406c45429c85f4ef.tar.gz wix-4a30b5af2909452db7995b75406c45429c85f4ef.tar.bz2 wix-4a30b5af2909452db7995b75406c45429c85f4ef.zip | |
Update thmviewer to show theme load errors.
Diffstat (limited to 'src/thmviewer/load.cpp')
| -rw-r--r-- | src/thmviewer/load.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thmviewer/load.cpp b/src/thmviewer/load.cpp index cd48caff..0267402a 100644 --- a/src/thmviewer/load.cpp +++ b/src/thmviewer/load.cpp | |||
| @@ -106,6 +106,8 @@ static DWORD WINAPI LoadThreadProc( | |||
| 106 | FILETIME ftModified = { }; | 106 | FILETIME ftModified = { }; |
| 107 | FileGetTime(sczThemePath, NULL, NULL, &ftModified); | 107 | FileGetTime(sczThemePath, NULL, NULL, &ftModified); |
| 108 | 108 | ||
| 109 | ::SendMessageW(hWnd, WM_THMVWR_THEME_LOAD_BEGIN, 0, 0); | ||
| 110 | |||
| 109 | // Try to load the theme file. | 111 | // Try to load the theme file. |
| 110 | hr = ThemeLoadFromFile(sczThemePath, &pTheme); | 112 | hr = ThemeLoadFromFile(sczThemePath, &pTheme); |
| 111 | if (FAILED(hr)) | 113 | if (FAILED(hr)) |
