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
This commit is contained in:
Václav Slavík
1999-12-13 16:17:09 +00:00
parent 60be2f47e1
commit 75be3f5ef7

View File

@@ -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 <math.h>
#include <stdlib.h>
@@ -671,3 +669,4 @@ void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash)
m_sashes[edge].m_margin = 0;
}
#endif // wxUSE_SASH