GetNeedUpdating() was never used at all while SetNeedUpdating() was used only
once while m_needUpdating variable was being changed directly in other places
making the code difficult to follow.
Just use the member variable directly and remove the accessors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69596
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Resizes subwindows
virtual void SizeWindows();
- void SetNeedUpdating(bool needUpdating) { m_needUpdating = needUpdating; }
- bool GetNeedUpdating() const { return m_needUpdating ; }
-
#ifdef __WXMAC__
virtual bool MacClipGrandChildren() const { return true ; }
#endif
}
if (m_needUpdating)
+ {
+ m_needUpdating = false;
SizeWindows();
+ }
}
void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
wxClientDC dc(this);
DrawSash(dc);
-
- SetNeedUpdating(false);
}
// Set pane for unsplit window