mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Merge remote branch 'refs/remotes/svn/trunk' into svn
This commit is contained in:
commit
5ccee900a0
@ -11,7 +11,7 @@
|
|||||||
#ifdef _WIN32_WINNT
|
#ifdef _WIN32_WINNT
|
||||||
#undef _WIN32_WINNT
|
#undef _WIN32_WINNT
|
||||||
#endif
|
#endif
|
||||||
#define _WIN32_WINNT 0x0400
|
#define _WIN32_WINNT 0x0500
|
||||||
#ifdef _WIN32_IE
|
#ifdef _WIN32_IE
|
||||||
#undef _WIN32_IE
|
#undef _WIN32_IE
|
||||||
#endif
|
#endif
|
||||||
|
2
ui.cpp
2
ui.cpp
@ -109,6 +109,8 @@ void SetItemTextColour(wxListCtrl* listCtrl, int nIndex, const wxColour& colour)
|
|||||||
// so don't want to set it unless it's different. Default colour has
|
// so don't want to set it unless it's different. Default colour has
|
||||||
// alpha 0 transparent, so our colours don't match using operator==.
|
// alpha 0 transparent, so our colours don't match using operator==.
|
||||||
wxColour c1 = listCtrl->GetItemTextColour(nIndex);
|
wxColour c1 = listCtrl->GetItemTextColour(nIndex);
|
||||||
|
if (!c1.IsOk())
|
||||||
|
c1 = wxColour(0,0,0);
|
||||||
if (colour.Red() != c1.Red() || colour.Green() != c1.Green() || colour.Blue() != c1.Blue())
|
if (colour.Red() != c1.Red() || colour.Green() != c1.Green() || colour.Blue() != c1.Blue())
|
||||||
listCtrl->SetItemTextColour(nIndex, colour);
|
listCtrl->SetItemTextColour(nIndex, colour);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user