Remove state assigning from wxProgressDialog::DoGetPosition() too

This was accidentally copy-and-pasted from another function in
1ef1f8fda6, just remove it as it was done
for the original check in the last commit but one.
This commit is contained in:
Vadim Zeitlin
2017-10-28 01:26:42 +02:00
parent 3f6e557f18
commit 759c0461e1

View File

@@ -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)