]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pen.cpp
Create the directories fo rthe .pch, etc. files if it doesn't exist.
[wxWidgets.git] / src / msw / pen.cpp
index 3149b72ecfa45aafafd583ca921d71846e537d76..e15f066eda4b8e9764423162d246891ca9eade46 100644 (file)
@@ -240,8 +240,7 @@ bool wxPen::RealizeResource()
            if (M_PENDATA->m_style==wxUSER_DASH && M_PENDATA->m_nbDash && M_PENDATA->m_dash)
            {
                real_dash = new wxMSWDash[M_PENDATA->m_nbDash];
-               int i, dsh;
-               for (i=0; i<M_PENDATA->m_nbDash; i++)
+               for ( int i = 0; i < M_PENDATA->m_nbDash; i++ )
                    real_dash[i] = M_PENDATA->m_dash[i] * M_PENDATA->m_width;
            }
            else