enum wxSystemFeature
{
wxSYS_CAN_DRAW_FRAME_DECORATIONS = 1,
- wxSYS_CAN_ICONIZE_FRAME
+ wxSYS_CAN_ICONIZE_FRAME,
+ wxSYS_TABLET_PRESENT
};
//---------------------------------------------------------------------------
+MustHaveApp(wxSystemSettings::GetColour);
+MustHaveApp(wxSystemSettings::GetFont);
+MustHaveApp(wxSystemSettings::GetMetric);
+MustHaveApp(wxSystemSettings::HasFeature);
+MustHaveApp(wxSystemSettings::GetScreenType);
+MustHaveApp(wxSystemSettings::SetScreenType);
class wxSystemSettings
{
static wxFont GetFont(wxSystemFont index);
// get a system-dependent metric
- static int GetMetric(wxSystemMetric index);
+ static int GetMetric(wxSystemMetric index, wxWindow* win=NULL);
// return True if the port has certain feature
static bool HasFeature(wxSystemFeature index);
//---------------------------------------------------------------------------
+MAKE_CONST_WXSTRING(WINDOW_DEFAULT_VARIANT);
+
class wxSystemOptions : public wxObject
{
public:
// to implement SetSystemColour/Font/Metric
static void SetOption(const wxString& name, const wxString& value);
- %name(SetOptionInt) static void SetOption(const wxString& name, int value);
+ %Rename(SetOptionInt, static void, SetOption(const wxString& name, int value));
static wxString GetOption(const wxString& name) ;
static int GetOptionInt(const wxString& name) ;
static bool HasOption(const wxString& name) ;
+ static bool IsFalse(const wxString& name);
};