]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation problem fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 1999 16:44:10 +0000 (16:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 1999 16:44:10 +0000 (16:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/filedlg.cpp
src/gtk1/filedlg.cpp

index 88fb8defb723c7dc65cd06470602d8a554a6d858..1667ec8e07841c5f514fba8623242c9a38616314 100644 (file)
@@ -63,7 +63,7 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFileDialog *dial
     }
 
     dialog->SetPath( gtk_file_selection_get_filename( GTK_FILE_SELECTION(dialog->m_widget) ) );
-    
+
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_OK);
     event.SetEventObject( dialog );
     dialog->GetEventHandler()->ProcessEvent( event );
@@ -74,7 +74,7 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFileDialog *dial
 //-----------------------------------------------------------------------------
 
 static
-void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
+void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(w), wxFileDialog *dialog )
 {
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_CANCEL);
     event.SetEventObject( dialog );
index 88fb8defb723c7dc65cd06470602d8a554a6d858..1667ec8e07841c5f514fba8623242c9a38616314 100644 (file)
@@ -63,7 +63,7 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFileDialog *dial
     }
 
     dialog->SetPath( gtk_file_selection_get_filename( GTK_FILE_SELECTION(dialog->m_widget) ) );
-    
+
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_OK);
     event.SetEventObject( dialog );
     dialog->GetEventHandler()->ProcessEvent( event );
@@ -74,7 +74,7 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFileDialog *dial
 //-----------------------------------------------------------------------------
 
 static
-void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
+void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(w), wxFileDialog *dialog )
 {
     wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_CANCEL);
     event.SetEventObject( dialog );