]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dialog.h
Use separate widget class for Dialog
[libs/gltk.git] / 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);