X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfeb83fd7f4b8903b09f7d233a6d3b7edb57ca9e..fed628b632d8ae95efded1f6a6894573c7a76bef:/src/generic/sashwin.cpp?ds=sidebyside 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