first pass of wxUniv merge - nothing works, most parts don't even compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-26 20:59:19 +00:00
parent aeb313f31c
commit 1e6feb95a7
409 changed files with 42065 additions and 6675 deletions

View File

@@ -209,8 +209,17 @@ void wxCaret::Refresh()
if ( m_xOld == -1 && m_yOld == -1 )
{
// save the part we're going to overdraw
int x = m_x,
y = m_y;
#if defined(__WXGTK__) && !defined(__WX_DC_BLIT_FIXED__)
wxPoint pt = dcWin.GetDeviceOrigin();
x += pt.x;
y += pt.y;
#endif // broken wxGTK wxDC::Blit
dcMem.Blit(0, 0, m_width, m_height,
&dcWin, m_x, m_y);
&dcWin, x, y);
m_xOld = m_x;
m_yOld = m_y;
}