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:
Niels Martin Hansen 2007-09-21 21:17:08 +00:00
parent a36a60375e
commit d996c5f489

View file

@ -63,10 +63,16 @@
#endif #endif
#ifdef __WXMAC__
# define AudioDisplayWindowStyle wxWANTS_CHARS
#else
# define AudioDisplayWindowSTyle wxSUNKEN_BORDER | wxWANTS_CHARS
#endif
/////////////// ///////////////
// Constructor // Constructor
AudioDisplay::AudioDisplay(wxWindow *parent) 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 // Set variables
origImage = NULL; origImage = NULL;