///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_POPUPWIN_H_BASE_
#define _WX_POPUPWIN_H_BASE_
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_POPUPWIN_H_BASE_
#define _WX_POPUPWIN_H_BASE_
// the point must be given in screen coordinates!
virtual void Position(const wxPoint& ptOrigin,
const wxSize& size);
// the point must be given in screen coordinates!
virtual void Position(const wxPoint& ptOrigin,
const wxSize& size);
// when the user clicks mouse outside it or if it loses focus in any other way
// ----------------------------------------------------------------------------
// when the user clicks mouse outside it or if it loses focus in any other way
// ----------------------------------------------------------------------------
// called when a mouse is pressed while the popup is shown: return TRUE
// from here to prevent its normal processing by the popup (which consists
// in dismissing it if the mouse is cilcked outside it)
// called when a mouse is pressed while the popup is shown: return TRUE
// from here to prevent its normal processing by the popup (which consists
// in dismissing it if the mouse is cilcked outside it)