X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/filedlg.cpp diff --git a/src/gtk1/filedlg.cpp b/src/gtk1/filedlg.cpp index 65b95e2d6e..021946bb57 100644 --- a/src/gtk1/filedlg.cpp +++ b/src/gtk1/filedlg.cpp @@ -64,7 +64,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, m_dialogStyle = style; m_filterIndex = 1; - m_widget = gtk_file_selection_new(_("File selection")); + m_widget = gtk_file_selection_new( m_message ); int x = (gdk_screen_width () - 400) / 2; int y = (gdk_screen_height () - 400) / 2; @@ -130,7 +130,7 @@ 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, @@ -146,7 +146,7 @@ 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, @@ -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); }