]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Jan 2003 16:20:32 +0000 (16:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Jan 2003 16:20:32 +0000 (16:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index a3e4d598025fdaf20f10eb227379630255970718..9d120c8dac1a6d68b8c5b3fedc7b69b2a02614ee 100644 (file)
@@ -2027,7 +2027,8 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
 
         // and the width of the icon, if any
         static const int MARGIN_BETWEEN_TEXT_AND_ICON = 2;
-        int ix, iy;
+        int ix = 0,     // init them just to suppress the compiler warnings
+            iy = 0;
         const int image = item.m_image;
         wxImageListType *imageList;
         if ( image != -1 )