X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..9da483994bde8bad7d63a82ea06867ee8438d7ad:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index 90faa37833..dc52acc011 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -31,6 +31,8 @@ #include "wx/msw/private.h" +static int wx2msPenStyle(int wx_style); + IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject) wxPenRefData::wxPenRefData() @@ -142,8 +144,7 @@ bool wxPen::RealizeResource() return TRUE; } - COLORREF ms_colour = 0; - ms_colour = M_PENDATA->m_colour.GetPixel(); + COLORREF ms_colour = M_PENDATA->m_colour.GetPixel(); // Join style, Cap style, Pen Stippling only on Win32. // Currently no time to find equivalent on Win3.1, sorry