]> git.saurik.com Git - wxWidgets.git/commitdiff
center the icon vertically
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 22 Aug 2004 20:27:54 +0000 (20:27 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 22 Aug 2004 20:27:54 +0000 (20:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index bb9ec867a3d7c3e71e73985937d45c4d69ab8319..06dd5b23cf37d07ee46c7f803097c6ba529e325e 100644 (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,