Skip to content

Commit

Permalink
ifixed initial nglWindow title wrong on cocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
meeloo committed Jun 30, 2013
1 parent d889955 commit 7fae2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Window/Cocoa/nglWindow_Cocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ - (id) initWithFrame: (NSRect) rect andNGLWindow: (nglWindow*) pNGLWindow andSha
NGL_ASSERT(!"initWithFrame: Could not initialize NSWindow");
}

[self setTitle:@"Testing Simple Cocoa Application"];
[self setAcceptsMouseMovedEvents:TRUE];

NSRect glrect = {0};
Expand Down Expand Up @@ -829,6 +828,7 @@ - (void) EndSession
mOSInfo.mpNSWindow = pNSWindow;
mpNSWindow = pNSWindow;

SetTitle(rInfo.Title);

//[pNSWindow makeKeyAndVisible];

Expand Down

0 comments on commit 7fae2ce

Please sign in to comment.