]> git.saurik.com Git - wxWidgets.git/commitdiff
Default construcctor for Iterator
authorRobin Dunn <robin@alldunn.com>
Fri, 25 Aug 2006 03:19:06 +0000 (03:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 25 Aug 2006 03:19:06 +0000 (03:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/rawbmp.h

index f9a8df2ab7336af5192d17350f2ec728cc2da8e2..d4e9b60d45c7a740d83910c312cfb40fc5cb2e91 100644 (file)
@@ -520,6 +520,12 @@ struct wxPixelDataOut<wxBitmap>
                             bmp.GetRawData(data, PixelFormat::BitsPerPixel);
             }
 
                             bmp.GetRawData(data, PixelFormat::BitsPerPixel);
             }
 
+            // default constructor
+            Iterator()
+            {
+                m_ptr = NULL;
+            }
+            
             // return true if this iterator is valid
             bool IsOk() const { return m_ptr != NULL; }
 
             // return true if this iterator is valid
             bool IsOk() const { return m_ptr != NULL; }