center the icon vertically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-08-22 20:27:54 +00:00
parent ab86c659ac
commit c9ecfbe4cd

View File

@@ -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,