]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pen.cpp
fixes for page positioning for notebooks with wxNB_MULTILINE style (closes bugs 70909...
[wxWidgets.git] / src / msw / pen.cpp
index 90faa37833e8e2699e9ac81dee84ede2ec991ecb..cc3ae705aac3b8b9ade9a8d4e9f051849a3e7d89 100644 (file)
@@ -142,8 +142,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