X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4707b84cd074ff2ae9ada99579f864eb300f8774..31848e7da515216ac5bda1cf85250bc3f7d77781:/interface/wx/cmndata.h?ds=sidebyside

diff --git a/interface/wx/cmndata.h b/interface/wx/cmndata.h
index 72b00a26d6..4fd908859e 100644
--- a/interface/wx/cmndata.h
+++ b/interface/wx/cmndata.h
@@ -418,18 +418,27 @@ public:
         @param i
             An integer between 0 and 15 for whatever custom colour you want to
             set. The default custom colours are invalid colours.
+        @param colour
+            The colour to set
     */
     void SetCustomColour(int i, const wxColour& colour);
 
     /**
-        Assignment operator for the colour data.
+        Converts the colours saved in this class in a string form, separing
+        the various colours with a comma.
     */
-    wxColourData& operator =(const wxColourData& data);
+    wxString ToString() const;
 
+    /**
+        Decodes the given string, which should be in the same format returned
+        by ToString(), and sets the internal colours.
+    */
+    bool FromString(const wxString& str);
 
-    /** @todo document these */
-    wxString wxColourData::ToString() const;
-    bool wxColourData::FromString(const wxString& str);
+    /**
+        Assignment operator for the colour data.
+    */
+    wxColourData& operator =(const wxColourData& data);
 };
 
 
@@ -659,7 +668,7 @@ public:
     /**
         Assigns print data to this object.
     */
-    void operator =(const wxPrintData& data);
+    wxPrintData& operator =(const wxPrintData& data);
 };