]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove doc references to 'common value' (which is unfinished feature)
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 23 Sep 2008 15:35:32 +0000 (15:35 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 23 Sep 2008 15:35:32 +0000 (15:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/property.h
interface/wx/propgrid/property.h

index cd4ec9f2afdb2d888e4f445852b834da7fe6b4e9..682732813cddf45fcc50037b702994f343f5c0f6 100644 (file)
@@ -1420,7 +1420,9 @@ public:
     }
 #endif
 
-    /** Same as GetValueAsString, except takes common value into account.
+    /** To acquire property's value as string, you should use this
+         function (instead of GetValueAsString()), as it may produce
+         more accurate value in future versions.
     */
     wxString GetValueString( int argFlags = 0 ) const;
 
index 766c51ec6364482c90bc74e5d4c035554fb0e220..b5c50da74156b6d8b4c88b91c8e4d0bda101a636 100644 (file)
@@ -780,17 +780,6 @@ public:
     */
     void DeleteChoice( int index );
 
-    /** Call to enable or disable usage of common value (integer value that can be selected for
-        properties instead of their normal values) for this property.
-
-        Common values are disabled by the default for all properties.
-    */
-    void EnableCommonValue( bool enable = true )
-    {
-        if ( enable ) SetFlag( wxPG_PROP_USES_COMMON_VALUE );
-        else ClearFlag( wxPG_PROP_USES_COMMON_VALUE );
-    }
-
     /** Composes text from values of child properties. */
     void GenerateComposedValue( wxString& text, int argFlags = 0 ) const;
 
@@ -831,7 +820,9 @@ public:
         return m_value;
     }
 
-    /** Same as GetValueAsString, except takes common value into account.
+    /** To acquire property's value as string, you should use this
+         function (instead of GetValueAsString()), as it may produce
+         more accurate value in future versions.
     */
     wxString GetValueString( int argFlags = 0 ) const;
 
@@ -848,10 +839,8 @@ public:
         return (wxPGCell*) m_cells[column];
     }
 
-    /** Return number of displayed common values for this property.
-    */
-    int GetDisplayedCommonValueCount() const;
-
+    /** Returns property's displayed text.
+     */
     wxString GetDisplayedString() const
     {
         return GetValueString(0);
@@ -927,13 +916,6 @@ public:
         return NULL;
     }
 
-    /** Returns common value selected for this property. -1 for none.
-    */
-    int GetCommonValue() const
-    {
-        return m_commonValue;
-    }
-
     /** Returns true if property has even one visible child.
     */
     bool HasVisibleChildren() const;
@@ -1108,13 +1090,6 @@ public:
     */
     void SetChoiceSelection( int newValue );
 
-    /** Sets common value selected for this property. -1 for none.
-    */
-    void SetCommonValue( int commonValue )
-    {
-        m_commonValue = commonValue;
-    }
-
     /** Sets flags from a '|' delimited string. Note that flag names are not
         prepended with 'wxPG_PROP_'.
     */