HP-UX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }
|
||||
|
||||
private:
|
||||
friend wxPaintDC;
|
||||
friend class wxPaintDC;
|
||||
|
||||
wxBitmap m_bitmap;
|
||||
};
|
||||
|
@@ -323,7 +323,7 @@ void wxWindowDC::DoDrawArc( wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCo
|
||||
|
||||
wxCoord dx = xx1 - xxc;
|
||||
wxCoord dy = yy1 - yyc;
|
||||
double radius = sqrt (dx * dx + dy * dy);
|
||||
double radius = sqrt ((double)(dx * dx + dy * dy));
|
||||
wxCoord r = (wxCoord) radius;
|
||||
|
||||
double radius1, radius2;
|
||||
|
Reference in New Issue
Block a user