unused parameter warnings suppressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-09-18 16:34:02 +00:00
parent 7d5af6fa6b
commit 284b4c8866
4 changed files with 282 additions and 278 deletions

View File

@@ -51,7 +51,8 @@ wxMask::~wxMask()
if (m_bitmap) gdk_bitmap_unref( m_bitmap ); if (m_bitmap) gdk_bitmap_unref( m_bitmap );
} }
bool wxMask::Create( const wxBitmap& bitmap, const wxColour& colour ) bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap),
const wxColour& WXUNUSED(colour) )
{ {
if (m_bitmap) if (m_bitmap)
{ {
@@ -64,7 +65,8 @@ bool wxMask::Create( const wxBitmap& bitmap, const wxColour& colour )
return FALSE; return FALSE;
} }
bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap), int WXUNUSED(paletteIndex) ) bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap),
int WXUNUSED(paletteIndex) )
{ {
if (m_bitmap) if (m_bitmap)
{ {

View File

@@ -418,7 +418,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static GdkFont*wxLoadQueryFont( int pointSize, int family, int style, int weight, static GdkFont*wxLoadQueryFont( int pointSize, int family, int style, int weight,
bool underlined, const wxString &facename ) bool WXUNUSED(underlined), const wxString &facename )
{ {
wxChar *xfamily = (wxChar*) NULL; wxChar *xfamily = (wxChar*) NULL;
wxChar *xstyle = (wxChar*) NULL; wxChar *xstyle = (wxChar*) NULL;

View File

@@ -51,7 +51,8 @@ wxMask::~wxMask()
if (m_bitmap) gdk_bitmap_unref( m_bitmap ); if (m_bitmap) gdk_bitmap_unref( m_bitmap );
} }
bool wxMask::Create( const wxBitmap& bitmap, const wxColour& colour ) bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap),
const wxColour& WXUNUSED(colour) )
{ {
if (m_bitmap) if (m_bitmap)
{ {
@@ -64,7 +65,8 @@ bool wxMask::Create( const wxBitmap& bitmap, const wxColour& colour )
return FALSE; return FALSE;
} }
bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap), int WXUNUSED(paletteIndex) ) bool wxMask::Create( const wxBitmap& WXUNUSED(bitmap),
int WXUNUSED(paletteIndex) )
{ {
if (m_bitmap) if (m_bitmap)
{ {

View File

@@ -418,7 +418,7 @@ GdkFont *wxFont::GetInternalFont( float scale ) const
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static GdkFont*wxLoadQueryFont( int pointSize, int family, int style, int weight, static GdkFont*wxLoadQueryFont( int pointSize, int family, int style, int weight,
bool underlined, const wxString &facename ) bool WXUNUSED(underlined), const wxString &facename )
{ {
wxChar *xfamily = (wxChar*) NULL; wxChar *xfamily = (wxChar*) NULL;
wxChar *xstyle = (wxChar*) NULL; wxChar *xstyle = (wxChar*) NULL;