applied patch #929947: "Various cleaning of warnings under MSW"; removed some tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,7 @@ class URLDropTarget : public wxDropTarget
|
||||
public:
|
||||
URLDropTarget() { SetDataObject(new wxURLDataObject); }
|
||||
|
||||
void OnDropURL(wxCoord x, wxCoord y, const wxString& text)
|
||||
void OnDropURL(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxString& text)
|
||||
{
|
||||
// of course, a real program would do something more useful here...
|
||||
wxMessageBox(text, _T("wxDnD sample: got URL"),
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
|
||||
// URLs can't be moved, only copied
|
||||
virtual wxDragResult OnDragOver(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y),
|
||||
wxDragResult def)
|
||||
wxDragResult WXUNUSED(def))
|
||||
{
|
||||
return wxDragLink; // At least IE 5.x needs wxDragLink, the
|
||||
// other browsers on MSW seem okay with it too.
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void OnPaint(wxPaintEvent& event)
|
||||
void OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
{
|
||||
wxPaintDC dc(this);
|
||||
|
||||
@@ -613,7 +613,7 @@ public:
|
||||
}
|
||||
|
||||
virtual bool SetData(const wxDataFormat& format,
|
||||
size_t len, const void *buf)
|
||||
size_t WXUNUSED(len), const void *buf)
|
||||
{
|
||||
wxCHECK_MSG( format == m_formatShape, false,
|
||||
wxT( "unsupported format") );
|
||||
|
@@ -86,8 +86,8 @@ public:
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
|
||||
void OnIncFont(wxCommandEvent& event) { DoResizeFont(+2); }
|
||||
void OnDecFont(wxCommandEvent& event) { DoResizeFont(-2); }
|
||||
void OnIncFont(wxCommandEvent& WXUNUSED(event)) { DoResizeFont(+2); }
|
||||
void OnDecFont(wxCommandEvent& WXUNUSED(event)) { DoResizeFont(-2); }
|
||||
|
||||
void OnBold(wxCommandEvent& event);
|
||||
void OnItalic(wxCommandEvent& event);
|
||||
|
@@ -112,7 +112,7 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
virtual void DoLogString(const wxChar *szString, time_t t)
|
||||
virtual void DoLogString(const wxChar *szString, time_t WXUNUSED(t))
|
||||
{
|
||||
wxString msg;
|
||||
TimeStamp(&msg);
|
||||
@@ -154,7 +154,7 @@ protected:
|
||||
void OnKeyUp(wxKeyEvent& event) { LogEvent(_T("Key up"), event); }
|
||||
void OnChar(wxKeyEvent& event) { LogEvent(_T("Char"), event); }
|
||||
|
||||
void OnPaint(wxPaintEvent& event)
|
||||
void OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
{
|
||||
wxPaintDC dc(this);
|
||||
dc.SetTextForeground(*wxWHITE);
|
||||
|
@@ -228,7 +228,7 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
virtual void DoLogString(const wxChar *szString, time_t t)
|
||||
virtual void DoLogString(const wxChar *szString, time_t WXUNUSED(t))
|
||||
{
|
||||
wxString msg;
|
||||
TimeStamp(&msg);
|
||||
@@ -526,7 +526,7 @@ void LboxTestFrame::CreateLbox()
|
||||
items.Add(m_lbox->GetString(n));
|
||||
}
|
||||
|
||||
m_sizerLbox->Remove(m_lbox);
|
||||
m_sizerLbox->Detach(m_lbox);
|
||||
delete m_lbox;
|
||||
}
|
||||
|
||||
|
@@ -96,7 +96,7 @@ public:
|
||||
void UpdateClock();
|
||||
|
||||
// event handlers
|
||||
void OnTimer(wxTimerEvent& event) { UpdateClock(); }
|
||||
void OnTimer(wxTimerEvent& WXUNUSED(event)) { UpdateClock(); }
|
||||
void OnSize(wxSizeEvent& event);
|
||||
void OnToggleClock(wxCommandEvent& event);
|
||||
void OnButton(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user