Skip to content
  • Tor Lillqvist's avatar
    Call ReleaseDC() on DCs acquired with GetDC() (for windows), and · 225d9caf
    Tor Lillqvist authored
    2006-06-09  Tor Lillqvist  <tml@novell.com>
    
    	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
    	Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
    	DeleteDC() on DCs acquired with CreateCompatibleDC() (for
    	bitmaps). According to MSDN, this is the correct thing to do, even
    	if always using DeleteDC() seems to have worked fine in
    	practice. (#337491)
    225d9caf