Remove redundant code
This commit is contained in:
@@ -603,7 +603,6 @@ protected:
|
|||||||
wxRect m_lastHint; // last hint rectangle
|
wxRect m_lastHint; // last hint rectangle
|
||||||
wxPoint m_lastMouseMove; // last mouse move position (see OnMotion)
|
wxPoint m_lastMouseMove; // last mouse move position (see OnMotion)
|
||||||
int m_currentDragItem;
|
int m_currentDragItem;
|
||||||
bool m_skipping;
|
|
||||||
bool m_hasMaximized;
|
bool m_hasMaximized;
|
||||||
|
|
||||||
double m_dockConstraintX; // 0.0 .. 1.0; max pct of window width a dock can consume
|
double m_dockConstraintX; // 0.0 .. 1.0; max pct of window width a dock can consume
|
||||||
|
@@ -614,7 +614,6 @@ wxAuiManager::wxAuiManager(wxWindow* managed_wnd, unsigned int flags)
|
|||||||
m_art = new wxAuiDefaultDockArt;
|
m_art = new wxAuiDefaultDockArt;
|
||||||
m_hintWnd = NULL;
|
m_hintWnd = NULL;
|
||||||
m_flags = flags;
|
m_flags = flags;
|
||||||
m_skipping = false;
|
|
||||||
m_hasMaximized = false;
|
m_hasMaximized = false;
|
||||||
m_frame = NULL;
|
m_frame = NULL;
|
||||||
m_dockConstraintX = 0.3;
|
m_dockConstraintX = 0.3;
|
||||||
@@ -3021,8 +3020,6 @@ bool wxAuiManager::DoDrop(wxAuiDockInfoArray& docks,
|
|||||||
return ProcessDockResult(target, drop);
|
return ProcessDockResult(target, drop);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_skipping = false;
|
|
||||||
|
|
||||||
m_lastRect = part->dock->rect;
|
m_lastRect = part->dock->rect;
|
||||||
m_lastRect.Inflate( m_frame->FromDIP(wxSize(15, 15)) );
|
m_lastRect.Inflate( m_frame->FromDIP(wxSize(15, 15)) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user