projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd6365
)
Fix build failure due to warning about unused macOS-only method.
author
Carl Hetherington
<cth@carlh.net>
Sat, 16 Jan 2021 14:16:11 +0000
(15:16 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 16 Jan 2021 14:16:11 +0000
(15:16 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index d20d755cf3a9a571945ae7353e15947ba1f878b6..192724b13328ba496a87ab38198b14da71efe16e 100644
(file)
--- a/
src/wx/wx_util.cc
+++ b/
src/wx/wx_util.cc
@@
-66,6
+66,7
@@
create_label (wxWindow* p, wxString t, bool)
}
+#ifdef __WXOSX__
static
void
setup_osx_flags (wxSizer* s, bool left, int& flags)
@@
-77,6
+78,7
@@
setup_osx_flags (wxSizer* s, bool left, int& flags)
}
}
}
+#endif
/** Add a wxStaticText to a wxSizer, aligning it at vertical centre.