warnings from FreeBSD compilation log removed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-17 14:08:54 +00:00
parent f4bfe7e0c1
commit bc1dcfc1aa
5 changed files with 20 additions and 8 deletions

View File

@@ -939,7 +939,13 @@ void wxSplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
OnUnsplit(win);
}
void wxSplitterWindow::OnSetCursor(wxSetCursorEvent& event)
#if defined(__WXMSW__)
#define WXUNUSED_UNLESS_MSW(identifier) identifier
#else
#define WXUNUSED_UNLESS_MSW(identifier) WXUNUSED(identifier)
#endif
void wxSplitterWindow::OnSetCursor(wxSetCursorEvent& WXUNUSED_UNLESS_MSW(event))
{
// this is currently called (and needed) under MSW only...
#ifdef __WXMSW__