]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pen.cpp
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / src / msw / pen.cpp
index 90faa37833e8e2699e9ac81dee84ede2ec991ecb..dc52acc011feda35dc78dabfc112862c1b3e9d64 100644 (file)
@@ -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