X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/903f689bf7c3c379cba45881373aa9bdd15d6e70..252eb8fd71f9c118efdcea5e77a6395654757411:/src/gtk1/filedlg.cpp

diff --git a/src/gtk1/filedlg.cpp b/src/gtk1/filedlg.cpp
index 42278d6605..6b705b101b 100644
--- a/src/gtk1/filedlg.cpp
+++ b/src/gtk1/filedlg.cpp
@@ -37,14 +37,14 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), gpointer data )
 	}
 
   dialog->OnOK( event );
-};
+}
 
 void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
 {
   wxFileDialog *dialog = (wxFileDialog*)data;
   wxCommandEvent event(wxEVT_NULL);
   dialog->OnCancel( event );
-};
+}
 
 IMPLEMENT_DYNAMIC_CLASS(wxFileDialog,wxDialog)
 
@@ -83,7 +83,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
 
   gtk_signal_connect( GTK_OBJECT(sel->cancel_button), "clicked",
     GTK_SIGNAL_FUNC(gtk_filedialog_cancel_callback), (gpointer*)this );
-};
+}
 
 int wxFileDialog::ShowModal(void)
 {
@@ -93,9 +93,9 @@ int wxFileDialog::ShowModal(void)
   {
     m_fileName = gtk_file_selection_get_filename( GTK_FILE_SELECTION(m_widget) );
     m_path = gtk_file_selection_get_filename( GTK_FILE_SELECTION(m_widget) );
-  };
+  }
   return ret;
-};
+}
 
 
 char *wxFileSelector(const char *title,
@@ -130,8 +130,8 @@ char *wxFileSelector(const char *title,
     return wxBuffer;
   }
   else
-    return NULL;
-};
+    return (char *) NULL;
+}
 
 char* wxLoadFileSelector(const char *what, const char *extension, const char *default_name,
          wxWindow *parent )
@@ -146,8 +146,8 @@ char* wxLoadFileSelector(const char *what, const char *extension, const char *de
   char wild[60];
   sprintf(wild, "*.%s", ext);
 
-  return wxFileSelector (prompt, NULL, default_name, ext, wild, 0, parent);
-};
+  return wxFileSelector (prompt, (const char *) NULL, default_name, ext, wild, 0, parent);
+}
 
 char* wxSaveFileSelector(const char *what, const char *extension, const char *default_name,
          wxWindow *parent )
@@ -162,6 +162,6 @@ char* wxSaveFileSelector(const char *what, const char *extension, const char *de
   char wild[60];
   sprintf(wild, "*.%s", ext);
 
-  return wxFileSelector (prompt, NULL, default_name, ext, wild, 0, parent);
-};
+  return wxFileSelector (prompt, (const char *) NULL, default_name, ext, wild, 0, parent);
+}