Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,7 +54,7 @@ wxEffects::wxEffects(const wxColour& highlightColour, const wxColour& lightShado
|
||||
}
|
||||
|
||||
// Draw a sunken edge
|
||||
void wxEffects::DrawSunkenEdge(wxDC& dc, const wxRect& rect, int borderSize)
|
||||
void wxEffects::DrawSunkenEdge(wxDC& dc, const wxRect& rect, int WXUNUSED(borderSize))
|
||||
{
|
||||
wxPen highlightPen(m_highlightColour, 1, wxSOLID);
|
||||
wxPen lightShadowPen(m_lightShadow, 1, wxSOLID);
|
||||
@@ -93,9 +93,9 @@ bool wxEffects::TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap)
|
||||
|
||||
int w = bitmap.GetWidth();
|
||||
int h = bitmap.GetHeight();
|
||||
|
||||
|
||||
wxMemoryDC dcMem;
|
||||
|
||||
|
||||
if (bitmap.GetPalette() && !hiColour)
|
||||
{
|
||||
dc.SetPalette(* bitmap.GetPalette());
|
||||
|
Reference in New Issue
Block a user