projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecd51a
)
Fix basic errors in 1af2b2bef65b133c9f56cb64007adc0aebad59aa
author
Carl Hetherington
<cth@carlh.net>
Fri, 15 Jan 2021 11:50:20 +0000
(12:50 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 15 Jan 2021 11:50:20 +0000
(12:50 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 2bd64cc304f6b7ec5cb7ae8bcf496c68579e6b12..d20d755cf3a9a571945ae7353e15947ba1f878b6 100644
(file)
--- 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;
}