accel.cpp
来自「A*算法 A*算法 A*算法 A*算法A*算法A*算法」· C++ 代码 · 共 98 行
CPP
98 行
/////////////////////////////////////////////////////////////////////////////
// Name: src/palmos/accel.cpp
// Purpose: wxAcceleratorTable
// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
// RCS-ID: $Id: accel.cpp,v 1.2 2005/01/21 21:03:59 ABX Exp $
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "accel.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/window.h"
#endif
#include "wx/accel.h"
#if wxUSE_ACCEL
#include "wx/palmos/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
{
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
~wxAcceleratorRefData();
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
HACCEL m_hAccel;
bool m_ok;
DECLARE_NO_COPY_CLASS(wxAcceleratorRefData)
};
#define M_ACCELDATA ((wxAcceleratorRefData *)m_refData)
wxAcceleratorRefData::wxAcceleratorRefData()
{
}
wxAcceleratorRefData::~wxAcceleratorRefData()
{
}
wxAcceleratorTable::wxAcceleratorTable()
{
}
wxAcceleratorTable::~wxAcceleratorTable()
{
}
wxAcceleratorTable::wxAcceleratorTable(const wxString& resource)
{
}
extern int wxCharCodeWXToMSW(int id, bool *isVirtual);
wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[])
{
}
bool wxAcceleratorTable::Ok() const
{
return false;
}
void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
{
}
WXHACCEL wxAcceleratorTable::GetHACCEL() const
{
return 0;
}
bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const
{
return false;
}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?