]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/gdiimage.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / os2 / gdiimage.h
index e808762642371a7408e9cd3fd56d7c550e9d32a3..0f5241443115ac4402de4f8457d86f40c037fa4b 100644 (file)
@@ -40,10 +40,6 @@ public:
         m_nWidth = m_nHeight = m_nDepth = 0;
 
         m_hHandle = 0;
-
-#if WXWIN_COMPATIBILITY_2
-        m_bOk = FALSE;
-#endif // WXWIN_COMPATIBILITY_2
     }
 
     // accessors
@@ -80,13 +76,6 @@ public:
         WXHCURSOR                   m_hCursor;
     };
 
-    // this filed is redundant and using it is error prone but keep it for
-    // backwards compatibility
-#if WXWIN_COMPATIBILITY_2
-    void SetOk() { m_bOk = m_hHandle != 0; }
-
-    bool                            m_bOk;
-#endif // WXWIN_COMPATIBILITY_2
     UINT                            m_uId;
 };