From 79c250d8d894b59fcd0644029fe9b7b2ed402339 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 22 Jul 2004 11:52:08 +0000 Subject: [PATCH] wxUSE_STATLINE fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/msgdlgg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 37e5a23f1e..d8f1bf5524 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -111,8 +111,10 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, topsizer->Add( icon_text, 1, wxCENTER | wxLEFT|wxRIGHT|wxTOP, 10 ); +#if wxUSE_STATLINE // 3) static line topsizer->Add( new wxStaticLine( this, wxID_ANY ), 0, wxEXPAND | wxLEFT|wxRIGHT|wxTOP, 10 ); +#endif // wxUSE_STATLINE // 4) buttons topsizer->Add( CreateButtonSizer( style & (wxOK|wxCANCEL|wxYES_NO|wxYES_DEFAULT|wxNO_DEFAULT) ), -- 2.45.2