]>
git.saurik.com Git - wxWidgets.git/blob - user/wxLayout/wxlwindow.h
1 /*-*- c++ -*-********************************************************
2 * wxLwindow.h : a scrolled Window for displaying/entering rich text*
4 * (C) 1998 by Karsten Ballüder (Ballueder@usa.net) *
7 *******************************************************************/
12 # pragma interface "wxlwindow.h"
19 class wxLayoutWindow
: public wxScrolledWindow
22 wxLayoutWindow(wxWindow
*parent
);
24 wxLayoutList
& GetLayoutList(void) { return m_llist
; }
26 //virtual void OnDraw(wxDC &dc);
27 void OnPaint(wxPaintEvent
&WXUNUSED(event
));
28 virtual void OnMouse(wxMouseEvent
& event
);
29 virtual void OnChar(wxKeyEvent
& event
);
30 void UpdateScrollbars(void);
33 { m_llist
.Clear(); Clear(); }
34 void SetEventId(int id
) { m_EventId
= id
; }
35 wxPoint
const &GetClickPosition(void) const { return
38 /// for sending events
41 /// the layout list to be displayed
43 /// have we already set the scrollbars?
45 /// if we want to find an object:
47 wxLayoutObjectBase
*m_FoundObject
;
48 wxPoint m_ClickPosition
;