beos: gcc2 fix

This commit is contained in:
François Revol 2012-11-25 18:22:26 +01:00
parent fde30ff958
commit dea524f585

View File

@ -1607,7 +1607,8 @@ void nsbeos_attach_toplevel_view(nsbeos_scaffolding *g, BView *view)
g->window->Show();
if(NSBrowserWindow::activeWindow) {
BWindowStack(NSBrowserWindow::activeWindow).AddWindow(g->window);
BWindowStack stack(NSBrowserWindow::activeWindow);
stack.AddWindow(g->window);
}
#endif
g->window->Show();