]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gdiimage.h
Remove duplicated typedef depending on header file version.
[wxWidgets.git] / include / wx / msw / gdiimage.h
index d950f81b0bd9450965e055c57c59ebad80ddc38f..5598ed02383e89ce05313c7a0faeadf5996cb57b 100644 (file)
@@ -42,10 +42,6 @@ public:
         m_width = m_height = m_depth = 0;
 
         m_handle = 0;
-
-#if WXWIN_COMPATIBILITY_2
-        m_ok = FALSE;
-#endif // WXWIN_COMPATIBILITY_2
     }
 
     // accessors
@@ -72,14 +68,6 @@ public:
         WXHICON   m_hIcon;
         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_ok = m_handle != 0; }
-
-    bool          m_ok;
-#endif // WXWIN_COMPATIBILITY_2
 };
 
 // ----------------------------------------------------------------------------