mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-03-06 02:27:08 +00:00
- Fixed problem with -[NSWindow setMenu:] causing window display prior to awakeFromNib
- Changed some of the build install permissions from a-w to og-w as u-w was causing problems
This commit is contained in:
parent
add665f492
commit
c365e20d59
@ -3427,6 +3427,7 @@
|
||||
GCC_PREFIX_HEADER = "";
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_MODE_FLAG = "og-w,a+rX";
|
||||
INSTALL_PATH = /Developer/Cocotron/1.0/Windows/i386/Frameworks;
|
||||
OTHER_CFLAGS = (
|
||||
"-DAPPKIT_INSIDE_BUILD",
|
||||
|
@ -1917,7 +1917,10 @@ NSString *NSWindowDidAnimateNotification=@"NSWindowDidAnimateNotification";
|
||||
|
||||
frame=[self frame];
|
||||
frame.size.height+=(newSize.height-oldSize.height);
|
||||
[self setFrame:frame display:YES];
|
||||
// no display because setMenu: is called before awakeFromNib
|
||||
[self setFrame:frame display:NO];
|
||||
// do we even need this?
|
||||
[_backgroundView setNeedsDisplay:YES];
|
||||
}
|
||||
|
||||
_menu=[menu copy];
|
||||
|
@ -81,7 +81,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
}
|
||||
|
||||
-(void)update {
|
||||
[[self openGLContext] update];
|
||||
// we don't want to create the context if it doesn't exist
|
||||
[_context update];
|
||||
}
|
||||
|
||||
-(void)reshape {
|
||||
@ -89,7 +90,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
}
|
||||
|
||||
-(void)prepareOpenGL {
|
||||
// do nothing?
|
||||
// do nothing
|
||||
}
|
||||
|
||||
-(BOOL)isOpaque {
|
||||
|
@ -298,6 +298,7 @@
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_MODE_FLAG = "og-w,a+rX";
|
||||
INSTALL_PATH = /Developer/Cocotron/1.0/Windows/i386/Frameworks;
|
||||
OTHER_CFLAGS = (
|
||||
"-DCOCOA_INSIDE_BUILD",
|
||||
|
@ -8514,6 +8514,7 @@
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_MODE_FLAG = "og-w,a+rX";
|
||||
INSTALL_PATH = /Developer/Cocotron/1.0/Windows/i386/Frameworks;
|
||||
OTHER_CFLAGS = (
|
||||
"-DFOUNDATION_INSIDE_BUILD",
|
||||
|
@ -199,6 +199,7 @@
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_MODE_FLAG = "og-w,a+rX";
|
||||
INSTALL_PATH = /Developer/Cocotron/1.0/Windows/i386/Frameworks;
|
||||
OTHER_LDFLAGS = (
|
||||
"-shared",
|
||||
|
@ -577,6 +577,7 @@
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_MODE_FLAG = "og-w,a+rX";
|
||||
INSTALL_PATH = /Developer/Cocotron/1.0/Windows/i386/Frameworks;
|
||||
OTHER_CFLAGS = (
|
||||
"-DOBJC_INSIDE_BUILD",
|
||||
|
Loading…
x
Reference in New Issue
Block a user