]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/stdpaths.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / os2 / stdpaths.h
index 353fc5b67285c546c556bb001fc868b5c62b303d..571ca38b99f286e569912db889d6cb6f22a86491 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        wx/msw/stdpaths.h
+// Name:        wx/os2/stdpaths.h
 // Purpose:     wxStandardPaths for OS/2
 // Author:      Stefan Neis
 // Modified by:
@@ -24,7 +24,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 +40,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;
 };