X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fedec9812667b3f11c40d7d9be1e2e1c71ab41fa..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/vidmode.h diff --git a/include/wx/vidmode.h b/include/wx/vidmode.h index 70853dc500..713beaeb3f 100644 --- a/include/wx/vidmode.h +++ b/include/wx/vidmode.h @@ -5,7 +5,7 @@ // Modified by: // Created: 27.09.2003 (extracted from wx/display.h) // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -16,7 +16,7 @@ // wxVideoMode: a simple struct containing video mode parameters for a display // ---------------------------------------------------------------------------- -struct WXDLLEXPORT wxVideoMode +struct WXDLLIMPEXP_CORE wxVideoMode { wxVideoMode(int width = 0, int height = 0, int depth = 0, int freq = 0) { @@ -54,6 +54,7 @@ struct WXDLLEXPORT wxVideoMode int GetWidth() const { return w; } int GetHeight() const { return h; } int GetDepth() const { return bpp; } + int GetRefresh() const { return refresh; } // returns true if the object has been initialized bool IsOk() const { return w && h; }