X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69fb24ce03b4dd40e7912936d628bea1719aaaa3..058f225a44d83d42ba9d773efc705badbf0e5e3c:/include/wx/vidmode.h?ds=sidebyside 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;