now we get mouse events (thanks JBurton ! )

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2004-07-15 15:05:10 +00:00
parent de44737ef7
commit 3989a673ba
+3 -2
View File
@@ -66,8 +66,8 @@ KeymapWindow::KeymapWindow( BRect frame )
// Create the Maps box and contents
AddMaps(placeholderView);
fMapView = new MapView(BRect(149,29,601,209), "mapView", &fCurrentMap);
AddChild(fMapView);
fMapView = new MapView(BRect(150,9,600,189), "mapView", &fCurrentMap);
placeholderView->AddChild(fMapView);
BMenuItem *item = fFontMenu->FindMarked();
if (item) {
@@ -725,6 +725,7 @@ MapView::AttachedToWindow()
{
SetEventMask(B_KEYBOARD_EVENTS, B_NO_POINTER_HISTORY);
fTextView->SetViewColor(255,255,255);
BView::AttachedToWindow();
}