]> git.saurik.com Git - wxWidgets.git/commitdiff
warning fix for 10.2
authorRyan Norton <wxprojects@comcast.net>
Mon, 1 Nov 2004 18:03:03 +0000 (18:03 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 1 Nov 2004 18:03:03 +0000 (18:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/taskbar.mm

index d6743993e289cc677578adc51d76d2de62840e1b..17147b1fd28b236a82706265dd6da54516bc5726 100644 (file)
 #include "wx/cocoa/NSApplication.h"
 #include "wx/cocoa/autorelease.h"
 
+// A category for methods that are only present in Panther's SDK
+@interface NSStatusItem(wxNSStatusItemPrePantherCompatibility)
+- (void)popUpStatusItemMenu:(NSMenu *)menu;
+@end
+
 class wxTaskBarIconWindow;
 
 // ============================================================================
@@ -215,7 +220,7 @@ wxTaskBarIconDockImpl::wxTaskBarIconDockImpl(wxTaskBarIcon *taskBarIcon)
 :   wxTaskBarIconCocoaImpl(taskBarIcon)
 {
     m_originalDockIcon = nil;
-    wxASSERT_MSG(!sm_dockIcon,"You should never have more than one dock icon!");
+    wxASSERT_MSG(!sm_dockIcon, wxT("You should never have more than one dock icon!"));
     sm_dockIcon = this;
 }