]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
added wxSplitFile() to decompose a file name into path + name + ext
[wxWidgets.git] / src / gtk / filedlg.cpp
index 1f16d2d1cdc69a9438b0873acb51347d06226f20..74798f65f22f04ab0b8f3125d35dda329cbb485d 100644 (file)
 void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), gpointer data )
 {
   wxFileDialog *dialog = (wxFileDialog*)data;
-  wxCommandEvent event(0);
+  wxCommandEvent event(wxEVT_NULL);
   dialog->OnOk( event );
 };
 
 void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
 {
   wxFileDialog *dialog = (wxFileDialog*)data;
-  wxCommandEvent event(0);
+  wxCommandEvent event(wxEVT_NULL);
   dialog->OnCancel( event );
 };