// Mainframe macro generated from application: /home/onuchin/root/bin/root.exe
// By ROOT version 4.03/02 on 2005-02-21 15:21:02
#if !defined( CINT) || defined (MAKECINT)
#ifndef ROOT_TRootGuiBuilder
#include “TRootGuiBuilder.h”
#endif
#ifndef ROOT_TGMenu
#include “TGMenu.h”
#endif
#ifndef ROOT_TGButtonGroup
#include “TGButtonGroup.h”
#endif
#ifndef ROOT_TGDockableFrame
#include “TGDockableFrame.h”
#endif
#ifndef ROOT_TGToolBar
#include “TGToolBar.h”
#endif
#ifndef ROOT_TGButton
#include “TGButton.h”
#endif
#ifndef ROOT_TGToolTip
#include “TGToolTip.h”
#endif
#ifndef ROOT_TGuiBldDragManager
#include “TGuiBldDragManager.h”
#endif
#ifndef ROOT_TGMdiMainFrame
#include “TGMdiMainFrame.h”
#endif
#ifndef ROOT_TGLabel
#include “TGLabel.h”
#endif
#ifndef ROOT_TG3DLine
#include “TG3DLine.h”
#endif
#ifndef ROOT_TGNumberEntry
#include “TGNumberEntry.h”
#endif
#ifndef ROOT_TGuiBldHintsButton
#include “TGuiBldHintsButton.h”
#endif
#ifndef ROOT_TGuiBldHintsEditor
#include “TGuiBldHintsEditor.h”
#endif
#ifndef ROOT_TGuiBldEditor
#include “TGuiBldEditor.h”
#endif
#ifndef ROOT_TGShutter
#include “TGShutter.h”
#endif
#ifndef ROOT_TGCanvas
#include “TGCanvas.h”
#endif
#ifndef ROOT_TGStatusBar
#include “TGStatusBar.h”
#endif
#ifndef ROOT_TGTab
#include “TGTab.h”
#endif
#ifndef ROOT_TGSplitter
#include “TGSplitter.h”
#endif
#ifndef ROOT_TGMdiMenu
#include “TGMdiMenu.h”
#endif
#ifndef ROOT_TGMdiDecorFrame
#include “TGMdiDecorFrame.h”
#endif
#ifndef ROOT_TGMdiFrame
#include “TGMdiFrame.h”
#endif
#ifndef ROOT_TGuiBldQuickHandler
#include “TGuiBldQuickHandler.h”
#endif
#ifndef ROOT_TGListBox
#include “TGListBox.h”
#endif
#ifndef ROOT_TGListView
#include “TGListView.h”
#endif
#ifndef ROOT_TGFSContainer
#include “TGFSContainer.h”
#endif
#ifndef ROOT_TGFSComboBox
#include “TGFSComboBox.h”
#endif
#ifndef ROOT_TGFileDialog
#include “TGFileDialog.h”
#endif
#ifndef ROOT_TGScrollBar
#include “TGScrollBar.h”
#endif
#ifndef ROOT_TGMsgBox
#include “TGMsgBox.h”
#endif
#endif
void Test()
{
// main frame
TGMainFrame *frame768 = new TGMainFrame(gClient->GetRoot(),10,10,kMainFrame | kVerticalFrame);
// composite frame
TGCompositeFrame *frame388 = new TGCompositeFrame(frame768,222,166,kHorizontalFrame);
TGRadioButton *frame381 = new TGRadioButton(frame388,“”);
frame381->SetState(kButtonDown);
frame388->AddFrame(frame381, new TGLayoutHints(kLHintsLeft | kLHintsTop,5,5,5,5));
// vertical frame
TGVerticalFrame *frame389 = new TGVerticalFrame(frame388,180,156,kVerticalFrame);
TGLabel *frame390 = new TGLabel(frame389,“This is a very, very”);
frame389->AddFrame(frame390, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX,5,5,5,5));
TGLabel *frame401 = new TGLabel(frame389," long text, which causes");
frame389->AddFrame(frame401, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX,5,5,5,5));
TGLabel *frame421 = new TGLabel(frame389,“the line to wrap,”);
frame389->AddFrame(frame421, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX,5,5,5,5));
TGLabel *frame428 = new TGLabel(frame389,“but unfortunately I have no”);
frame389->AddFrame(frame428, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX,5,5,5,5));
TGLabel *frame439 = new TGLabel(frame389,“idea how to change the height”);
frame389->AddFrame(frame439, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX,5,5,5,5));
TGLabel *frame446 = new TGLabel(frame389,“of the radio button ;-(”);
frame389->AddFrame(frame446, new TGLayoutHints(kLHintsLeft | kLHintsTop,5,5,5,5));
frame388->AddFrame(frame389, new TGLayoutHints(kLHintsLeft | kLHintsTop | kLHintsExpandX | kLHintsExpandY,5,5,5,5));
frame768->AddFrame(frame388);
frame768->MapSubwindows();
frame768->Resize(frame768->GetDefaultSize());
frame768->MapWindow();
frame768->Resize(222,166);
}