wxsdefevthandler.cpp
来自「非常好用的可移植的多平台C/C++源代码编辑器」· C++ 代码 · 共 93 行
CPP
93 行
/*
#include "wxsdefevthandler.h"
#include "wxspropertiesman.h"
#include "widget.h"
#include "wxsevent.h"
#include "wxsmith.h"
#include "wxsdragwindow.h"
wxsDefEvtHandler::wxsDefEvtHandler(wxsWidget* Wdg):
Widget(Wdg), DragWindow(NULL), DragBoxSize(5), DragBoxVisible(true), DragBoxGray(false)
{
}
wxsDefEvtHandler::~wxsDefEvtHandler()
{
}
void wxsDefEvtHandler::OnLClick(wxMouseEvent& event)
{
wxsSelectWidget(Widget);
event.Skip();
}
void wxsDefEvtHandler::OnLDClick(wxMouseEvent& event)
{
event.Skip();
}
void wxsDefEvtHandler::OnActivate(wxActivateEvent& event)
{
}
void wxsDefEvtHandler::OnSetFocus(wxFocusEvent& event)
{
}
void wxsDefEvtHandler::OnKillFocus(wxFocusEvent& event)
{
}
void wxsDefEvtHandler::OnKeyDown(wxKeyEvent& event)
{
}
void wxsDefEvtHandler::OnKeyUp(wxKeyEvent& event)
{
}
void wxsDefEvtHandler::OnChar(wxKeyEvent& event)
{
}
void wxsDefEvtHandler::OnPaint(wxPaintEvent& event)
{
event.Skip();
}
void wxsDefEvtHandler::OnSize(wxSizeEvent& event)
{
event.Skip();
}
void wxsDefEvtHandler::OnMove(wxMoveEvent& event)
{
event.Skip();
}
BEGIN_EVENT_TABLE(wxsDefEvtHandler,wxEvtHandler)
EVT_LEFT_DOWN(wxsDefEvtHandler::OnLClick)
EVT_LEFT_DCLICK(wxsDefEvtHandler::OnLDClick)
EVT_ACTIVATE(wxsDefEvtHandler::OnActivate)
EVT_SET_FOCUS(wxsDefEvtHandler::OnSetFocus)
EVT_KILL_FOCUS(wxsDefEvtHandler::OnKillFocus)
EVT_KEY_DOWN(wxsDefEvtHandler::OnKeyDown)
EVT_KEY_UP(wxsDefEvtHandler::OnKeyUp)
EVT_CHAR(wxsDefEvtHandler::OnChar)
EVT_PAINT(wxsDefEvtHandler::OnPaint)
EVT_MOUSE_EVENTS(wxsDefEvtHandler::OnLDClick)
EVT_MOVE(wxsDefEvtHandler::OnMove)
EVT_SIZE(wxsDefEvtHandler::OnSize)
END_EVENT_TABLE()
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?