summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-23 00:44:26 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-23 00:44:26 +0200
commitd573bfe799665504bde611c924bad36e437936cf (patch)
treeed5799e1b62134385a3a917d666e56dc23e4a32b /FL
parent6cc3eb32db192e5a0c2453cf0ea261e042dbf818 (diff)
FLUID: Adds grid child positioning via +/- keys
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Grid.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Grid.H b/FL/Fl_Grid.H
index 7abfa6362..d7d90e352 100644
--- a/FL/Fl_Grid.H
+++ b/FL/Fl_Grid.H
@@ -187,7 +187,7 @@ public:
Fl_Grid_Align align() const { return align_; }
void minimum_size(int w, int h) { if (w>=0) w_ = w; if (h>=0) h_ = h; }
- void minimum_size(int *w, int *h) { if (w) *w = w_; if (h) *h = h_; }
+ void minimum_size(int *w, int *h) const { if (w) *w = w_; if (h) *h = h_; }
}; // class Cell
private: