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:
@@ -26,9 +26,7 @@
|
|||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !wxUSE_SASH
|
#if wxUSE_SASH
|
||||||
#error "Thisfile requires wxUSE_SASH to be defined."
|
|
||||||
#endif // wxUSE_SASH
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -671,3 +669,4 @@ void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash)
|
|||||||
m_sashes[edge].m_margin = 0;
|
m_sashes[edge].m_margin = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_SASH
|
||||||
|
Reference in New Issue
Block a user