#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;
bool IsOk() const { return w && h; }
-protected:
-
// the screen size in pixels (e.g. 640*480), 0 means unspecified
int w, h;