removed no longer true stuff and some debug left overs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12983 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-06-07 13:30:56 +00:00
parent 442992bf26
commit d5233162ca

View File

@ -58,17 +58,13 @@ ObjectWindow::ObjectWindow(BRect frame, const char* name)
BMenuBar* menuBar = new BMenuBar(b, "menu bar");
AddChild(menuBar);
BMenu* menu = new BMenu("Menus");
BMenu* menu = new BMenu("File");
menuBar->AddItem(menu);
BMenuItem* menuItem = new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED),
'T');
'Q');
menu->AddItem(menuItem);
menuBar->AddItem(new BMenu("don't"));
menuBar->AddItem(new BMenu("work!"));
menuBar->AddItem(new BMenu("(yet)"));
b = Bounds();
b.top = menuBar->Bounds().bottom + 1;
BBox* bg = new BBox(b, "bg box", B_FOLLOW_ALL, B_WILL_DRAW, B_PLAIN_BORDER);
@ -277,10 +273,8 @@ ObjectWindow::MessageReceived(BMessage* message)
case MSG_CLEAR: {
BAlert *alert = new BAlert("Playground", "Do you really want to clear all drawing objects?", "No", "Yes");
if (alert->Go() == 1) {
printf("calling make empty\n");
fObjectView->MakeEmpty();
}
printf("done\n");
break;
}
case MSG_SET_PEN_SIZE: