Codechange: [OSX] Remove old code that has no effect on current OSX versions.
This commit is contained in:
		@@ -405,23 +405,6 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel
 | 
			
		||||
	return self;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * This method fires just before the window deminaturizes from the Dock.
 | 
			
		||||
 * We'll save the current visible surface, let the window manager redraw any
 | 
			
		||||
 * UI elements, and restore the surface. This way, no expose event
 | 
			
		||||
 * is required, and the deminiaturize works perfectly.
 | 
			
		||||
 */
 | 
			
		||||
- (void)display
 | 
			
		||||
{
 | 
			
		||||
	/* save current visible surface */
 | 
			
		||||
	[ self cacheImageInRect:[ driver->cocoaview frame ] ];
 | 
			
		||||
 | 
			
		||||
	/* let the window manager redraw controls, border, etc */
 | 
			
		||||
	[ super display ];
 | 
			
		||||
 | 
			
		||||
	/* restore visible surface */
 | 
			
		||||
	[ self restoreCachedImage ];
 | 
			
		||||
}
 | 
			
		||||
/**
 | 
			
		||||
 * Define the rectangle we draw our window in
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user