X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1de4baa31f17548b32a376a71ce50fee6a3e759c..4395fb21f651f8a08905c34507692ca7f902dfe5:/src/os2/statbmp.cpp diff --git a/src/os2/statbmp.cpp b/src/os2/statbmp.cpp index 7dbfa69b0a..09af143f46 100644 --- a/src/os2/statbmp.cpp +++ b/src/os2/statbmp.cpp @@ -16,6 +16,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#include "wx/dcclient.h" #include "wx/window.h" #include "wx/os2/private.h" @@ -96,8 +97,6 @@ bool wxStaticBitmap::Create( int nX= rPos.x; int nY = rPos.y; - int nWidth = rSize.x; - int nHeight = rSize.y; char zId[16]; m_windowStyle = lStyle; @@ -163,7 +162,6 @@ void wxStaticBitmap::OnPaint ( ) { wxPaintDC vDc(this); - int i; wxBitmap* pBitmap; if (m_pImage->IsKindOf(CLASSINFO(wxIcon)))