No changes, just use helper wxColourToPalRGB() in wxMSW code.
This is shorter than writing out all wxColour components.
This commit is contained in:
@@ -1225,7 +1225,7 @@ wxColour wxListCtrl::GetTextColour() 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.Green(), col.Blue()));
|
ListView_SetTextColor(GetHwnd(), wxColourToPalRGB(col));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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