git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1579
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
dialog->SetPath( gtk_file_selection_get_filename( GTK_FILE_SELECTION(dialog->m_widget) ) );
}
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 );
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_OK);
event.SetEventObject( dialog );
dialog->GetEventHandler()->ProcessEvent( event );
//-----------------------------------------------------------------------------
static
//-----------------------------------------------------------------------------
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 );
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_CANCEL);
event.SetEventObject( dialog );
}
dialog->SetPath( gtk_file_selection_get_filename( GTK_FILE_SELECTION(dialog->m_widget) ) );
}
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 );
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_OK);
event.SetEventObject( dialog );
dialog->GetEventHandler()->ProcessEvent( event );
//-----------------------------------------------------------------------------
static
//-----------------------------------------------------------------------------
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 );
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED,wxID_CANCEL);
event.SetEventObject( dialog );