]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove some wxCocoa stuff that isn't in OS X Cocoa.
authorKevin Ollivier <kevino@theolliviers.com>
Thu, 25 Sep 2008 00:01:59 +0000 (00:01 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Thu, 25 Sep 2008 00:01:59 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/taskbar.mm

index af4717a47efd4d9bf16f7c8a6325c9416cf4f4a7..a5143fe0c96050e86e8f7dafdff480abc93284a6 100644 (file)
@@ -35,7 +35,6 @@
 #import <AppKit/NSWindow.h>
 #import <AppKit/NSGraphicsContext.h>
 
-#include "wx/cocoa/NSApplication.h"
 #include "wx/cocoa/autorelease.h"
 
 // A category for methods that are only present in Panther's SDK
@@ -383,24 +382,4 @@ void wxTaskBarIconWindowCustom::OnPaint(wxPaintEvent &event)
     dc.DrawIcon(m_icon,0,0);
 }
 
-// ============================================================================
-// wxTaskBarIconNSApplicationDelegateCategory
-// ============================================================================
-
-// This neatly solves the problem of DLL separation.  If the wxAdvanced
-// library (which this file is part of) is loaded then this category is
-// defined and we get dock menu behavior without app.mm ever having to
-// know we exist.  C++ did sucketh so. :-)
-
-@interface wxNSApplicationDelegate(wxTaskBarIconNSApplicationDelegateCategory)
-- (NSMenu*)applicationDockMenu:(NSApplication *)sender;
-@end
-
-@implementation wxNSApplicationDelegate(wxTaskBarIconNSApplicationDelegateCategory)
-- (NSMenu*)applicationDockMenu:(NSApplication *)sender
-{
-    return wxTaskBarIconDockImpl::CocoaGetDockNSMenu();
-}
-@end
-
 #endif //def wxHAS_TASK_BAR_ICON