X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b862e2069ae3f91f1b0ebf53e74602fa1e0b303..a3e7d24d21f5371c88caffe4a85c8e4a5362db3f:/src/gtk1/fontdlg.cpp diff --git a/src/gtk1/fontdlg.cpp b/src/gtk1/fontdlg.cpp index 6634bc3243..eaa998c383 100644 --- a/src/gtk1/fontdlg.cpp +++ b/src/gtk1/fontdlg.cpp @@ -100,19 +100,19 @@ 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; if (!PreCreation( parent, wxDefaultPosition, wxDefaultSize ) || !CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, - wxDefaultValidator, _T("fontdialog") )) + wxDefaultValidator, wxT("fontdialog") )) { - wxFAIL_MSG( _T("wxXX creation failed") ); + wxFAIL_MSG( wxT("wxXX creation failed") ); return; } #ifndef __WXGTK12__ - wxFAIL_MSG( _T("TODO") ); + wxFAIL_MSG( wxT("TODO") ); #else // GTK+ 1.2 wxString m_message( _("Choose font") ); m_widget = gtk_font_selection_dialog_new( m_message.mbc_str() );