From a8112b8373a9cd9c4c481895179f6b31db33d967 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 27 Dec 2014 11:18:58 +0100 Subject: Windows: use the correct window handle for creating message boxes. This became important after the introduction of the wait dialog in order to avoid having message boxes behind the wait dialog. --- src/Mount/Favorites.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mount/Favorites.h') diff --git a/src/Mount/Favorites.h b/src/Mount/Favorites.h index 248a4f08..f91905d8 100644 --- a/src/Mount/Favorites.h +++ b/src/Mount/Favorites.h @@ -65,7 +65,7 @@ namespace VeraCrypt void LoadFavoriteVolumes (vector &favorites, bool systemFavorites, bool noUacElevation = false); static void OnFavoriteVolumesUpdated (); BOOL OrganizeFavoriteVolumes (HWND hwndDlg, bool systemFavorites, const FavoriteVolume &newFavorite = FavoriteVolume()); - static bool SaveFavoriteVolumes (const vector &favorites, bool systemFavorites); + static bool SaveFavoriteVolumes (HWND hwndDlg, const vector &favorites, bool systemFavorites); static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable = true); static void SetFavoriteVolume (HWND hwndDlg, FavoriteVolume &favorite, bool systemFavoritesMode); void UpdateDeviceHostedFavoriteVolumes (); -- cgit v1.2.3