mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-29 14:48:39 +02:00
Add missing include.
This commit is contained in:
parent
53e6d95cd0
commit
c44e5a281a
@ -61,6 +61,7 @@ and use it for toolbar and window layouts too.
|
|||||||
#include <wx/ffile.h>
|
#include <wx/ffile.h>
|
||||||
#include <wx/mstream.h>
|
#include <wx/mstream.h>
|
||||||
#include <wx/msgdlg.h>
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/settings.h>
|
||||||
|
|
||||||
#include "Project.h"
|
#include "Project.h"
|
||||||
#include "toolbars/ToolBar.h"
|
#include "toolbars/ToolBar.h"
|
||||||
@ -339,7 +340,11 @@ void ThemeBase::RecolourBitmap( int iIndex, wxColour From, wxColour To )
|
|||||||
void ThemeBase::RecolourTheme()
|
void ThemeBase::RecolourTheme()
|
||||||
{
|
{
|
||||||
wxColour From = Colour( clrMedium );
|
wxColour From = Colour( clrMedium );
|
||||||
|
#if defined( __WXGTK__ )
|
||||||
|
wxColour To = wxSystemSettings::GetColour( wxSYS_COLOUR_BACKGROUND );
|
||||||
|
#else
|
||||||
wxColour To = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
|
wxColour To = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
|
||||||
|
#endif
|
||||||
// only recolour if recolouring is slight.
|
// only recolour if recolouring is slight.
|
||||||
int d =
|
int d =
|
||||||
abs( From.Red() - To.Red() )
|
abs( From.Red() - To.Red() )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user