diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index 03ab0b5092..ef09f1e7d9 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -1557,10 +1557,7 @@ public: wxString& src_str ); // Checks system screen design used for laying out various dialogs. - static bool IsSmallScreen() - { - return wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA; - } + static bool IsSmallScreen(); /** Returns rectangle that fully contains properties between and including diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 27bc95b18a..4cef09ac8a 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -46,6 +46,7 @@ #include "wx/intl.h" #include "wx/frame.h" #include "wx/textctrl.h" + #include "wx/settings.h" #endif @@ -1842,6 +1843,13 @@ wxString& wxPropertyGrid::CreateEscapeSequences( wxString& dst_str, wxString& sr // ----------------------------------------------------------------------- +bool wxPropertyGrid::IsSmallScreen() +{ + return wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA; +} + +// ----------------------------------------------------------------------- + wxPGProperty* wxPropertyGrid::DoGetItemAtY( int y ) const { // Outside?