X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e9224eb2edea8afe45faa6a1cd1b2894d245c2..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/cmndata.h diff --git a/interface/wx/cmndata.h b/interface/wx/cmndata.h index 1f68d41cab..81c8a126b5 100644 --- a/interface/wx/cmndata.h +++ b/interface/wx/cmndata.h @@ -12,7 +12,7 @@ This class holds a variety of information related to font dialogs. @library{wxcore} - @category{cmndlg} + @category{cmndlg,data} @see @ref overview_cmndlg_font, wxFont, wxFontDialog */ @@ -137,7 +137,7 @@ public: stored by wxPageSetupDialogData). @library{wxcore} - @category{printing} + @category{printing,data} @see @ref overview_printing, wxPageSetupDialog */ @@ -349,7 +349,7 @@ public: This class holds a variety of information related to colour dialogs. @library{wxcore} - @category{cmndlg} + @category{cmndlg,data} @see wxColour, wxColourDialog, @ref overview_cmndlg_colour */ @@ -424,14 +424,21 @@ public: 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); }; @@ -504,7 +511,7 @@ enum wxPrintBin @endcode @library{wxcore} - @category{printing} + @category{printing,data} @see @ref overview_printing, wxPrintDialog, wxPageSetupDialog, wxPrintDialogData, wxPageSetupDialogData, @ref overview_cmndlg_print, @@ -661,7 +668,7 @@ public: /** Assigns print data to this object. */ - void operator =(const wxPrintData& data); + wxPrintData& operator =(const wxPrintData& data); }; @@ -674,7 +681,7 @@ public: settings. @library{wxcore} - @category{printing} + @category{printing,cmndlg,data} @see @ref overview_printing, wxPrintDialog, @ref overview_cmndlg_print */