summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-15 12:50:20 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-15 12:50:20 +0100
commitbac6ee64d3302977144208a82a8b11824cb328dc (patch)
tree5d026675fd7d349097f5f66b4d4098102a727301 /src
parenteecd51ac6fe18e4fb74491064fd281898f7534f0 (diff)
Fix basic errors in 1af2b2bef65b133c9f56cb64007adc0aebad59aa
Diffstat (limited to 'src')
-rw-r--r--src/wx/wx_util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 2bd64cc30..d20d755cf 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -67,10 +67,11 @@ create_label (wxWindow* p, wxString t, bool)
static
+void
setup_osx_flags (wxSizer* s, bool left, int& flags)
{
if (left) {
- auto box = dynamic_cast<wxBoxSizer>(s);
+ auto box = dynamic_cast<wxBoxSizer*>(s);
if (!box || box->GetOrientation() != wxHORIZONTAL) {
flags |= wxALIGN_RIGHT;
}