From: Robin Dunn Date: Mon, 20 May 2002 20:33:21 +0000 (+0000) Subject: wxSystemScreen --> wxSystemScreenType X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12bfbb29f615685bd857d5441fbb3cd839bdd1dc wxSystemScreen --> wxSystemScreenType git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/misc2.i b/wxPython/src/misc2.i index ddcb749eb3..6cdc0f4b7f 100644 --- a/wxPython/src/misc2.i +++ b/wxPython/src/misc2.i @@ -303,14 +303,14 @@ enum wxSystemFeature wxSYS_CAN_ICONIZE_FRAME }; -// values for different screen designs -enum wxSystemScreen +enum wxSystemScreenType { wxSYS_SCREEN_NONE = 0, // not yet defined - wxSYS_SCREEN_DESKTOP, // >= 800x600 - wxSYS_SCREEN_SMALL, // >= 640x480 + + wxSYS_SCREEN_TINY, // < wxSYS_SCREEN_PDA, // >= 320x240 - wxSYS_SCREEN_TINY // < + wxSYS_SCREEN_SMALL, // >= 640x480 + wxSYS_SCREEN_DESKTOP // >= 800x600 }; @@ -330,10 +330,10 @@ public: // Get system screen design (desktop, pda, ..) used for // laying out various dialogs. - static wxSystemScreen GetScreen(); + static wxSystemScreenType GetScreenType(); // Override default. - static void SetScreen( wxSystemScreen screen ); + static void SetScreenType( wxSystemScreenType screen ); };