]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/filedlg.cpp
wxGTK compiles (and seems to work) again after wxMenu changes
[wxWidgets.git] / src / mac / filedlg.cpp
index ba8ad73df7644789ed70f41ffdd20a4604b89933..b6f5b1912dfc28663d161dfb4d5d88c2a79c5fe1 100644 (file)
@@ -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,