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:
@@ -748,7 +748,6 @@ void wxProgressDialog::DoGetPosition(int *x, int *y) const
|
|||||||
wxPoint pos;
|
wxPoint pos;
|
||||||
{
|
{
|
||||||
wxCriticalSectionLocker locker(m_sharedData->m_cs);
|
wxCriticalSectionLocker locker(m_sharedData->m_cs);
|
||||||
m_sharedData->m_state = m_state;
|
|
||||||
pos = m_sharedData->m_winPosition;
|
pos = m_sharedData->m_winPosition;
|
||||||
}
|
}
|
||||||
if (x)
|
if (x)
|
||||||
|
Reference in New Issue
Block a user