From: Mikko Rasa Date: Mon, 16 Sep 2019 16:31:18 +0000 (+0300) Subject: Use separate widget class for Dialog X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=8380bd43b904300ad59fd4ef3824d4609a71d709;hp=5bb0cc92a28a7862571249a2512bcd23ed272344;p=libs%2Fgltk.git Use separate widget class for Dialog --- diff --git a/source/dialog.h b/source/dialog.h index aa4380a..f7ec239 100644 --- a/source/dialog.h +++ b/source/dialog.h @@ -31,6 +31,8 @@ private: public: Dialog(); + virtual const char *get_class() const { return "dialog"; } + /** Adds an action button to the dialog. Pressing the button will invoke response handlers and delete the dialog. */ void add_button(Button &, int);