Removed some unused parameter warnings; compile error in dialup.cpp corrected;

some commits are redundant (sorry)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-10-04 15:07:20 +00:00
parent c5342938e2
commit 5e0201eaa1
29 changed files with 64 additions and 42 deletions

View File

@@ -433,7 +433,7 @@ size_t wxBitmapDataObject::GetSize() const
return m_pngSize;
}
void wxBitmapDataObject::WriteBitmap( const wxBitmap &bitmap, void *dest ) const
void wxBitmapDataObject::WriteBitmap( const wxBitmap &WXUNUSED(bitmap), void *dest ) const
{
// if (m_bitmap == bitmap)
memcpy( dest, m_pngData, m_pngSize );

View File

@@ -150,7 +150,7 @@ void wxFont::Init()
wxTheFontList->Append( this );
}
wxFont::wxFont( GdkFont *font, char *xFontName )
wxFont::wxFont( GdkFont *WXUNUSED(font), char *xFontName )
{
if (!xFontName)
return;

View File

@@ -100,7 +100,7 @@ void gtk_fontdialog_cancel_callback( GtkWidget *WXUNUSED(w), wxFontDialog *dialo
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog,wxDialog)
wxFontDialog::wxFontDialog( wxWindow *parent, wxFontData *data )
wxFontDialog::wxFontDialog( wxWindow *parent, wxFontData *WXUNUSED(data) )
{
m_needParent = FALSE;

View File

@@ -137,7 +137,7 @@ static void gtk_toolbar_attached_callback( GtkWidget *WXUNUSED(widget), GtkWidge
// "child_detached" of tool bar
//-----------------------------------------------------------------------------
static void gtk_toolbar_detached_callback( GtkWidget *widget, GtkWidget *WXUNUSED(child), wxFrame *win )
static void gtk_toolbar_detached_callback( GtkWidget *WXUNUSED(widget), GtkWidget *WXUNUSED(child), wxFrame *win )
{
if (g_isIdle)
wxapp_install_idle_handler();
@@ -191,7 +191,7 @@ gtk_frame_configure_callback( GtkWidget *WXUNUSED(widget), GdkEventConfigure *ev
so we do this directly after realization */
static gint
gtk_frame_realized_callback( GtkWidget *widget, wxFrame *win )
gtk_frame_realized_callback( GtkWidget *WXUNUSED(widget), wxFrame *win )
{
if (g_isIdle)
wxapp_install_idle_handler();

View File

@@ -49,7 +49,7 @@ extern wxList wxPendingDelete;
static void gtk_mdi_page_change_callback(GtkNotebook *WXUNUSED(widget),
GtkNotebookPage *WXUNUSED(page),
gint page,
gint WXUNUSED(page),
wxMDIParentFrame *parent )
{
if (g_isIdle)

View File

@@ -1648,7 +1648,7 @@ static gint gtk_scrollbar_button_press_callback( GtkRange *WXUNUSED(widget),
// "button_release_event" from scrollbar
//-----------------------------------------------------------------------------
static gint gtk_scrollbar_button_release_callback( GtkRange *widget,
static gint gtk_scrollbar_button_release_callback( GtkRange *WXUNUSED(widget),
GdkEventButton *WXUNUSED(gdk_event),
wxWindow *win )
{