/////////////////////////////////////////////////////////////////////////////
-// Name: dcclient.cpp
+// Name: src/os2/dcclient.cpp
// Purpose: wxClientDC class
// Author: David Webster
// Modified by:
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include "wx/string.h"
+#include "wx/dcclient.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/string.h"
+#endif
+
#include "wx/log.h"
#include "wx/window.h"
#include "wx/app.h"
#include "wx/os2/private.h"
-#include "wx/dcclient.h"
-
// ----------------------------------------------------------------------------
// array/list types
// ----------------------------------------------------------------------------
);
}
- m_bIsPaintTime = TRUE;
+ m_bIsPaintTime = true;
ms_cache.Add(new wxPaintDCInfo(m_pCanvas, this));
}
InitDC();
{
::WinEndPaint(m_hPS);
m_hPS = m_hOldPS;
- m_bIsPaintTime = FALSE;
+ m_bIsPaintTime = false;
ms_cache.RemoveAt(nIndex);
}
//else: cached DC entry is still in use
}
return 0;
} // end of wxPaintDC::FindInCache
-