Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,16 +49,16 @@ wxSystemScreenType wxSystemSettings::GetScreenType()
|
||||
int x = GetMetric( wxSYS_SCREEN_X );
|
||||
|
||||
ms_screen = wxSYS_SCREEN_DESKTOP;
|
||||
|
||||
|
||||
if (x < 800)
|
||||
ms_screen = wxSYS_SCREEN_SMALL;
|
||||
|
||||
|
||||
if (x < 640)
|
||||
ms_screen = wxSYS_SCREEN_PDA;
|
||||
|
||||
|
||||
if (x < 200)
|
||||
ms_screen = wxSYS_SCREEN_TINY;
|
||||
|
||||
|
||||
// This is probably a bug, but VNC seems to report 0
|
||||
if (x < 10)
|
||||
ms_screen = wxSYS_SCREEN_DESKTOP;
|
||||
@@ -66,7 +66,7 @@ wxSystemScreenType wxSystemSettings::GetScreenType()
|
||||
|
||||
return ms_screen;
|
||||
}
|
||||
|
||||
|
||||
void wxSystemSettings::SetScreenType( wxSystemScreenType screen )
|
||||
{
|
||||
ms_screen = screen;
|
||||
|
||||
Reference in New Issue
Block a user