]> 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 72ae2ea183d8248040b7ecc4747c8c7f8c7380c9..62d58429b8df48244699cb16534b16c8f6c88c78 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Stefan Neis
 // Modified by:
 // Created:     2004-11-06
 // 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
 ///////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) 2004 Stefan Neis <Stefan.Neis@t-online.de>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -40,6 +39,11 @@ public:
     virtual wxString GetUserDataDir() const;
     virtual wxString GetPluginsDir() const;
 
     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;
 };
 private:
     static wxString m_prefix;
 };