/////////////////////////////////////////////////////////////////////////////
-// Name: os2/spinctrl.cpp
+// Name: src/os2/spinctrl.cpp
// Purpose: wxSpinCtrl class implementation for OS/2
// Author: David Webster
// Modified by:
int nInitial,
const wxString& rsName )
{
- SWP vSwp;
-
if (vId == wxID_ANY)
m_windowId = NewControlId();
else
SetParent(pParent);
m_windowStyle = lStyle;
- int lSstyle = 0L;
+ int lSstyle = 0L;
lSstyle = WS_VISIBLE |
WS_TABSTOP |
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);
{
long lVal;
- lVal = atol((char*)rsText.c_str());
+ lVal = atol(rsText.c_str());
wxSpinButton::SetValue(lVal);
} // end of wxSpinCtrl::SetValue