Implement wxColourDisplay() in terms of wxDisplay::GetDepth()

Get rid of another global display-related function, even though this one
only had non-trivial implementation under MSW.
This commit is contained in:
Vadim Zeitlin
2018-10-06 16:14:45 +02:00
parent 382404f0a7
commit e3e883bbd2
10 changed files with 11 additions and 62 deletions

View File

@@ -225,12 +225,6 @@ void wxGetMousePosition( int* x, int* y )
#endif
}
// Return true if we have a colour display
bool wxColourDisplay()
{
return wxDisplayDepth() > 1;
}
void wxDisplaySizeMM(int *width, int *height)
{
Display *dpy = wxGlobalDisplay();