dpycmn.cpp
来自「A*算法 A*算法 A*算法 A*算法A*算法A*算法」· C++ 代码 · 共 53 行
CPP
53 行
///////////////////////////////////////////////////////////////////////////////
// Name: common/dpycmn.cpp
// Purpose: wxDisplayBase implementation
// Author: Vadim Zeitlin
// Modified by:
// Created: 01.03.03
// RCS-ID: $Id: dpycmn.cpp,v 1.10 2004/05/23 20:52:00 JS Exp $
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
// License: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// declarations
// ============================================================================
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "displaybase.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include "wx/display.h"
#if wxUSE_DISPLAY
#include "wx/arrimpl.cpp"
WX_DEFINE_OBJARRAY(wxArrayVideoModes);
const wxVideoMode wxDefaultVideoMode;
// ============================================================================
// implementation
// ============================================================================
wxDisplayBase::wxDisplayBase(size_t index)
: m_index (index)
{
wxASSERT_MSG( m_index < GetCount(),
wxT("An invalid index was passed to wxDisplay") );
}
#endif // wxUSE_DISPLAY
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?