X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/175bb578e0a23e7b2f71dfde16898c184e8a5467..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/os2/stdpaths.h diff --git a/include/wx/os2/stdpaths.h b/include/wx/os2/stdpaths.h index 353fc5b672..62d58429b8 100644 --- a/include/wx/os2/stdpaths.h +++ b/include/wx/os2/stdpaths.h @@ -1,10 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/msw/stdpaths.h +// Name: wx/os2/stdpaths.h // Purpose: wxStandardPaths for OS/2 // Author: Stefan Neis // Modified by: // Created: 2004-11-06 -// RCS-ID: $Id$ // Copyright: (c) 2004 Stefan Neis // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -24,7 +23,7 @@ public: // The program directory can be determined automatically from argv[0], // this function is automatically called from application initialisation. // If you override the initialisation routine, you should call it - // explicitely yourself. + // explicitly yourself. static void SetInstallPrefix(const wxString& prefix); // get the program installation prefix @@ -40,6 +39,11 @@ public: virtual wxString GetUserDataDir() const; virtual wxString GetPluginsDir() const; +protected: + // Ctor is protected, use wxStandardPaths::Get() instead of instantiating + // objects of this class directly. + wxStandardPaths() { } + private: static wxString m_prefix; };