X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6463b9f5399b8670a0c74f2f8666bc2c9f37a406..34b8f3ef3d7cb4389ef23cc4fb6a94c53b70f9db:/src/os2/bmpbuttn.cpp diff --git a/src/os2/bmpbuttn.cpp b/src/os2/bmpbuttn.cpp index 6697e119b7..f30e54aa7e 100644 --- a/src/os2/bmpbuttn.cpp +++ b/src/os2/bmpbuttn.cpp @@ -111,7 +111,6 @@ bool wxBitmapButton::OS2OnDraw( return FALSE; wxBitmap* pBitmap; - RECTL vRect; bool bIsSelected = pUser->fsState & BDS_HILITED; wxClientDC vDc(this); @@ -132,7 +131,6 @@ bool wxBitmapButton::OS2OnDraw( // Centre the bitmap in the control area // int nX = 0; - int nY = 0; int nX1 = 0; int nY1 = 0; int nWidth = vDc.m_vRclPaint.xRight - vDc.m_vRclPaint.xLeft;