X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55176f44e2a86c3e894c7e17b1becdcfcacad054..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index fde92485c3..4e562c5968 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -66,16 +66,16 @@ class WXDLLEXPORT wxDisplayModeInfo { public: wxDisplayModeInfo() : m_ok(FALSE) {} - wxDisplayModeInfo(const wxSize& size, unsigned depth) - : m_size(size), m_depth(depth), m_ok(TRUE) {} + wxDisplayModeInfo(unsigned width, unsigned height, unsigned depth) + : m_width(width), m_height(height), m_depth(depth), m_ok(TRUE) {} - const wxSize& GetScreenSize() const { return m_size; } + unsigned GetWidth() const { return m_width; } + unsigned GetHeight() const { return m_height; } unsigned GetDepth() const { return m_depth; } bool IsOk() const { return m_ok; } private: - wxSize m_size; - unsigned m_depth; + unsigned m_width, m_height, m_depth; bool m_ok; }; #endif