Remove sunken border from audio display on wxMac, this avoids some graphical glitches, and it really also looks better.
Originally committed to SVN as r1570.
This commit is contained in:
parent
a36a60375e
commit
d996c5f489
1 changed files with 7 additions and 1 deletions
|
@ -63,10 +63,16 @@
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef __WXMAC__
|
||||
# define AudioDisplayWindowStyle wxWANTS_CHARS
|
||||
#else
|
||||
# define AudioDisplayWindowSTyle wxSUNKEN_BORDER | wxWANTS_CHARS
|
||||
#endif
|
||||
|
||||
///////////////
|
||||
// Constructor
|
||||
AudioDisplay::AudioDisplay(wxWindow *parent)
|
||||
: wxWindow (parent, -1, wxDefaultPosition, wxSize(200,Options.AsInt(_T("Audio Display Height"))), wxSUNKEN_BORDER | wxWANTS_CHARS , _T("Audio Display"))
|
||||
: wxWindow (parent, -1, wxDefaultPosition, wxSize(200,Options.AsInt(_T("Audio Display Height"))), AudioDisplayWindowStyle , _T("Audio Display"))
|
||||
{
|
||||
// Set variables
|
||||
origImage = NULL;
|
||||
|
|
Loading…
Reference in a new issue