From 759c0461e122b8daf418caacc158743b951c241c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Oct 2017 01:26:42 +0200 Subject: [PATCH] Remove state assigning from wxProgressDialog::DoGetPosition() too This was accidentally copy-and-pasted from another function in 1ef1f8fda6d48594809e11c18194184ba9372b0f, just remove it as it was done for the original check in the last commit but one. --- src/msw/progdlg.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/msw/progdlg.cpp b/src/msw/progdlg.cpp index 43b897ff32..3f2b36328b 100644 --- a/src/msw/progdlg.cpp +++ b/src/msw/progdlg.cpp @@ -748,7 +748,6 @@ void wxProgressDialog::DoGetPosition(int *x, int *y) const wxPoint pos; { wxCriticalSectionLocker locker(m_sharedData->m_cs); - m_sharedData->m_state = m_state; pos = m_sharedData->m_winPosition; } if (x)