virtual void SetFocus();
virtual void WarpPointer(int x, int y);
- virtual void CaptureMouse();
- virtual void ReleaseMouse();
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
+ virtual void DoCaptureMouse();
+ virtual void DoReleaseMouse();
+
// move the window to the specified location and resize it: this is called
// from both DoSetSize() and DoSetClientSize() and would usually just call
// ::MoveWindow() except for composite controls which will want to arrange
virtual bool Reparent(wxWindowBase *newParent);
virtual void WarpPointer(int x, int y);
- virtual void CaptureMouse();
- virtual void ReleaseMouse();
virtual void Refresh(bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL);
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
+ virtual void DoCaptureMouse();
+ virtual void DoReleaseMouse();
+
// move the window to the specified location and resize it: this is called
// from both DoSetSize() and DoSetClientSize() and would usually just call
// ::MoveWindow() except for composite controls which will want to arrange
virtual void SetFocus();
virtual void WarpPointer(int x, int y);
- virtual void CaptureMouse();
- virtual void ReleaseMouse();
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual bool DoPopupMenu(wxMenu *menu, int x, int y);
+ virtual void DoCaptureMouse();
+ virtual void DoReleaseMouse();
+
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
virtual void WarpPointer( int x
,int y
);
- virtual void CaptureMouse(void);
- virtual void ReleaseMouse(void);
virtual void Refresh( bool bEraseBackground = TRUE
,const wxRect* pRect = (const wxRect *)NULL
);
,int nHeight
);
+ virtual void DoCaptureMouse(void);
+ virtual void DoReleaseMouse(void);
+
// move the window to the specified location and resize it: this is called
// from both DoSetSize() and DoSetClientSize() and would usually just call
// ::WinSetWindowPos() except for composite controls which will want to arrange
return TRUE;
}
-void wxWindowMac::CaptureMouse()
+void wxWindowMac::DoCaptureMouse()
{
wxTheApp->s_captureWindow = this ;
}
return wxTheApp->s_captureWindow ;
}
-void wxWindowMac::ReleaseMouse()
+void wxWindowMac::DoReleaseMouse()
{
wxTheApp->s_captureWindow = NULL ;
}
return TRUE;
}
-void wxWindowMac::CaptureMouse()
+void wxWindowMac::DoCaptureMouse()
{
wxTheApp->s_captureWindow = this ;
}
return wxTheApp->s_captureWindow ;
}
-void wxWindowMac::ReleaseMouse()
+void wxWindowMac::DoReleaseMouse()
{
wxTheApp->s_captureWindow = NULL ;
}
MGL_wmLowerWindow(m_wnd);
}
-void wxWindowMGL::CaptureMouse()
+void wxWindowMGL::DoCaptureMouse()
{
if ( gs_mouseCapture )
MGL_wmUncaptureEvents(gs_mouseCapture->m_wnd, wxMGL_CAPTURE_MOUSE);
MGL_wmCaptureEvents(m_wnd, EVT_MOUSEEVT, wxMGL_CAPTURE_MOUSE);
}
-void wxWindowMGL::ReleaseMouse()
+void wxWindowMGL::DoReleaseMouse()
{
wxASSERT_MSG( gs_mouseCapture == this, wxT("attempt to release mouse, but this window hasn't captured it") )
return wxString(title);
}
-void wxWindow::CaptureMouse()
+void wxWindow::DoCaptureMouse()
{
g_captureWindow = this;
if ( m_winCaptured )
m_winCaptured = TRUE;
}
-void wxWindow::ReleaseMouse()
+void wxWindow::DoReleaseMouse()
{
g_captureWindow = NULL;
if ( !m_winCaptured )
return wxGetWindowText(GetHWND());
} // end of wxWindowOS2::GetTitle
-void wxWindowOS2::CaptureMouse()
+void wxWindowOS2::DoCaptureMouse()
{
HWND hWnd = GetHwnd();
}
} // end of wxWindowOS2::GetTitle
-void wxWindowOS2::ReleaseMouse()
+void wxWindowOS2::DoReleaseMouse()
{
if (m_bWinCaptured)
{