X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..f83a9705cd1c82b7aad030890b7f88748b0e6101:/include/wx/vidmode.h diff --git a/include/wx/vidmode.h b/include/wx/vidmode.h index 3186f0e510..550bb3b4bc 100644 --- a/include/wx/vidmode.h +++ b/include/wx/vidmode.h @@ -4,9 +4,8 @@ // Author: Vadim Zeitlin // Modified by: // Created: 27.09.2003 (extracted from wx/display.h) -// RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_VMODE_H_ @@ -16,7 +15,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 +53,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; }