Changeset - r13190:bc8340c26ea9
[Not reviewed]
master
0 1 0
michi_cc - 15 years ago 2009-10-04 21:08:34
michi_cc@openttd.org
(svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/video/cocoa/cocoa_v.mm
Show inline comments
 
@@ -401,12 +401,13 @@ void CocoaDialog(const char *title, cons
 
		setupApplication(); // Setup application before showing dialog
 
	} else if (!_cocoa_video_started && _video_driver->Start(NULL) != NULL) {
 
		fprintf(stderr, "%s: %s\n", title, message);
 
		return;
 
	}
 

	
 
	QZ_ShowMouse();
 
	NSRunAlertPanel([NSString stringWithCString: title], [NSString stringWithCString: message], [NSString stringWithCString: buttonLabel], nil, nil);
 

	
 
	if (!wasstarted && _video_driver != NULL) _video_driver->Stop();
 

	
 
	_cocoa_video_dialog = false;
 
}
0 comments (0 inline, 0 general)