remove unused variables, tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,9 +84,6 @@ IMPLEMENT_ABSTRACT_CLASS(wxMSWDCImpl, wxDCImpl)
|
|||||||
|
|
||||||
static const int VIEWPORT_EXTENT = 1000;
|
static const int VIEWPORT_EXTENT = 1000;
|
||||||
|
|
||||||
static const int MM_POINTS = 9;
|
|
||||||
static const int MM_METRIC = 10;
|
|
||||||
|
|
||||||
// ROPs which don't have standard names (see "Ternary Raster Operations" in the
|
// ROPs which don't have standard names (see "Ternary Raster Operations" in the
|
||||||
// MSDN docs for how this and other numbers in wxDC::Blit() are obtained)
|
// MSDN docs for how this and other numbers in wxDC::Blit() are obtained)
|
||||||
#define DSTCOPY 0x00AA0029 // a.k.a. NOP operation
|
#define DSTCOPY 0x00AA0029 // a.k.a. NOP operation
|
||||||
@@ -1141,13 +1138,13 @@ void wxMSWDCImpl::DoDrawEllipticArc(wxCoord x,wxCoord y,wxCoord w,wxCoord h,doub
|
|||||||
|
|
||||||
// Swap start and end positions if the end angle is less than the start angle.
|
// Swap start and end positions if the end angle is less than the start angle.
|
||||||
if (ea < sa) {
|
if (ea < sa) {
|
||||||
int temp;
|
int temp;
|
||||||
temp = rx2;
|
temp = rx2;
|
||||||
rx2 = rx1;
|
rx2 = rx1;
|
||||||
rx1 = temp;
|
rx1 = temp;
|
||||||
temp = ry2;
|
temp = ry2;
|
||||||
ry2 = ry1;
|
ry2 = ry1;
|
||||||
ry1 = temp;
|
ry1 = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// draw pie with NULL_PEN first and then outline otherwise a line is
|
// draw pie with NULL_PEN first and then outline otherwise a line is
|
||||||
@@ -1890,7 +1887,6 @@ void wxMSWDCImpl::RealizeScaleAndOrigin()
|
|||||||
::SetViewportOrgEx(GetHdc(), m_deviceOriginX, m_deviceOriginY, NULL);
|
::SetViewportOrgEx(GetHdc(), m_deviceOriginX, m_deviceOriginY, NULL);
|
||||||
::SetWindowOrgEx(GetHdc(), m_logicalOriginX, m_logicalOriginY, NULL);
|
::SetWindowOrgEx(GetHdc(), m_logicalOriginX, m_logicalOriginY, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMSWDCImpl::SetMapMode(int mode)
|
void wxMSWDCImpl::SetMapMode(int mode)
|
||||||
|
Reference in New Issue
Block a user