Updated info about missing parts in OW headers (now reported and fixed for incoming OW 1.4) and further source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-07-22 12:57:02 +00:00
parent 8cc3b2e982
commit 77f4f0a700
4 changed files with 338 additions and 433 deletions

View File

@@ -774,8 +774,9 @@ void wxDC::DoDrawArc(
vPtlArc[0].y = vYm;
vPtlArc[1].x = vX2;
vPtlArc[1].y = vY2;
#ifndef __WATCOMC__
// FIXME: incomplete headers ???
#if !(defined(__WATCOMC__) && __WATCOMC__ < 1240 )
// Open Watcom 1.3 had incomplete headers
// that's reported and should be fixed for OW 1.4
::GpiPointArc(m_hPS, vPtlArc); // Draws the arc
#endif
CalcBoundingBox( (wxCoord)(vXc - dRadius)
@@ -2364,10 +2365,8 @@ void wxDC::SetMapMode(
// ????
}; // end of wxDC::SetMapMode
void wxDC::SetUserScale(
double dX
, double dY
)
void wxDC::SetUserScale( double dX,
double dY )
{
m_userScaleX = dX;
m_userScaleY = dY;
@@ -2375,10 +2374,8 @@ void wxDC::SetUserScale(
SetMapMode(m_mappingMode);
} // end of wxDC::SetUserScale
void wxDC::SetAxisOrientation(
bool bXLeftRight
, bool bYBottomUp
)
void wxDC::SetAxisOrientation( bool bXLeftRight,
bool bYBottomUp )
{
m_signX = bXLeftRight ? 1 : -1;
m_signY = bYBottomUp ? -1 : 1;