X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ea3f821b7efe6a1a0b9f5119274d4aac8d5f8cb..300aaa8f77daee5cd740c8c4cce63f40c6bfae4b:/src/os2/bitmap.cpp diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index b93b3e23f5..2d7a3fc799 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -9,6 +9,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ + #pragma implementation "bitmap.h" +#endif + // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -127,10 +131,6 @@ bool wxBitmap::CopyFromIcon( if (!rIcon.Ok()) return(FALSE); -#if WXWIN_COMPATIBILITY_2 - refData->m_ok = TRUE; -#endif // WXWIN_COMPATIBILITY_2 - return CopyFromIconOrCursor(rIcon); } @@ -340,7 +340,7 @@ bool wxBitmap::LoadFile( , long lType ) { - HPS hPs; + HPS hPs = NULLHANDLE; UnRef();