X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fdialog.h;fp=source%2Fdialog.h;h=285478ebb570ddead2d12deae299805dd595ecee;hp=e71222739cc415acf1876f3e1f3e60a560f11752;hb=d10d1de6d17c285c63d7b3cea549017aaa1ddb01;hpb=83f553a382ce554951594de85e4fd7b854305463 diff --git a/source/dialog.h b/source/dialog.h index e712227..285478e 100644 --- a/source/dialog.h +++ b/source/dialog.h @@ -30,7 +30,7 @@ private: bool stale = false; public: - virtual const char *get_class() const { return "dialog"; } + const char *get_class() const override { return "dialog"; } /** Adds an action button to the dialog. Pressing the button will invoke response handlers and delete the dialog. */ @@ -40,9 +40,9 @@ public: away from the dialog. */ void set_modal(bool); - virtual void button_release(int, int, unsigned); - virtual bool key_release(unsigned, unsigned); - virtual bool navigate(Navigation); + void button_release(int, int, unsigned) override; + bool key_release(unsigned, unsigned) override; + bool navigate(Navigation) override; protected: void response(int); void check_stale();