summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 01519e271..1e1caa6cd 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -396,7 +396,7 @@ class Window : public gcn::Window, private gcn::WidgetListener
gcn::Rectangle getWindowArea() const;
- bool isResizeAllowed(const gcn::MouseEvent &event);
+ bool isResizeAllowed(const gcn::MouseEvent &event) const;
void setCaptionFont(gcn::Font *font)
{ mCaptionFont = font; }
@@ -426,8 +426,6 @@ class Window : public gcn::Window, private gcn::WidgetListener
CLOSE = 0x10
};
- const int resizeMask = 8 + 4 + 2 + 1;
-
/**
* Ensures the window is on the screen, moving it if necessary. This is
* used by loadWindowState and setVisible(true), and when the screen