Fix basic errors in 1af2b2bef65b133c9f56cb64007adc0aebad59aa
authorCarl Hetherington <cth@carlh.net>
Fri, 15 Jan 2021 11:50:20 +0000 (12:50 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 15 Jan 2021 11:50:20 +0000 (12:50 +0100)
src/wx/wx_util.cc

index 2bd64cc304f6b7ec5cb7ae8bcf496c68579e6b12..d20d755cf3a9a571945ae7353e15947ba1f878b6 100644 (file)
@@ -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;
                }