Cosmetic changes to wxSS::GetScreen:

1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
   'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-05-19 22:44:27 +00:00
parent 92432aa111
commit 41fecb4451
8 changed files with 50 additions and 49 deletions

View File

@@ -36,12 +36,12 @@
// static data
// ----------------------------------------------------------------------------
wxSystemScreen wxSystemSettings::ms_screen = wxSYS_SCREEN_NONE;
wxSystemScreenType wxSystemSettings::ms_screen = wxSYS_SCREEN_NONE;
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
wxSystemScreen wxSystemSettings::GetScreen()
wxSystemScreenType wxSystemSettings::GetScreenType()
{
if (ms_screen == wxSYS_SCREEN_NONE)
#ifndef __WXUNIV__
@@ -72,7 +72,7 @@ wxSystemScreen wxSystemSettings::GetScreen()
return ms_screen;
}
void wxSystemSettings::SetScreen( wxSystemScreen screen )
void wxSystemSettings::SetScreenType( wxSystemScreenType screen )
{
ms_screen = screen;
}