summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index a0909607df..ebef698ea5 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA.
#define UM_ERROR (WM_USER+1)
static bool bShowDetails;
+static HWND hwndDialog;
static void SelectAll(HWND hDlg, bool bEnable)
{
@@ -572,3 +573,9 @@ void DoCheck(int iFlag)
hCheckThread = mir_forkthread(CheckUpdates, 0);
}
}
+
+void UninitCheck()
+{
+ if (hwndDialog != NULL)
+ DestroyWindow(hwndDialog);
+}