Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@16375 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
96260c8b7d
commit
31d1ba340b
@ -1876,9 +1876,9 @@ static wxColour LighterColor(const wxColour& col, int percent = 20)
|
||||
void TwxOutlookBar::OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const
|
||||
{
|
||||
wxColour color1, color2;
|
||||
if (n == m_nHovering)
|
||||
if (n == (size_t)m_nHovering)
|
||||
{
|
||||
if (n == GetSelection())
|
||||
if (n == (size_t)GetSelection())
|
||||
{
|
||||
color1 = wxColour(232,127,8);
|
||||
color2 = wxColour(247,218,124);
|
||||
@ -1891,7 +1891,7 @@ void TwxOutlookBar::OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) con
|
||||
}
|
||||
else
|
||||
{
|
||||
if (n == GetSelection())
|
||||
if (n == (size_t)GetSelection())
|
||||
{
|
||||
color1 = wxColour(251,230,148); // Colori predefiniti di Outlook
|
||||
color2 = wxColour(238,149, 21);
|
||||
|
Loading…
x
Reference in New Issue
Block a user