Merge pull request #1532 from RachelBryk/dot

Fix the red dot not showing up in input config when pointing right.
This commit is contained in:
skidau 2014-11-14 12:59:28 +11:00
commit 8af52f6c72
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ static void DrawControlGroupBox(wxDC &dc, ControlGroupBox *g)
} }
// adjusted dot // adjusted dot
if (x != 0 && y != 0) if (x != 0 || y != 0)
{ {
dc.SetPen(*wxRED_PEN); dc.SetPen(*wxRED_PEN);
dc.SetBrush(*wxRED_BRUSH); dc.SetBrush(*wxRED_BRUSH);