Add longtool tip for a button in wxToolBar test

Various warning suppressions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-11 12:52:20 +00:00
parent 037767538e
commit 256b8649ff
11 changed files with 67 additions and 33 deletions

View File

@@ -182,7 +182,7 @@ void ShapedFrame::SetWindowShape()
m_hasShape = SetShape(region);
}
void ShapedFrame::OnDoubleClick(wxMouseEvent& evt)
void ShapedFrame::OnDoubleClick(wxMouseEvent& WXUNUSED(evt))
{
if (m_hasShape)
{
@@ -205,13 +205,13 @@ void ShapedFrame::OnLeftDown(wxMouseEvent& evt)
m_delta = wxPoint(dx, dy);
}
void ShapedFrame::OnLeftUp(wxMouseEvent& evt)
void ShapedFrame::OnLeftUp(wxMouseEvent& WXUNUSED(evt))
{
if (HasCapture())
{
ReleaseMouse();
//printf("Mouse released\n");
}
}
}
void ShapedFrame::OnMouseMove(wxMouseEvent& evt)
@@ -225,18 +225,18 @@ void ShapedFrame::OnMouseMove(wxMouseEvent& evt)
}
}
void ShapedFrame::OnExit(wxMouseEvent& evt)
void ShapedFrame::OnExit(wxMouseEvent& WXUNUSED(evt))
{
Close();
}
void ShapedFrame::OnPaint(wxPaintEvent& evt)
void ShapedFrame::OnPaint(wxPaintEvent& WXUNUSED(evt))
{
wxPaintDC dc(this);
dc.DrawBitmap(m_bmp, 0, 0, TRUE);
}
void ShapedFrame::OnWindowCreate(wxWindowCreateEvent& evt)
void ShapedFrame::OnWindowCreate(wxWindowCreateEvent& WXUNUSED(evt))
{
SetWindowShape();
}