changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,10 +46,10 @@ public:
|
||||
const wxColour& GetColour() const { return m_dataColour; }
|
||||
wxColour& GetColour() { return m_dataColour; }
|
||||
|
||||
// These functions modify colours in an internal array of NUM_CUSTOM custom
|
||||
// colours
|
||||
// SetCustomColour() modifies colours in an internal array of NUM_CUSTOM
|
||||
// custom colours;
|
||||
void SetCustomColour(int i, const wxColour& colour);
|
||||
wxColour GetCustomColour(int i);
|
||||
wxColour GetCustomColour(int i) const;
|
||||
|
||||
// Serialize the object to a string and restore it from it
|
||||
wxString ToString() const;
|
||||
|
Reference in New Issue
Block a user