]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
centralized the handling of border styles; added borders support for wxListBox and...
[wxWidgets.git] / src / generic / dcpsg.cpp
index d9c6a9800a0cbf70efc6ff0b13522c866ed19771..ff50f091200aae35f2bd34c6da71bbf97072b747 100644 (file)
@@ -879,7 +879,7 @@ void wxPostScriptDC::DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y,
     //rows
     for (int j = 0; j < h; j++)
     {
-        char* bufferindex = buffer;
+        char* bufferindex = buffer.data();
 
         //cols
         for (int i = 0; i < w*3; i++)