X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69fb24ce03b4dd40e7912936d628bea1719aaaa3..e908dbcc92dc55fa378e06d6ef10d18fd43ccf87:/include/wx/vidmode.h diff --git a/include/wx/vidmode.h b/include/wx/vidmode.h index c999eb7d86..713beaeb3f 100644 --- a/include/wx/vidmode.h +++ b/include/wx/vidmode.h @@ -13,12 +13,11 @@ #define _WX_VMODE_H_ // ---------------------------------------------------------------------------- -// wxVideoMode: a simple class containing video mode parameters for a display +// wxVideoMode: a simple struct containing video mode parameters for a display // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxVideoMode +struct WXDLLIMPEXP_CORE wxVideoMode { -public: wxVideoMode(int width = 0, int height = 0, int depth = 0, int freq = 0) { w = width; @@ -61,8 +60,6 @@ public: bool IsOk() const { return w && h; } -protected: - // the screen size in pixels (e.g. 640*480), 0 means unspecified int w, h;