1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00

Correct dialog background color on GTK

This commit is contained in:
Leland Lucius 2015-05-19 09:51:06 -05:00
parent 5c50b9ab6c
commit d0d8f37d85
2 changed files with 0 additions and 16 deletions

View File

@ -178,8 +178,6 @@ WX_DEFINE_OBJARRAY( EQCurveArray );
BEGIN_EVENT_TABLE(EffectEqualization, wxEvtHandler) BEGIN_EVENT_TABLE(EffectEqualization, wxEvtHandler)
EVT_SIZE( EffectEqualization::OnSize ) EVT_SIZE( EffectEqualization::OnSize )
EVT_PAINT( EffectEqualization::OnPaint )
EVT_ERASE_BACKGROUND( EffectEqualization::OnErase )
EVT_SLIDER( ID_Length, EffectEqualization::OnSliderM ) EVT_SLIDER( ID_Length, EffectEqualization::OnSliderM )
EVT_SLIDER( ID_dBMax, EffectEqualization::OnSliderDBMAX ) EVT_SLIDER( ID_dBMax, EffectEqualization::OnSliderDBMAX )
@ -2322,19 +2320,6 @@ void EffectEqualization::OnErase(wxEraseEvent & WXUNUSED(event))
// Ignore it // Ignore it
} }
void EffectEqualization::OnPaint(wxPaintEvent & event)
{
wxPaintDC dc(mUIParent);
#if defined(__WXGTK__)
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
#endif
dc.Clear();
event.Skip();
}
void EffectEqualization::OnSlider(wxCommandEvent & event) void EffectEqualization::OnSlider(wxCommandEvent & event)
{ {
wxSlider *s = (wxSlider *)event.GetEventObject(); wxSlider *s = (wxSlider *)event.GetEventObject();

View File

@ -163,7 +163,6 @@ private:
void OnSize( wxSizeEvent & event ); void OnSize( wxSizeEvent & event );
void OnErase( wxEraseEvent & event ); void OnErase( wxEraseEvent & event );
void OnPaint( wxPaintEvent & event );
void OnSlider( wxCommandEvent & event ); void OnSlider( wxCommandEvent & event );
void OnInterp( wxCommandEvent & event ); void OnInterp( wxCommandEvent & event );
void OnSliderM( wxCommandEvent & event ); void OnSliderM( wxCommandEvent & event );