Fixed wxListCtrl::SetTextColour to set the RGB value instead of the
RBG value! (Green and Blue were swapped... I suppose if you are colour blind it wouldn't matter much.) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -741,7 +741,7 @@ wxColour wxListCtrl::GetTextColour(void) const
|
|||||||
// Sets the text colour of the listview
|
// Sets the text colour of the listview
|
||||||
void wxListCtrl::SetTextColour(const wxColour& col)
|
void wxListCtrl::SetTextColour(const wxColour& col)
|
||||||
{
|
{
|
||||||
ListView_SetTextColor(GetHwnd(), PALETTERGB(col.Red(), col.Blue(), col.Green()));
|
ListView_SetTextColor(GetHwnd(), PALETTERGB(col.Red(), col.Green(), col.Blue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gets the index of the topmost visible item when in
|
// Gets the index of the topmost visible item when in
|
||||||
|
Reference in New Issue
Block a user