]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
Doesn't reset the stream pos to 0 in CanRead().
[wxWidgets.git] / src / os2 / statbmp.cpp
index 8a6baa82ee4508145ecd8a6e92fbcc9583a8fe80..bc19e866feb778aeb9c09fe1d7b54f194dfb82a8 100644 (file)
@@ -100,7 +100,7 @@ void wxStaticBitmap::Free()
     m_image.icon = NULL;
 }
 
-wxSize wxStaticBitmap::DoGetBestSize()
+wxSize wxStaticBitmap::DoGetBestSize() const
 {
     // reuse the current size (as wxWindow does) instead of using some
     // arbitrary default size (as wxControl, our immediate base class, does)