Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -483,8 +483,10 @@ void wxSashWindow::DrawSash(wxSashEdgePosition edge, wxDC& dc)
|
||||
wxPen darkShadowPen(m_darkShadowColour, 1, wxSOLID);
|
||||
wxPen lightShadowPen(m_lightShadowColour, 1, wxSOLID);
|
||||
wxPen hilightPen(m_hilightColour, 1, wxSOLID);
|
||||
wxPen blackPen(wxColour(0, 0, 0), 1, wxSOLID);
|
||||
wxPen whitePen(wxColour(255, 255, 255), 1, wxSOLID);
|
||||
wxColour blackClr(0, 0, 0);
|
||||
wxColour whiteClr(255, 255, 255);
|
||||
wxPen blackPen(blackClr, 1, wxSOLID);
|
||||
wxPen whitePen(whiteClr, 1, wxSOLID);
|
||||
|
||||
if ( edge == wxSASH_LEFT || edge == wxSASH_RIGHT )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user