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:
@@ -42,6 +42,11 @@
|
|||||||
#include "wx/cocoa/NSApplication.h"
|
#include "wx/cocoa/NSApplication.h"
|
||||||
#include "wx/cocoa/autorelease.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;
|
class wxTaskBarIconWindow;
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@@ -215,7 +220,7 @@ wxTaskBarIconDockImpl::wxTaskBarIconDockImpl(wxTaskBarIcon *taskBarIcon)
|
|||||||
: wxTaskBarIconCocoaImpl(taskBarIcon)
|
: wxTaskBarIconCocoaImpl(taskBarIcon)
|
||||||
{
|
{
|
||||||
m_originalDockIcon = nil;
|
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;
|
sm_dockIcon = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user