fix typo in wx_dc for Windows

svn: r7437
This commit is contained in:
Matthew Flatt 2007-10-06 11:24:13 +00:00
parent 92c1509dfe
commit 5a22fa9a16
2 changed files with 3 additions and 2 deletions

View File

@ -2849,7 +2849,7 @@ void wxDC::GetSizeMM(double *width, double *height)
void wxDC::SetAlpha(double a)
{
wxbDC:::SetAlpha(a);
wxbDC::SetAlpha(a);
}
wxCanvasDC::wxCanvasDC(void)

View File

@ -792,7 +792,8 @@ Pen *wxPen::GraphicsPen(Bool align, double xs)
if (const_pen)
return const_pen->GraphicsPen(align, xs);
if (align || !g_p) {
if ((!align && !g_p)
|| (align && !a_g_p)) {
Pen *p;
double pw;
REAL offset, *dashes;