src/widget/widget_caption.cpp
branchcpp_gui
changeset 6277 732cf765e2d7
parent 6276 e5f0198ec570
child 6278 c09f5e53af9b
--- a/src/widget/widget_caption.cpp	Fri Mar 02 22:37:24 2007 +0000
+++ b/src/widget/widget_caption.cpp	Fri Mar 02 22:58:52 2007 +0000
@@ -45,11 +45,11 @@
 {
 	m_moving_offset = ev.m_pt;
 	ev.SetHandled();
-	m_ticket_moving = CaptureEventsT(this, &CaptionBar::OnCapturePressed);
+	m_ticket_moving = CaptureEventsT(this, &CaptionBar::OnCaptureMoving);
 	Invalidate();
 }
 
-void CaptionBar::OnCapturePressed(EvtMouseOver &e)
+void CaptionBar::OnCaptureMoving(EvtMouseOver &e)
 {
 	if (!_left_button_down) {
 		m_ticket_moving.Release();