]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/gdiimage.h
corrected the direction of comparisons between wxString and char/wxChar strings
[wxWidgets.git] / include / wx / palmos / gdiimage.h
index b954e2a331e6cc14672ea08c8f48b19698737d0e..edaa3553f5c27fa16e783ad43336d3a8e79f23e3 100644 (file)
@@ -147,7 +147,8 @@ public:
     void SetHandle(WXHANDLE handle)
         { EnsureHasData(); GetGDIImageData()->m_handle = handle; }
 
     void SetHandle(WXHANDLE handle)
         { EnsureHasData(); GetGDIImageData()->m_handle = handle; }
 
-    bool Ok() const { return GetHandle() != 0; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return GetHandle() != 0; }
 
     int GetWidth() const { return IsNull() ? 0 : GetGDIImageData()->m_width; }
     int GetHeight() const { return IsNull() ? 0 : GetGDIImageData()->m_height; }
 
     int GetWidth() const { return IsNull() ? 0 : GetGDIImageData()->m_width; }
     int GetHeight() const { return IsNull() ? 0 : GetGDIImageData()->m_height; }