]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
1. some minor but nasty bugs fixed (see post to the list)
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index 10fefdce310f3ec6cf971da203aeceb01457054d..052d8ff6f8e72aa08a8bb0e1794822d9b418b792 100644 (file)
@@ -62,7 +62,7 @@
 // data
 //-----------------------------------------------------------------------------
 
-WXDLLEXPORT_DATA(extern const char*) wxFileSelectorPromptStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxFileSelectorPromptStr;
 
 //-----------------------------------------------------------------------------
 // classes
@@ -82,7 +82,7 @@ class WXDLLEXPORT wxDirDialog: public wxDialog
  public:
     wxDirDialog(wxWindow *parent, 
                const wxString& message = wxFileSelectorPromptStr,
-               const wxString& defaultPath = "",
+               const wxString& defaultPath = wxEmptyString,
                long style = 0, const wxPoint& pos = wxDefaultPosition);
     inline void SetMessage(const wxString& message) { m_message = message; }
     inline void SetPath(const wxString& path) { m_path = path; }