]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
Speedup for adding array of items.
[wxWidgets.git] / src / generic / dcpsg.cpp
index 63d3c4bbab4447e3e8fe25cb6250a1df8a5064df..d1d7bd66d8162377b8272b69c09c13c573a23fc6 100644 (file)
@@ -1075,7 +1075,6 @@ void wxPostScriptDC::SetPen( const wxPen& pen )
         double bluePS = (double)(blue) / 255.0;
         double greenPS = (double)(green) / 255.0;
 
-        char buffer[100];
         sprintf( buffer,
             "%.8f %.8f %.8f setrgbcolor\n",
             redPS, greenPS, bluePS );
@@ -1352,7 +1351,6 @@ void wxPostScriptDC::DoDrawRotatedText( const wxString& text, wxCoord x, wxCoord
     {
         wxCoord uy = (wxCoord)(y + size - m_underlinePosition);
         wxCoord w, h;
-        char buffer[100];
         GetTextExtent(text, &w, &h);
 
         sprintf( buffer,