summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7fe4f50)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2092
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- return wxString(wxGetWorkingDirectory());
+ static const size_t maxPathLen = 1024;
+
+ wxString str;
+ wxGetWorkingDirectory(str.GetWriteBuf(maxPathLen), maxPathLen);
+ str.UngetWriteBuf();
+
+ return str;
}
bool wxSetWorkingDirectory(const wxString& d)
}
bool wxSetWorkingDirectory(const wxString& d)