X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..cc4d5638c66a409e421420ed7110917755a66788:/src/common/stdpbase.cpp diff --git a/src/common/stdpbase.cpp b/src/common/stdpbase.cpp index 8df8c13843..41e27e7724 100644 --- a/src/common/stdpbase.cpp +++ b/src/common/stdpbase.cpp @@ -1,12 +1,11 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/stdpbase.cpp +// Name: src/common/stdpbase.cpp // Purpose: wxStandardPathsBase methods common to all ports // Author: Vadim Zeitlin // Modified by: // Created: 2004-10-19 -// RCS-ID: $Id$ // Copyright: (c) 2004 Vadim Zeitlin -// License: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -36,7 +35,21 @@ // module globals // ---------------------------------------------------------------------------- -static wxStandardPaths gs_stdPaths; +namespace +{ + +// Derive a class just to be able to create it: wxStandardPaths ctor is +// protected to prevent its misuse, but it also means we can't create an object +// of this class directly. +class wxStandardPathsDefault : public wxStandardPaths +{ +public: + wxStandardPathsDefault() { } +}; + +static wxStandardPathsDefault gs_stdPaths; + +} // anonymous namespace // ============================================================================ // implementation