]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gdiimage.h
added wxDC::Set/GetLayoutDirection() and implemented it for wxMSW (patch from Tim...
[wxWidgets.git] / include / wx / msw / gdiimage.h
index 8db767023a77e69b3d24e1358e583a945f755572..2111414a63e63ba96c0502bd72d93565b6645ddb 100644 (file)
@@ -154,7 +154,8 @@ public:
     void SetHandle(WXHANDLE handle)
         { AllocExclusive(); 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; }