Ticket #14886 (closed defect: fixed)
Use wxSetWorkingDirectory() instead of chdir() with wxString paths
| Reported by: | kosenko | Owned by: | vadz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
In GTK+ porn with WIN32 backend wxString::fn_str() returns wchar_t strings that are not compatible with chdir(const char *) function.
With applied patch behavior under Linux will not changed and under Windows modified code will work as ::SetCurrentDirectory(m_selectedDirectory.t_str());
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

