#ifndef __OOL_XITMDRAWEVENT_H__
#define __OOL_XITMDRAWEVENT_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XItemDrawEvent                        */
/*                       derived from: XEvent                                */
/*                        last update: 5/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/

#include "xevent.h"

class _export_ XItemDrawEvent: public XEvent
{
      friend MRESULT HandleDefault( XWindow * w, ULONG msg, MPARAM mp1, MPARAM mp2, BOOL& handled);
   private:
      XItemDrawEvent( LONG, void*, void*);
      POWNERITEM item;
      LONG windowID;
   public:
      LONG GetWindowID( void );
      LONG GetItemID( void );
      OOL_WINDOWHANDLE GetWindowHandle( void );
};


#endif
