From 9df2a2c28dacdb9b820691aec57d7f5fb14605c0 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 22 Mar 2025 19:06:54 -0400 Subject: [PATCH] refactor: remove unused ArchMiscWindows::removeDialog --- src/lib/arch/win32/ArchMiscWindows.cpp | 5 ----- src/lib/arch/win32/ArchMiscWindows.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/lib/arch/win32/ArchMiscWindows.cpp b/src/lib/arch/win32/ArchMiscWindows.cpp index 5bc434df0..445bd1326 100644 --- a/src/lib/arch/win32/ArchMiscWindows.cpp +++ b/src/lib/arch/win32/ArchMiscWindows.cpp @@ -256,11 +256,6 @@ ArchMiscWindows::readValueInt(HKEY key, const TCHAR *name) return value; } -void ArchMiscWindows::removeDialog(HWND hwnd) -{ - s_dialogs->erase(hwnd); -} - bool ArchMiscWindows::processDialog(MSG *msg) { for (Dialogs::const_iterator index = s_dialogs->begin(); index != s_dialogs->end(); ++index) { diff --git a/src/lib/arch/win32/ArchMiscWindows.h b/src/lib/arch/win32/ArchMiscWindows.h index 262870c79..e4db5e9df 100644 --- a/src/lib/arch/win32/ArchMiscWindows.h +++ b/src/lib/arch/win32/ArchMiscWindows.h @@ -101,9 +101,6 @@ public: //! Read a DWORD value from the registry static DWORD readValueInt(HKEY, const TCHAR *name); - //! Remove a dialog - static void removeDialog(HWND); - //! Process dialog message /*! Checks if the message is destined for a dialog. If so the message