diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-09-30 23:54:15 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-09-30 23:54:15 +0000 |
commit | 178152f604aed37df703336344ff334e6d0fd244 (patch) | |
tree | 3b946210b1063f734ace7e9ed255e88e8a7c48f4 | |
parent | a790fa46f40d751307f86c37a709eb119768ce5b (diff) |
fixed linux build,v0.3.13
dkaparis: _WIN32_WINNT 0x500
-- version 0.3.13 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@159 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r-- | headers.h | 2 | ||||
-rw-r--r-- | ui.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -11,7 +11,7 @@ #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif -#define _WIN32_WINNT 0x0400 +#define _WIN32_WINNT 0x0500 #ifdef _WIN32_IE #undef _WIN32_IE #endif @@ -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 // alpha 0 transparent, so our colours don't match using operator==. 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()) listCtrl->SetItemTextColour(nIndex, colour); } |