X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..d485bda109d5ef0fef36a3f737549e9b9f54baab:/src/os2/spinbutt.cpp diff --git a/src/os2/spinbutt.cpp b/src/os2/spinbutt.cpp index 14fbeaa39c..05af314aa8 100644 --- a/src/os2/spinbutt.cpp +++ b/src/os2/spinbutt.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: spinbutt.cpp +// Name: src/os2/spinbutt.cpp // Purpose: wxSpinButton // Author: David Webster // Modified by: @@ -85,12 +85,10 @@ bool wxSpinButton::Create( if (nY < 0 ) nY = 0; - long lSstyle = 0L; - - lSstyle = WS_VISIBLE | - WS_TABSTOP | - SPBS_MASTER | // We use only single field spin buttons - SPBS_NUMERICONLY; // We default to numeric data + long lSstyle = WS_VISIBLE | + WS_TABSTOP | + SPBS_MASTER | // We use only single field spin buttons + SPBS_NUMERICONLY; // We default to numeric data if (m_windowStyle & wxCLIP_SIBLINGS ) lSstyle |= WS_CLIPSIBLINGS;