]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
Added support for saving greyscale TIFF images.
[wxWidgets.git] / src / univ / winuniv.cpp
index 2cfba82d833c2d7cd78fae86028a0586681ade05..1e6ab4bb99043c0a546bc49e88e34982c51f9912 100644 (file)
@@ -258,7 +258,7 @@ void wxWindow::SetBackground(const wxBitmap& bitmap,
 const wxBitmap& wxWindow::GetBackgroundBitmap(int *alignment,
                                                wxStretch *stretch) const
 {
-    if ( m_bitmapBg.Ok() )
+    if ( m_bitmapBg.IsOk() )
     {
         if ( alignment )
             *alignment = m_alignBgBitmap;
@@ -408,7 +408,7 @@ bool wxWindow::DoDrawBackground(wxDC& dc)
 
 void wxWindow::EraseBackground(wxDC& dc, const wxRect& rect)
 {
-    if ( GetBackgroundBitmap().Ok() )
+    if ( GetBackgroundBitmap().IsOk() )
     {
         // Get the bitmap and the flags
         int alignment;