X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/169935ad4ed842421ef24470a06d1aa298f90fbe..3372145d9daa42f680fc5aab7eb00e82d587c5a0:/src/mac/filedlg.cpp diff --git a/src/mac/filedlg.cpp b/src/mac/filedlg.cpp index ba8ad73df7..b6f5b1912d 100644 --- a/src/mac/filedlg.cpp +++ b/src/mac/filedlg.cpp @@ -57,7 +57,7 @@ WXDLLEXPORT wxString wxFileSelector(const char *title, return wxBuffer; } else - return NULL; + return wxGetEmptyString(); } WXDLLEXPORT wxString wxFileSelectorEx(const char *title, @@ -81,7 +81,7 @@ WXDLLEXPORT wxString wxFileSelectorEx(const char *title, return wxBuffer; } else - return NULL; + return wxGetEmptyString(); } wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,