- // created in resopnse to WM_PAINT message - doing this from elsewhere is a
- // common programming error among wxWindows programmers and might lead to
+ // created in response to WM_PAINT message - doing this from elsewhere is a
+ // common programming error among wxWidgets programmers and might lead to
// TODO: don't duplicate wxPaintDC code here!!
wxPaintDCEx::wxPaintDCEx(wxWindow *canvas, WXHDC dc) : saveState(0)
// TODO: don't duplicate wxPaintDC code here!!
wxPaintDCEx::wxPaintDCEx(wxWindow *canvas, WXHDC dc) : saveState(0)
{
RestoreDC((HDC) m_hDC, saveState);
ms_cache.RemoveAt(index);
{
RestoreDC((HDC) m_hDC, saveState);
ms_cache.RemoveAt(index);