X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b62f00d8e3ec5437ab780cb3d73d299cc61e20c..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/wxPython/src/windows2.i diff --git a/wxPython/src/windows2.i b/wxPython/src/windows2.i index 8be7dabf60..cfddb6a4d3 100644 --- a/wxPython/src/windows2.i +++ b/wxPython/src/windows2.i @@ -19,6 +19,7 @@ #endif #include #include +#include #ifdef __WXMSW__ #include #endif @@ -58,9 +59,9 @@ public: void SetTextValue(const wxString& str); wxFont& GetFont(); void SetFont(wxFont& f); - wxColour& GetTextColour(); + wxColour GetTextColour(); void SetTextColour(const wxColour& colour); - wxColour& GetBackgroundColour(); + wxColour GetBackgroundColour(); void SetBackgroundColour(const wxColour& colour); wxBrush& GetBackgroundBrush(); int GetAlignment(); @@ -121,7 +122,7 @@ public: wxGridCell* GetCell(int row, int col); int GetCellAlignment(int row, int col); %name(GetDefCellAlignment)int GetCellAlignment(); - wxColour& GetCellBackgroundColour(int row, int col); + wxColour GetCellBackgroundColour(int row, int col); %name(GetDefCellBackgroundColour) wxColour& GetCellBackgroundColour(); //wxGridCell *** GetCells(); @@ -147,7 +148,7 @@ public: return rows; } } - wxColour& GetCellTextColour(int row, int col); + wxColour GetCellTextColour(int row, int col); %name(GetDefCellTextColour)wxColour& GetCellTextColour(); wxFont& GetCellTextFont(int row, int col); %name(GetDefCellTextFont)wxFont& GetCellTextFont(); @@ -160,9 +161,9 @@ public: bool GetEditable(); wxScrollBar * GetHorizScrollBar(); int GetLabelAlignment(int orientation); - wxColour& GetLabelBackgroundColour(); + wxColour GetLabelBackgroundColour(); int GetLabelSize(int orientation); - wxColour& GetLabelTextColour(); + wxColour GetLabelTextColour(); wxFont& GetLabelTextFont(); wxString& GetLabelValue(int orientation, int pos); int GetRowHeight(int row);