From 10807fad18f555ba9e5471d0f564ff7d9059d4a0 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 24 Aug 2016 18:36:51 +0200 Subject: [PATCH] Variable renamed from Slovenian to English --- EventMonitor/App.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EventMonitor/App.cpp b/EventMonitor/App.cpp index fec54d0..237b955 100644 --- a/EventMonitor/App.cpp +++ b/EventMonitor/App.cpp @@ -66,12 +66,12 @@ bool wxEventMonitorApp::OnInit() #ifdef __WXMSW__ // Find EventMonitor window if already running. - HWND okno = ::FindWindow(_T("wxWindowNR"), _("Event Monitor")); - if (okno) { - if (::IsIconic(okno)) - ::SendMessage(okno, WM_SYSCOMMAND, SC_RESTORE, 0); - ::SetActiveWindow(okno); - ::SetForegroundWindow(okno); + HWND hWnd = ::FindWindow(_T("wxWindowNR"), _("Event Monitor")); + if (hWnd) { + if (::IsIconic(hWnd)) + ::SendMessage(hWnd, WM_SYSCOMMAND, SC_RESTORE, 0); + ::SetActiveWindow(hWnd); + ::SetForegroundWindow(hWnd); // Not an error condition actually; Just nothing else to do... return false;