#include <wx/wx.h>
#endif
+#if wxUSE_DEPRECATED
#include <wx/deprecated/wxexpr.h>
+#endif
#include <wx/ogl/basic.h>
#include <wx/ogl/basicp.h>
return maxN + 1;
}
-bool wxDividedShape::AttachmentIsValid(int attachment)
+bool wxDividedShape::AttachmentIsValid(int attachment) const
{
int totalNumberAttachments = (GetRegions().GetCount() * 2) + 2;
if (attachment >= totalNumberAttachments)