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:
@@ -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 );
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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();
|
||||
|
@@ -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)
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user