Fix incorrect #ifdef definition
Fixes: lp:1811906 https://bugs.launchpad.net/kicad/+bug/1811906
This commit is contained in:
parent
d50bc6a85f
commit
cdadb48d84
|
@ -1,9 +1,9 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 Jean-Pierre Charras, jean-pierre.charras@gipsa-lab.inpg.fr
|
* Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2007 Wayne Stambaugh <stambaughw@gmail.com>
|
* Copyright (C) 2007 Wayne Stambaugh <stambaughw@gmail.com>
|
||||||
* Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1355,7 +1355,7 @@ void EDA_DRAW_PANEL::OnMouseEvent( wxMouseEvent& event )
|
||||||
|
|
||||||
lastPanel = this;
|
lastPanel = this;
|
||||||
|
|
||||||
#ifdef WXGTK3
|
#ifdef __WXGTK3__
|
||||||
// Screen has to be updated on every operation, otherwise the cursor leaves a trail (when xor
|
// Screen has to be updated on every operation, otherwise the cursor leaves a trail (when xor
|
||||||
// operation is changed to copy) or is not updated at all.
|
// operation is changed to copy) or is not updated at all.
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
Loading…
Reference in New Issue