⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wxsdefevthandler.cpp

📁 非常好用的可移植的多平台C/C++源代码编辑器
💻 CPP
字号:
/*
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -