1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 06:38:38 +02:00

Add missing include.

This commit is contained in:
James Crook 2017-04-08 16:26:03 +01:00
parent 53e6d95cd0
commit c44e5a281a

View File

@ -61,6 +61,7 @@ and use it for toolbar and window layouts too.
#include <wx/ffile.h>
#include <wx/mstream.h>
#include <wx/msgdlg.h>
#include <wx/settings.h>
#include "Project.h"
#include "toolbars/ToolBar.h"
@ -339,7 +340,11 @@ void ThemeBase::RecolourBitmap( int iIndex, wxColour From, wxColour To )
void ThemeBase::RecolourTheme()
{
wxColour From = Colour( clrMedium );
#if defined( __WXGTK__ )
wxColour To = wxSystemSettings::GetColour( wxSYS_COLOUR_BACKGROUND );
#else
wxColour To = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
#endif
// only recolour if recolouring is slight.
int d =
abs( From.Red() - To.Red() )