mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 17:10:05 +02:00
Completion of FocusRect fix.
Fix is needed on Mac too.
This commit is contained in:
parent
d2187b42cc
commit
b24560a134
@ -179,13 +179,14 @@ void AColor::DrawFocus(wxDC & dc, wxRect & rect)
|
|||||||
// Why must this be different?
|
// Why must this be different?
|
||||||
// Otherwise nothing is visible if you do as for the
|
// Otherwise nothing is visible if you do as for the
|
||||||
// other platforms.
|
// other platforms.
|
||||||
dc.SetPen(wxPen(wxT("MEDIUM GREY"), 1, wxSOLID));
|
UseThemeColour( &dc, clrTrackPanelText );
|
||||||
|
|
||||||
|
//dc.SetPen(wxPen(wxT("MEDIUM GREY"), 1, wxSOLID));
|
||||||
//dc.SetLogicalFunction(wxCOPY);
|
//dc.SetLogicalFunction(wxCOPY);
|
||||||
#else
|
#else
|
||||||
UseThemeColour( &dc, clrTrackPanelText );
|
UseThemeColour( &dc, clrTrackPanelText );
|
||||||
//dc.SetPen(wxPen(wxT("MEDIUM GREY"), 0, wxSOLID));
|
|
||||||
|
|
||||||
|
//dc.SetPen(wxPen(wxT("MEDIUM GREY"), 0, wxSOLID));
|
||||||
// this seems to be closer than what Windows does than wxINVERT although
|
// this seems to be closer than what Windows does than wxINVERT although
|
||||||
// I'm still not sure if it's correct
|
// I'm still not sure if it's correct
|
||||||
//dc.SetLogicalFunction(wxAND_REVERSE);
|
//dc.SetLogicalFunction(wxAND_REVERSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user