]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/enhmeta.h
added wxDC::Set/GetLayoutDirection() and implemented it for wxMSW (patch from Tim...
[wxWidgets.git] / include / wx / msw / enhmeta.h
index 1bfe8985c6abe8495a56a3d312d65c5de4e2991d..fa5389b1d00b8b7f3ebd92e221105a20070e8915 100644 (file)
@@ -39,7 +39,8 @@ public:
     bool Play(wxDC *dc, wxRect *rectBound = (wxRect *)NULL);
 
     // accessors
-    bool Ok() const { return m_hMF != 0; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return m_hMF != 0; }
 
     wxSize GetSize() const;
     int GetWidth() const { return GetSize().x; }