.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@15886 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2021-03-30 10:40:28 +00:00
parent 5d4811a721
commit fa78f3d9e0

View file

@ -9,7 +9,7 @@ struct MyApp : TopWindow {
PenInfo pen;
virtual bool Pen(Point p, const PenInfo& pn, dword keyflags) {
virtual bool Pen(Point p, const PenInfo& pn, dword keyflags) override {
if(keyflags & K_SHIFT)
return false; // let the message to be processed as mouse
if(pn.pressure) {
@ -31,7 +31,7 @@ struct MyApp : TopWindow {
}
}
virtual void Paint(Draw& w0) {
virtual void Paint(Draw& w0) override {
DrawPainter w(w0, GetSize());
w.Co();
w.Clear(SColorPaper());