- virtual void button_release(int, int, unsigned);
- virtual void key_release(unsigned, unsigned);
+ /** Sets the modality of the dialog. When modal, the user can't navigate
+ away from the dialog. */
+ void set_modal(bool);
+
+ void button_release(int, int, unsigned) override;
+ bool key_release(unsigned, unsigned) override;
+ bool navigate(Navigation) override;