mirror of https://github.com/odrling/Aegisub
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
|
@ -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 New Issue