X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdialog.h;h=f7ec239897caf9dbba03e482da60f348d0fd2adb;hb=7b070f07d7987396d8abe9cf45f1e8280886b20f;hp=aa4380a8881f16f5a855f45bd6c7a0566c0542bb;hpb=6d73e04329fc3752552773e4d11d7374caf779f6;p=libs%2Fgltk.git 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);