warning fix for 10.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2004-11-01 18:03:03 +00:00
parent 71c9ea2b9e
commit 04fa0af10e

View File

@ -42,6 +42,11 @@
#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;
}