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:
@@ -138,7 +138,7 @@ wxSize wxButton::DoGetBestClientSize() const
|
||||
|
||||
// for compatibility with other ports, the buttons default size is never
|
||||
// less than the standard one, but not when display not PDAs.
|
||||
if (wxSystemSettings::GetScreen() < wxSYS_SCREEN_PDA)
|
||||
if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
|
||||
{
|
||||
if ( !(GetWindowStyle() & wxBU_EXACTFIT) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user