Commit Graph

25 Commits

Author SHA1 Message Date
Vadim Zeitlin
6da1d056ca Don't use vendor name by default in wxStandardPaths.
The changes in r50025 made the behaviour of wxStandardPaths silently
incompatible with the previous versions under MSW and OS X as it now used the
vendor name in the paths it returned, unlike before. The benefits of doing
this don't justify silently breaking the existing programs so revert this
change and continue to use the application name only by default.

It is, of course, still possible to explicitly ask for the vendor name to be
used with wxStandardPaths::UseAppInfo().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-10 18:28:28 +00:00
Vadim Zeitlin
94aff795d4 Added wxStandardPaths::MSWGetShellDir().
This function allows to get the location of Windows shell special folders not
covered by wxStandardPaths methods (yet), e.g. CSIDL_DESKTOPDIRECTORY.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-14 00:05:56 +00:00
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
4cd15b49b4 allow customizing wxStandardPaths logic for the program directory determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
4b6a582bef replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:53:48 +00:00
Vadim Zeitlin
b4d9ed2144 tweak GetAppDir() to recognize more debug build directory suffixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 23:42:17 +00:00
Vadim Zeitlin
2b147f2e19 allow to optionally use vendor name component in standard paths (slightly modified patch 1831308)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:59:13 +00:00
Vadim Zeitlin
744b73167b fix warning about unused TRACE_MASK variable in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:12:12 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Michael Wetherell
de30344498 Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:48:02 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
adaa49a801 discard the debug directories at the end of the executable path automatically in debug builds to allow running the programs without installing them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:31:44 +00:00
Vadim Zeitlin
3af9f2de59 added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Julian Smart
64c288fa47 Compile with wxUSE_DYNLIB_CLASS and wxUSE_WXDIB set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 16:47:30 +00:00
Julian Smart
14e9e56dfe Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 16:24:35 +00:00
Julian Smart
780d7317ed Applied patch [ 1385822 ] fixed stdpaths get folder path on WinCE
Vince Harron


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 09:46:27 +00:00
Vadim Zeitlin
4fb9d560c4 (harmless) eVC4 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 23:44:18 +00:00
Julian Smart
503602dfe7 Fix wxFileConfig for WinCE
Provide standard WinCE Windows path for wxStandardPaths


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 11:52:33 +00:00
Vadim Zeitlin
905372991f made GetDataDir() return the directory where the program is installed under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 16:05:52 +00:00
Vadim Zeitlin
cd9a8d40c9 added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:48:04 +00:00
Włodzimierz Skiba
61c2afedf4 Missing define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 17:08:36 +00:00
Włodzimierz Skiba
e207252560 WinCE correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:54:33 +00:00
Włodzimierz Skiba
cd0c48001c DMC, OW and my copy of MinGW misses SH* values, Borland seems fine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 09:18:02 +00:00
Vadim Zeitlin
ce336c6d76 moved AppendAppName() from MSW to common code; modified it to not double the trailing slash, if any
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:34:32 +00:00
Vadim Zeitlin
40e8ee374f initial implementation for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:06 +00:00