From 42b0c26e3cf35143482daaefbcb1f1c4b8c5f111 Mon Sep 17 00:00:00 2001 From: stephena Date: Thu, 2 May 2013 18:03:35 +0000 Subject: [PATCH] Oops, forgot to check this in with the last commit. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2715 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/gui/Dialog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Dialog.hxx b/src/gui/Dialog.hxx index eccf2e93d..63d6b2698 100644 --- a/src/gui/Dialog.hxx +++ b/src/gui/Dialog.hxx @@ -73,7 +73,7 @@ class Dialog : public GuiObject void addCancelWidget(Widget* w) { _cancelWidget = w; } void setFocus(Widget* w); - FBSurface& surface() { return *_surface; } + FBSurface& surface() const { return *_surface; } protected: virtual void draw();