// Author: Mattia barbon
// Modified by:
// Created: 28.08.03
-// RCS-ID: $Id$
// Copyright: (c) Mattia barbon
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
m_mainWidget = (WXWidget)popup;
- SetSize( 100, 100 ); // for child creation to work
+ wxAddWindowToTable( (Widget) m_mainWidget, this );
+
+ DoSetSizeIntr( -1, -1, 100, 100, 0, true );
XtSetMappedWhenManaged( popup, False );
XtRealizeWidget( popup );
-
+ XtManageChild ( popup );
+/*
+ XtTranslations ptr;
+ XtOverrideTranslations (popup,
+ ptr = XtParseTranslationTable ("<Configure>: resize()"));
+ XtFree ((char *) ptr);
+*/
return true;
}
if( show )
{
- XtPopup( (Widget)GetMainWidget(), XtGrabNone );
+ XtPopup( (Widget)GetMainWidget(), XtGrabNonexclusive );
}
else
{