osx 10.3 dont like to have a window init with no size

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-06-17 16:45:24 +00:00
parent f0b231f194
commit 62e993bd96
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ static uint32_t control(uint32_t request, void *data, ...)
[self initMenu];
//create window
window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 0, 0)
window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 100, 100)
styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
backing:NSBackingStoreBuffered defer:NO];