]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/taskbar.mm
substitute (c) and (C) for copyright strings as documented
[wxWidgets.git] / 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