]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/oglmisc.cpp
Applied patch [ 845171 ] Use transparancy mask in wxBitmapShape
[wxWidgets.git] / contrib / src / ogl / oglmisc.cpp
index 0b0d9b83a2c86ca933dda4e4c556849230281da8..b0fdf825f7b51b165f469c37223157fff8f7f0cb 100644 (file)
@@ -360,7 +360,6 @@ void oglGetCentredTextExtent(wxDC& dc, wxList *text_list,
   long current_width = 0;
 
   wxNode *current = text_list->GetFirst();
-  int i = 0;
   while (current)
   {
     wxShapeTextLine *line = (wxShapeTextLine *)current->GetData();
@@ -369,7 +368,6 @@ void oglGetCentredTextExtent(wxDC& dc, wxList *text_list,
     if (current_width > max_width)
       max_width = current_width;
     current = current->GetNext();
-    i ++;
   }
 
   *actual_height = n*char_height;