Got a new idea to do cursors, including global

ones and busy etc.
  Fixed an assert in UserScaler from PS code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-26 20:40:04 +00:00
parent 14906731b1
commit 238d735dc2
14 changed files with 112 additions and 90 deletions

View File

@@ -97,22 +97,8 @@ wxSize wxDC::GetPPI() const
void wxDC::ComputeScaleAndOrigin()
{
/* CMB: copy scale to see if it changes */
double origScaleX = m_scaleX;
double origScaleY = m_scaleY;
m_scaleX = m_logicalScaleX * m_userScaleX;
m_scaleY = m_logicalScaleY * m_userScaleY;
/* CMB: if scale has changed call SetPen to recalulate the line width */
if (m_scaleX != origScaleX || m_scaleY != origScaleY)
{
/* this is a bit artificial, but we need to force wxDC to think
the pen has changed */
wxPen pen = m_pen;
m_pen = wxNullPen;
SetPen( pen );
}
}
void wxDC::SetMapMode( int mode )