]> git.saurik.com Git - wxWidgets.git/commit - include/wx/os2/stdpaths.h
Forbid creation of wxStandardPaths object directly.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jul 2013 23:14:21 +0000 (23:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jul 2013 23:14:21 +0000 (23:14 +0000)
commit38aae140acbfd562df1388ae76108efcc52f871c
tree2f746e7016c8ebd20fef88021c3e427aa3e50261
parentccaf2891c9082773460c50c7eb7a910ea51e7003
Forbid creation of wxStandardPaths object directly.

This happens to work under MSW and Unix where there is only one
wxStandardPaths class for both the console and the GUI applications but
doesn't return the correct result under OS X where the Core Foundation
version, returned by wxStandardPaths::Get(), has to be used for the GUI
programs. And historically this confused a lot of people, so just ensure that
they can't accidentally create an object of the wrong type any more.

Closes #13537.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/msw/stdpaths.h
include/wx/os2/stdpaths.h
include/wx/osx/core/stdpaths.h
include/wx/stdpaths.h
include/wx/unix/stdpaths.h
interface/wx/stdpaths.h
src/common/stdpbase.cpp
src/osx/core/utilsexc_cf.cpp