Fix PCH-less build after cb6efbd.

Add missing wx/settings.h inclusion.
This commit is contained in:
Artur Wieczorek 2015-06-09 18:03:56 +02:00
parent aeed3322f2
commit c9417c41f5
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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?