Core, CtrlLib, RichEdit, ide: Fix warnigns on macOS. (#336)

This commit is contained in:
Zbigniew Rębacz 2026-01-12 08:18:05 +01:00 committed by GitHub
parent 61a62676ed
commit 1596195267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 20 deletions

View file

@ -70,12 +70,6 @@ void PaintBasicHints(Ctrl *ctrl, Draw& w, const Rect& cr, const char *qtf, const
r.tm = msecs();
}
typedef bool (*MouseHook)(Ctrl *ctrl, bool inframe, int event, Point p,
int zdelta, dword keyflags);
typedef bool (*KeyHook)(Ctrl *ctrl, dword key, int count);
typedef bool (*StateHook)(Ctrl *ctrl, int reason);
typedef void (*PaintHook)(Ctrl *ctrl, Draw& draw, const Rect& clip);
static auto Stop = [](bool testmousepos = false) {
int tm = msecs();
Point mousepos;