summaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-03-20 11:30:12 +0100
committerSebastian Geerken <devnull@localhost>2014-03-20 11:30:12 +0100
commit350c0ccfe52f20afe7c3db1b33a0cff3292f4214 (patch)
tree14884cf479225347f1667538c6fc7917a9d63d17 /dw/fltkui.cc
parentbb2a8131e2e5506edef46f2ecc34f8b05679acf8 (diff)
parent443596beeec3243fdc69f53b1ca57d2810a5f0af (diff)
Merge with main repo.
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 803d0e26..bfc07528 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -1292,15 +1292,15 @@ int FltkOptionMenuResource::getNumberOfItems()
class CustBrowser : public Fl_Browser {
public:
CustBrowser(int x, int y, int w, int h) : Fl_Browser(x, y, w, h) {};
- int full_width();
- int full_height() {return Fl_Browser::full_height();}
+ int full_width() const;
+ int full_height() const {return Fl_Browser::full_height();}
int avg_height() {return size() ? Fl_Browser_::incr_height() : 0;}
};
/*
* Fl_Browser_ has a full_width(), but it has a tendency to contain 0, so...
*/
-int CustBrowser::full_width()
+int CustBrowser::full_width() const
{
int max = 0;
void *item = item_first();