wxWidgets/include/wx/unix/displayx11.h
Jouk Jansen ce07cd8a75 Committing in .
Changes to make compilations on OpenVMS work:
    displayx11.h : one semicolon removed, since it is not needed
    progdlgg.cpp : On some systems (like OpenVMS) unsigned types are realy
                   unsigned. So a comparison unsigned_var < 0 is always
                   false and causes unreacheable code, which is flagged
                   by the compiler. In this case a change from unsigned long
                   to long was more what was intended here.
 Modified Files:
 	wxWidgets/include/wx/unix/displayx11.h
 	wxWidgets/src/generic/progdlgg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 06:29:21 +00:00

53 lines
1.2 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: displayx11.h
// Purpose: wxDisplay class for Unix/X11
// Author: Brian Victor
// Modified by:
// Created: 12/05/02
// RCS-ID: $Id$
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DISPLAYX11_H_
#define _WX_DISPLAYX11_H_
#if wxUSE_DISPLAY
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "display.h"
#endif
class wxRect;
class wxString;
class wxDisplayUnixPriv;
class WXDLLEXPORT wxDisplay : public wxDisplayBase
{
public:
wxDisplay ( size_t index = 0 );
virtual wxRect GetGeometry() const;
virtual int GetDepth() const;
virtual wxString GetName() const;
virtual wxArrayVideoModes
GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
virtual wxVideoMode GetCurrentMode() const;
virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
~wxDisplay();
private:
wxDisplayUnixPriv *m_priv;
DECLARE_NO_COPY_CLASS(wxDisplay)
};
#endif // wxUSE_DISPLAY
#endif // _WX_GTK_DISPLAY_H_