summaryrefslogtreecommitdiff
path: root/src/wx/content_widget.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-08 19:31:28 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 19:31:28 +0100
commit83a78961d8fbd336361f573c6d9efde720f9c0c0 (patch)
tree5dc886a715334e3d76d19d60b06e817147d0f9fa /src/wx/content_widget.h
parentaffe77ecf29d77dabee1538551ef78ee0ed89d0c (diff)
Fix crop control alignment on macOS (#1864).
Diffstat (limited to 'src/wx/content_widget.h')
-rw-r--r--src/wx/content_widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h
index 52a5e5851..6505d08da 100644
--- a/src/wx/content_widget.h
+++ b/src/wx/content_widget.h
@@ -117,12 +117,12 @@ public:
}
/** Add this widget to a wxGridBagSizer */
- void add (wxGridBagSizer* sizer, wxGBPosition position, wxGBSpan span = wxDefaultSpan)
+ void add (wxGridBagSizer* sizer, wxGBPosition position, wxGBSpan span = wxDefaultSpan, int flag = 0)
{
_sizer = sizer;
_position = position;
_span = span;
- _sizer->Add (_wrapped, _position, _span);
+ _sizer->Add (_wrapped, _position, _span, flag);
}
/** Update the view from the model */