From 75be3f5ef787c2eb074ce305ad5aa0603c921b91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 13 Dec 1999 16:17:09 +0000 Subject: [PATCH] now survives compilation even if wxUSE_SASH == 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/sashwin.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index df44939ecb..ce5219a713 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -26,9 +26,7 @@ #include "wx/wx.h" #endif -#if !wxUSE_SASH - #error "Thisfile requires wxUSE_SASH to be defined." -#endif // wxUSE_SASH +#if wxUSE_SASH #include #include @@ -671,3 +669,4 @@ void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash) m_sashes[edge].m_margin = 0; } +#endif // wxUSE_SASH -- 2.45.2