git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62623
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxNonOwnedWindowCocoaImpl* impl;
}
wxNonOwnedWindowCocoaImpl* impl;
}
+- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen;
- (void)setImplementation: (wxNonOwnedWindowCocoaImpl *) theImplementation;
- (wxNonOwnedWindowCocoaImpl*) implementation;
- (void)noResponderFor: (SEL) selector;
- (void)setImplementation: (wxNonOwnedWindowCocoaImpl *) theImplementation;
- (wxNonOwnedWindowCocoaImpl*) implementation;
- (void)noResponderFor: (SEL) selector;
@implementation wxNSWindow
@implementation wxNSWindow
+// The default implementation always moves the window back onto the screen,
+// even when the programmer explicitly wants to hide it.
+- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen
+{
+ return frameRect;
+}
+
- (void)setImplementation: (wxNonOwnedWindowCocoaImpl *) theImplementation
{
impl = theImplementation;
- (void)setImplementation: (wxNonOwnedWindowCocoaImpl *) theImplementation
{
impl = theImplementation;