From c9ecfbe4cdd27bd00d6ae2c43d45bbb863841d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 22 Aug 2004 20:27:54 +0000 Subject: [PATCH] center the icon vertically git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/logg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.45.2