]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/stdpaths.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / os2 / stdpaths.h
index 353fc5b67285c546c556bb001fc868b5c62b303d..62d58429b8df48244699cb16534b16c8f6c88c78 100644 (file)
@@ -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 <Stefan.Neis@t-online.de>
 // 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;
 };