X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdialog.h;h=f7ec239897caf9dbba03e482da60f348d0fd2adb;hb=8380bd43b904300ad59fd4ef3824d4609a71d709;hp=aa4380a8881f16f5a855f45bd6c7a0566c0542bb;hpb=5bb0cc92a28a7862571249a2512bcd23ed272344;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);