projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed comment
[wxWidgets.git]
/
src
/
generic
/
dcpsg.cpp
diff --git
a/src/generic/dcpsg.cpp
b/src/generic/dcpsg.cpp
index 12a7b2644957507f4c6fcba33b1277092192e1bc..13af995249323b74b27d62534bf26dcc895fe43b 100644
(file)
--- a/
src/generic/dcpsg.cpp
+++ b/
src/generic/dcpsg.cpp
@@
-313,7
+313,7
@@
wxPostScriptDCImpl::wxPostScriptDCImpl( wxPrinterDC *owner, const wxPrintData& d
void wxPostScriptDCImpl::Init()
{
void wxPostScriptDCImpl::Init()
{
- m_pstream =
(FILE*)
NULL;
+ m_pstream = NULL;
m_currentRed = 0;
m_currentGreen = 0;
m_currentRed = 0;
m_currentGreen = 0;
@@
-333,7
+333,7
@@
wxPostScriptDCImpl::~wxPostScriptDCImpl ()
if (m_pstream)
{
fclose( m_pstream );
if (m_pstream)
{
fclose( m_pstream );
- m_pstream =
(FILE*)
NULL;
+ m_pstream = NULL;
}
}
}
}
@@
-406,7
+406,7
@@
void wxPostScriptDCImpl::Clear()
// wxFAIL_MSG( wxT("wxPostScriptDCImpl::Clear not implemented.") );
}
// wxFAIL_MSG( wxT("wxPostScriptDCImpl::Clear not implemented.") );
}
-bool wxPostScriptDCImpl::DoFloodFill (wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour &WXUNUSED(col),
int
WXUNUSED(style))
+bool wxPostScriptDCImpl::DoFloodFill (wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour &WXUNUSED(col),
wxFloodFillStyle
WXUNUSED(style))
{
wxFAIL_MSG( wxT("wxPostScriptDCImpl::FloodFill not implemented.") );
return false;
{
wxFAIL_MSG( wxT("wxPostScriptDCImpl::FloodFill not implemented.") );
return false;
@@
-598,7
+598,7
@@
void wxPostScriptDCImpl::DoDrawPoint (wxCoord x, wxCoord y)
CalcBoundingBox( x, y );
}
CalcBoundingBox( x, y );
}
-void wxPostScriptDCImpl::DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset,
int
fillStyle)
+void wxPostScriptDCImpl::DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset,
wxPolygonFillMode
fillStyle)
{
wxCHECK_RET( m_ok, wxT("invalid postscript dc") );
{
wxCHECK_RET( m_ok, wxT("invalid postscript dc") );
@@
-668,7
+668,7
@@
void wxPostScriptDCImpl::DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset
}
}
}
}
-void wxPostScriptDCImpl::DoDrawPolyPolygon (int n, int count[], wxPoint points[], wxCoord xoffset, wxCoord yoffset,
int
fillStyle)
+void wxPostScriptDCImpl::DoDrawPolyPolygon (int n, int count[], wxPoint points[], wxCoord xoffset, wxCoord yoffset,
wxPolygonFillMode
fillStyle)
{
wxCHECK_RET( m_ok, wxT("invalid postscript dc") );
{
wxCHECK_RET( m_ok, wxT("invalid postscript dc") );
@@
-1507,7
+1507,7
@@
void wxPostScriptDCImpl::SetBackground (const wxBrush& brush)
m_backgroundBrush = brush;
}
m_backgroundBrush = brush;
}
-void wxPostScriptDCImpl::SetLogicalFunction
(int
WXUNUSED(function))
+void wxPostScriptDCImpl::SetLogicalFunction
(wxRasterOperationMode
WXUNUSED(function))
{
wxFAIL_MSG( wxT("wxPostScriptDCImpl::SetLogicalFunction not implemented.") );
}
{
wxFAIL_MSG( wxT("wxPostScriptDCImpl::SetLogicalFunction not implemented.") );
}
@@
-1798,7
+1798,7
@@
void wxPostScriptDCImpl::EndDoc ()
if ( m_pstream ) {
fclose( m_pstream );
if ( m_pstream ) {
fclose( m_pstream );
- m_pstream =
(FILE *)
NULL;
+ m_pstream = NULL;
}
#if 0
}
#if 0
@@
-1935,7
+1935,8
@@
bool wxPostScriptDCImpl::DoBlit( wxCoord xdest, wxCoord ydest,
wxCoord fwidth, wxCoord fheight,
wxDC *source,
wxCoord xsrc, wxCoord ysrc,
wxCoord fwidth, wxCoord fheight,
wxDC *source,
wxCoord xsrc, wxCoord ysrc,
- int rop, bool WXUNUSED(useMask), wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask) )
+ wxRasterOperationMode rop,
+ bool WXUNUSED(useMask), wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask) )
{
wxCHECK_MSG( m_ok, false, wxT("invalid postscript dc") );
{
wxCHECK_MSG( m_ok, false, wxT("invalid postscript dc") );