mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +02:00
Bring back the inverted cursor for wxGTK3 built against GTK2
This commit is contained in:
parent
b68cbcd012
commit
ae47b4f3ef
@ -105,7 +105,7 @@ void AColor::Line(wxDC & dc, wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
|
|||||||
// last point since it is now based on the new wxGraphicsContext system.
|
// last point since it is now based on the new wxGraphicsContext system.
|
||||||
// Make the other platforms do the same thing since the other platforms
|
// Make the other platforms do the same thing since the other platforms
|
||||||
// "may" follow they get wxGraphicsContext going.
|
// "may" follow they get wxGraphicsContext going.
|
||||||
#if defined(__WXMAC__) || defined(__WXGTK__)
|
#if defined(__WXMAC__) || defined(__WXGTK3__)
|
||||||
dc.DrawLine(x1, y1, x2, y2);
|
dc.DrawLine(x1, y1, x2, y2);
|
||||||
#else
|
#else
|
||||||
bool point = false;
|
bool point = false;
|
||||||
@ -305,7 +305,7 @@ void AColor::CursorColor(wxDC * dc)
|
|||||||
{
|
{
|
||||||
if (!inited)
|
if (!inited)
|
||||||
Init();
|
Init();
|
||||||
#if defined(__WXMAC__) || defined(__WXGTK__)
|
#if defined(__WXMAC__) || defined(__WXGTK3__)
|
||||||
dc->SetLogicalFunction(wxCOPY);
|
dc->SetLogicalFunction(wxCOPY);
|
||||||
dc->SetPen(wxColor(0, 0, 0, 128));
|
dc->SetPen(wxColor(0, 0, 0, 128));
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user