Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-20 17:26:52 +00:00
parent 21d6b09b10
commit 9de1027152
2 changed files with 37 additions and 46 deletions

View File

@@ -848,13 +848,11 @@ void wxDC::DoDrawPoint(
); );
} // end of wxDC::DoDrawPoint } // end of wxDC::DoDrawPoint
void wxDC::DoDrawPolygon( void wxDC::DoDrawPolygon( int n,
int n wxPoint vPoints[],
, wxPoint vPoints[] wxCoord vXoffset,
, wxCoord vXoffset wxCoord vYoffset,
, wxCoord vYoffset int nFillStyle )
, int nFillStyle
)
{ {
ULONG ulCount = 1; // Number of polygons. ULONG ulCount = 1; // Number of polygons.
POLYGON vPlgn; // polygon. POLYGON vPlgn; // polygon.
@@ -884,7 +882,6 @@ void wxDC::DoDrawPolygon(
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
LONG lHits = 0L; // Correlation/error indicator. LONG lHits = 0L; // Correlation/error indicator.
POINTL vPoint;
int i; int i;
int nIsTRANSPARENT = 0; int nIsTRANSPARENT = 0;
LONG lBorderColor = 0L; LONG lBorderColor = 0L;

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: os2/spinctrl.cpp // Name: src/os2/spinctrl.cpp
// Purpose: wxSpinCtrl class implementation for OS/2 // Purpose: wxSpinCtrl class implementation for OS/2
// Author: David Webster // Author: David Webster
// Modified by: // Modified by:
@@ -122,8 +122,6 @@ bool wxSpinCtrl::Create( wxWindow* pParent,
int nInitial, int nInitial,
const wxString& rsName ) const wxString& rsName )
{ {
SWP vSwp;
if (vId == wxID_ANY) if (vId == wxID_ANY)
m_windowId = NewControlId(); m_windowId = NewControlId();
else else
@@ -175,11 +173,7 @@ bool wxSpinCtrl::Create( wxWindow* pParent,
SetFont(*wxSMALL_FONT); SetFont(*wxSMALL_FONT);
SetXComp(0); SetXComp(0);
SetYComp(0); SetYComp(0);
SetSize( rPos.x SetSize( rPos.x, rPos.y, rSize.x, rSize.y );
,rPos.y
,rSize.x
,rSize.y
);
SetRange(nMin, nMax); SetRange(nMin, nMax);
SetValue(nInitial); SetValue(nInitial);