diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-16 15:16:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-16 15:16:11 +0100 |
| commit | e1e27c1301f42e0bd11fb9de5b1ebb8c7c6d0c8a (patch) | |
| tree | d483ca5afe0769eb544678454191eed6b38ba8eb /src | |
| parent | dfd636556b105775cee4f668d695a9d884ed2125 (diff) | |
Fix build failure due to warning about unused macOS-only method.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index d20d755cf..192724b13 100644 --- 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. |
