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
void wxDC::DoDrawPolygon(
int n
, wxPoint vPoints[]
, wxCoord vXoffset
, wxCoord vYoffset
, int nFillStyle
)
void wxDC::DoDrawPolygon( int n,
wxPoint vPoints[],
wxCoord vXoffset,
wxCoord vYoffset,
int nFillStyle )
{
ULONG ulCount = 1; // Number of polygons.
POLYGON vPlgn; // polygon.
@@ -884,7 +882,6 @@ void wxDC::DoDrawPolygon(
//////////////////////////////////////////////////////////////////////////////
LONG lHits = 0L; // Correlation/error indicator.
POINTL vPoint;
int i;
int nIsTRANSPARENT = 0;
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
// Author: David Webster
// Modified by:
@@ -122,8 +122,6 @@ bool wxSpinCtrl::Create( wxWindow* pParent,
int nInitial,
const wxString& rsName )
{
SWP vSwp;
if (vId == wxID_ANY)
m_windowId = NewControlId();
else
@@ -175,11 +173,7 @@ bool wxSpinCtrl::Create( wxWindow* pParent,
SetFont(*wxSMALL_FONT);
SetXComp(0);
SetYComp(0);
SetSize( rPos.x
,rPos.y
,rSize.x
,rSize.y
);
SetSize( rPos.x, rPos.y, rSize.x, rSize.y );
SetRange(nMin, nMax);
SetValue(nInitial);