X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c0f7642cccc72a0240b87814757debaadd3d44d..594f0f5bf1355fb8d58f403d3ebacc1c1767c429:/include/wx/msw/settings.h?ds=sidebyside diff --git a/include/wx/msw/settings.h b/include/wx/msw/settings.h index 1f16e900c2..4c7c1c3561 100644 --- a/include/wx/msw/settings.h +++ b/include/wx/msw/settings.h @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: settings.h +// Name: wx/msw/settings.h // Purpose: wxSystemSettings class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_SETTINGS_H_ @@ -16,23 +16,26 @@ #pragma interface "settings.h" #endif -#include "wx/setup.h" #include "wx/colour.h" #include "wx/font.h" -class WXDLLEXPORT wxSystemSettings: public wxObject +class WXDLLEXPORT wxSystemSettings : public wxObject { public: - inline wxSystemSettings(void) {} + wxSystemSettings() { } // Get a system colour - static wxColour GetSystemColour(int index); + static wxColour GetSystemColour(int index); // Get a system font - static wxFont GetSystemFont(int index); + static wxFont GetSystemFont(int index); // Get a system metric, e.g. scrollbar size - static int GetSystemMetric(int index); + static int GetSystemMetric(int index); + + // Return true if the port can draw frame titlebar (i.e. doesn't need wxUniv for it) + static bool HasFrameDecorations() { return TRUE; } + }; #endif