]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.cpp
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
[wxWidgets.git] / samples / image / image.cpp
index 9ba854ebe6605bb3075678f4f2206793dc216dfd..7fa96375616b914f52a072c63af1ebe8f2903671 100644 (file)
@@ -407,7 +407,7 @@ private:
 
         wxImage img(m_bitmap.ConvertToImage());
         img = img.Rotate(angle, wxPoint(img.GetWidth() / 2, img.GetHeight() / 2));
-        if ( !img.Ok() )
+        if ( !img.IsOk() )
         {
             wxLogWarning(wxT("Rotation failed"));
             return;