From: Václav Slavík Date: Sun, 22 Aug 2004 20:27:54 +0000 (+0000) Subject: center the icon vertically X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9ecfbe4cdd27bd00d6ae2c43d45bbb863841d6c center the icon vertically git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index bb9ec867a3..06dd5b23cf 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -776,7 +776,8 @@ wxLogDialog::wxLogDialog(wxWindow *parent, default: wxFAIL_MSG(_T("incorrect log style")); } - sizerAll->Add(new wxStaticBitmap(this, wxID_ANY, bitmap), 0); + sizerAll->Add(new wxStaticBitmap(this, wxID_ANY, bitmap), 0, + wxALIGN_CENTRE_VERTICAL); const wxString& message = messages.Last(); sizerAll->Add(CreateTextSizer(message), 1,