X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/vidmode.h?ds=sidebyside diff --git a/include/wx/vidmode.h b/include/wx/vidmode.h index 3186f0e510..713beaeb3f 100644 --- a/include/wx/vidmode.h +++ b/include/wx/vidmode.h @@ -6,7 +6,7 @@ // 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 +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; }