projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
undid change accidentally committed as part of r57093 but which didn't have anything...
[wxWidgets.git]
/
include
/
wx
/
vidmode.h
diff --git
a/include/wx/vidmode.h
b/include/wx/vidmode.h
index c999eb7d86562c0940dcfe77b2711e1cdd442cc8..713beaeb3f29071a14e549498becff5007cfd25b 100644
(file)
--- a/
include/wx/vidmode.h
+++ b/
include/wx/vidmode.h
@@
-13,12
+13,11
@@
#define _WX_VMODE_H_
// ----------------------------------------------------------------------------
#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;
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; }
bool IsOk() const { return w && h; }
-protected:
-
// the screen size in pixels (e.g. 640*480), 0 means unspecified
int w, h;
// the screen size in pixels (e.g. 640*480), 0 means unspecified
int w, h;