]> git.tdb.fi Git - libs/gltk.git/commitdiff
Use separate widget class for Dialog
authorMikko Rasa <tdb@tdb.fi>
Mon, 16 Sep 2019 16:31:18 +0000 (19:31 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Sep 2019 16:31:18 +0000 (19:31 +0300)
source/dialog.h

index aa4380a8881f16f5a855f45bd6c7a0566c0542bb..f7ec239897caf9dbba03e482da60f348d0fd2adb 100644 (file)
@@ -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);