summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-22 15:38:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-22 15:38:51 +0300
commit7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1 (patch)
treeca8ecc25a420c93944db3b9444acc1f68931efd5 /src/gui/widgets/window.h
parentba931a717cb5a2549ecdaa1f924dbbf5f896a21b (diff)
downloadmv-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.gz
mv-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.bz2
mv-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.xz
mv-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.zip
Add context menu into windows.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 2c4ee5e5f..dfd1f63b7 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -170,6 +170,9 @@ class Window : public BasicContainer2,
*/
void setCloseButton(const bool flag);
+ bool getCloseButton() const A_WARN_UNUSED
+ { return mCloseWindowButton; }
+
/**
* Returns whether the window can be resized.
*/