Fix compiling warning problem

This commit is contained in:
Don HO 2017-10-30 02:46:18 +01:00
parent c304b3b873
commit d975bc24a1
2 changed files with 4 additions and 4 deletions

View File

@ -97,8 +97,8 @@ public :
}; };
virtual void redraw(bool forceUpdate = false) const { virtual void redraw(bool forceUpdate = false) const {
_pFgColour->redraw(); _pFgColour->redraw(forceUpdate);
_pBgColour->redraw(); _pBgColour->redraw(forceUpdate);
::InvalidateRect(_hStyleInfoStaticText, NULL, TRUE); ::InvalidateRect(_hStyleInfoStaticText, NULL, TRUE);
::UpdateWindow(_hStyleInfoStaticText); ::UpdateWindow(_hStyleInfoStaticText);
}; };

View File

@ -122,8 +122,8 @@ void SplitterContainer::redraw(bool forceUpdate) const
{ {
assert(_pWin0 != nullptr); assert(_pWin0 != nullptr);
assert(_pWin1 != nullptr); assert(_pWin1 != nullptr);
_pWin0->redraw(true); _pWin0->redraw(forceUpdate);
_pWin1->redraw(true); _pWin1->redraw(forceUpdate);
} }