Skip to content

Commit 78ae080

Browse files
committed
BAGEL: Add override keyword in dev_dlg
1 parent dfd6de3 commit 78ae080

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

engines/bagel/baglib/dev_dlg.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ class CDevDlg : public CBagStorageDevDlg {
4848
ErrorCode create(const char *bmp, CBofWindow *wnd, CBofPalette *pal, CBofRect *rect, bool useExtraFl = false);
4949
void paintText();
5050
void setText(CBofString &, CBofRect *);
51-
void onKeyHit(uint32 keyCode, uint32 repCount);
51+
void onKeyHit(uint32 keyCode, uint32 repCount) override;
5252

53-
virtual void onMouseMove(uint32 flags, CBofPoint *point, void * = nullptr);
54-
virtual void onLButtonUp(uint32 flags, CBofPoint *point, void * = nullptr);
55-
virtual void onClose();
56-
virtual ErrorCode onRender(CBofBitmap *bmp, CBofRect *rect = nullptr);
53+
void onMouseMove(uint32 flags, CBofPoint *point, void * = nullptr) override;
54+
void onLButtonUp(uint32 flags, CBofPoint *point, void * = nullptr) override;
55+
void onClose() override;
56+
ErrorCode onRender(CBofBitmap *bmp, CBofRect *rect = nullptr) override;
5757
};
5858

5959
} // namespace Bagel

0 commit comments

Comments
 (0)