#ifndef WX_PRECOMP
#include "wx/colour.h"
#include "wx/font.h"
+ #include "wx/gdicmn.h"
+ #include "wx/module.h"
#endif
-#include "wx/gdicmn.h"
-#include "wx/module.h"
-
// ----------------------------------------------------------------------------
// global data
// ----------------------------------------------------------------------------
virtual bool OnInit() { return true; }
virtual void OnExit()
{
- delete gs_fontDefault;
- gs_fontDefault = NULL;
+ wxDELETE(gs_fontDefault);
}
private:
wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index))
{
- // not implemented, the mean is in wxUniversal
+ // overridden by wxSystemSettings::GetColour in wxUniversal
return wxColour(0,0,0);
}
case wxSYS_SCREEN_Y:
wxDisplaySize(NULL, &val);
return val;
- case wxSYS_VSCROLL_X:
- case wxSYS_HSCROLL_Y:
- return 15;
default:
{
}
switch (index)
{
case wxSYS_CAN_ICONIZE_FRAME:
- return false;
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+ case wxSYS_TABLET_PRESENT:
return false;
+
default:
- {
- }
+ wxFAIL_MSG( wxT("unknown feature") );
}
return false;