// headers
// ---------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dc.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
wxASSERT_MSG( points, wxT("NULL pointer to spline points?") );
const size_t n_points = points->GetCount();
- wxASSERT_MSG( n > 2 , wxT("incomplete list of spline points?") );
+ wxASSERT_MSG( n_points > 2 , wxT("incomplete list of spline points?") );
const size_t n_bezier_points = n_points * 3 + 1;
POINT *lppt = (POINT *)malloc(n_bezier_points*sizeof(POINT));
static int maxWidth = -1;
int fit = 0;
SIZE sz = {0,0};
- int stlen = text.Length();
+ int stlen = text.length();
if (maxLenText == -1)
{
wxLogLastError(_T("AlphaBlend"));
}
+#else
+ wxUnusedVar(hdcSrc);
#endif // defined(AC_SRC_OVER)
// AlphaBlend() unavailable of failed: use our own (probably much slower)