wxScrollBar *m_scrollbarHorz,
*m_scrollbarVert;
- // the stack of windows which have captured the mouse
- static struct WXDLLEXPORT wxWindowNext *ms_winCaptureNext;
-
#if wxUSE_MENUS
// the current modal event loop for the popup menu we show or NULL
static wxEventLoop *ms_evtLoopPopup;
virtual wxHitTest DoHitTest(wxCoord x, wxCoord y) const;
// capture/release the mouse, used by Capture/ReleaseMouse()
- virtual void DoCaptureMouse();
- virtual void DoReleaseMouse();
+ virtual void DoCaptureMouse() = 0;
+ virtual void DoReleaseMouse() = 0;
// retrieve the position/size of the window
virtual void DoGetPosition( int *x, int *y ) const = 0;
// contains the last id generated by NewControlId
static int ms_lastControlId;
+ // the stack of windows which have captured the mouse
+ static struct WXDLLEXPORT wxWindowNext *ms_winCaptureNext;
+
DECLARE_ABSTRACT_CLASS(wxWindowBase)
DECLARE_NO_COPY_CLASS(wxWindowBase)
DECLARE_EVENT_TABLE()
wxWindowNext *next;
} *wxWindow::ms_winCaptureNext = NULL;
-void wxWindow::CaptureMouse()
+void wxWindowBase::CaptureMouse()
{
wxLogTrace(_T("mousecapture"), _T("CaptureMouse(0x%08x)"), this);
DoCaptureMouse();
}
-void wxWindow::ReleaseMouse()
+void wxWindowBase::ReleaseMouse()
{
DoReleaseMouse();