X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c15521c67eb8aba1994240262ba973aa11ef0086..9c34dd9deafaa428534b498b90799687a7dcddaa:/src/univ/button.cpp?ds=sidebyside diff --git a/src/univ/button.cpp b/src/univ/button.cpp index 6306d33ac5..4bde5f3b96 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -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) ) {