--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Sun Nov 20 19:45:40 2011 +0300
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Sun Nov 20 19:07:59 2011 +0100
@@ -23,8 +23,6 @@
#import "SDL_sysvideo.h"
#import "SDL_uikitkeyboard.h"
-//FIXME: add a proper #import when this is exposed in SDL
-extern UIView *SDL_getUikitView(void *);
#define VIEW_HEIGHT 200
@@ -115,7 +113,7 @@
cancelButtonTitle:NSLocalizedString(@"Well, maybe not...", @"")
destructiveButtonTitle:NSLocalizedString(@"Of course!", @"")
otherButtonTitles:nil];
- [actionSheet showInView:(IS_IPAD() ? self.view : SDL_getUikitView(HW_getSDLWindow()))];
+ [actionSheet showInView:(IS_IPAD() ? self.view : [HWUtils mainSDLViewInstance])];
[actionSheet release];
break;