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:
@@ -776,7 +776,8 @@ wxLogDialog::wxLogDialog(wxWindow *parent,
|
|||||||
default:
|
default:
|
||||||
wxFAIL_MSG(_T("incorrect log style"));
|
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();
|
const wxString& message = messages.Last();
|
||||||
sizerAll->Add(CreateTextSizer(message), 1,
|
sizerAll->Add(CreateTextSizer(message), 1,
|
||||||
|
Reference in New Issue
Block a user