/////////////////////////////////////////////////////////////////////////////
-// 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/log.h"
-#include "wx/window.h"
-#include "wx/app.h"
+#include "wx/dcclient.h"
-#include "wx/os2/private.h"
+#ifndef WX_PRECOMP
+ #include "wx/string.h"
+ #include "wx/log.h"
+ #include "wx/app.h"
+ #include "wx/window.h"
+#endif
-#include "wx/dcclient.h"
+#include "wx/os2/private.h"
// ----------------------------------------------------------------------------
// array/list types
vColor.Set( wxT("WHITE") );
m_brush.SetColour(vColor);
InitializePalette();
- wxFont* pFont = new wxFont( 12
- ,wxNORMAL
+ wxFont* pFont = new wxFont( 10
+ ,wxMODERN
,wxNORMAL
,wxBOLD
);
);
}
- 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
-