refactor: remove unused ArchMiscWindows::processDialog

This commit is contained in:
sithlord48 2025-03-22 19:29:50 -04:00 committed by Nick Bolton
parent 9530b9c6ba
commit c1a7b836ce
3 changed files with 0 additions and 15 deletions

View file

@ -248,11 +248,6 @@ ArchMiscWindows::readValueInt(HKEY key, const TCHAR *name)
return value;
}
bool ArchMiscWindows::processDialog(MSG *msg)
{
return false;
}
void ArchMiscWindows::addBusyState(DWORD busyModes)
{
s_busyState |= busyModes;

View file

@ -97,13 +97,6 @@ public:
//! Read a DWORD value from the registry
static DWORD readValueInt(HKEY, const TCHAR *name);
//! Process dialog message
/*!
Checks if the message is destined for a dialog. If so the message
is passed to the dialog and returns true, otherwise returns false.
*/
static bool processDialog(MSG *);
//! Disable power saving
static void addBusyState(DWORD busyModes);

View file

@ -931,9 +931,6 @@ void MSWindowsScreen::handleSystemEvent(const Event &event, void *)
MSG *msg = static_cast<MSG *>(event.getData());
assert(msg != NULL);
if (ArchMiscWindows::processDialog(msg)) {
return;
}
if (onPreDispatch(msg->hwnd, msg->message, msg->wParam, msg->lParam)) {
return;
}