]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation/linking fixes for DoCaptureMouse() change
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jan 2002 19:39:53 +0000 (19:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jan 2002 19:39:53 +0000 (19:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/window.h
include/wx/window.h
src/common/wincmn.cpp

index 78cf266257dd70d345de21bcfd2493696aaa6b23..c32af380e28ca6311367ffdb1744a1a141848e3f 100644 (file)
@@ -268,9 +268,6 @@ private:
     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;
index b84b83dd60300beac811eb11a3f9ca32eebce7e5..905327ad1ac2562ed5e82822ae3490c668bd0ae7 100644 (file)
@@ -887,8 +887,8 @@ protected:
     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;
@@ -932,6 +932,9 @@ private:
     // 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()
index bd4ec6de1e3897b3def2d833a25709603bbdb86b..a72ede3d9ffe098f0ace7bcfaf5680c84f435e1f 100644 (file)
@@ -1622,7 +1622,7 @@ struct WXDLLEXPORT wxWindowNext
     wxWindowNext *next;
 } *wxWindow::ms_winCaptureNext = NULL;
 
-void wxWindow::CaptureMouse()
+void wxWindowBase::CaptureMouse()
 {
     wxLogTrace(_T("mousecapture"), _T("CaptureMouse(0x%08x)"), this);
 
@@ -1640,7 +1640,7 @@ void wxWindow::CaptureMouse()
     DoCaptureMouse();
 }
 
-void wxWindow::ReleaseMouse()
+void wxWindowBase::ReleaseMouse()
 {
     DoReleaseMouse();