Skip to content
Snippets Groups Projects
Commit 5a78c815 authored by Rene Brun's avatar Rene Brun
Browse files

From Valeriy Onuchin:

- small corrections to remove compilation  warnings


git-svn-id: http://root.cern.ch/svn/root/trunk@10114 27541ba8-7e3a-0410-8455-c3a389f83636
parent cdf249b8
No related branches found
No related tags found
No related merge requests found
// @(#)root/guibuilder:$Name: $:$Id: TGuiBuilder.cxx,v 1.4 2004/09/20 19:07:23 brun Exp $ // @(#)root/guibuilder:$Name: $:$Id: TGuiBuilder.cxx,v 1.5 2004/09/20 21:00:40 brun Exp $
// Author: Valeriy Onuchin 12/09/04 // Author: Valeriy Onuchin 12/09/04
/************************************************************************* /*************************************************************************
...@@ -655,10 +655,8 @@ Bool_t TGuiBuilder::HandleKey(Event_t *event) ...@@ -655,10 +655,8 @@ Bool_t TGuiBuilder::HandleKey(Event_t *event)
{ {
// //
TGWindow *root = (TGWindow*)fClient->GetRoot();
fEditable = FindEditableMdiFrame(fClient->GetRoot()); fEditable = FindEditableMdiFrame(fClient->GetRoot());
if ((event->fType == kGKeyPress) && (event->fState & kKeyControlMask)) { if ((event->fType == kGKeyPress) && (event->fState & kKeyControlMask)) {
UInt_t keysym; UInt_t keysym;
char str[2]; char str[2];
...@@ -925,7 +923,7 @@ void TGuiBuilder::UpdateStatusBar() ...@@ -925,7 +923,7 @@ void TGuiBuilder::UpdateStatusBar()
if (!fStatusBar) return; if (!fStatusBar) return;
TObject *o = (TObject *)gTQSender; TObject *o = (TObject *)gTQSender;
const char *text; const char *text = 0;
if (o && o->InheritsFrom(TGToolTip::Class())) { if (o && o->InheritsFrom(TGToolTip::Class())) {
TGToolTip *tip = (TGToolTip*)o; TGToolTip *tip = (TGToolTip*)o;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment