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:
@@ -112,9 +112,11 @@ wxFSFile* wxMemoryFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
wxString wxMemoryFSHandler::FindFirst(const wxString& spec, int flags)
|
wxString wxMemoryFSHandler::FindFirst(const wxString& WXUNUSED(spec),
|
||||||
|
int WXUNUSED(flags))
|
||||||
{
|
{
|
||||||
wxLogWarning(wxT("wxMemoryFSHandler::FindFirst not implemented"));
|
wxFAIL_MSG(wxT("wxMemoryFSHandler::FindFirst not implemented"));
|
||||||
|
|
||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,12 +124,12 @@ wxString wxMemoryFSHandler::FindFirst(const wxString& spec, int flags)
|
|||||||
|
|
||||||
wxString wxMemoryFSHandler::FindNext()
|
wxString wxMemoryFSHandler::FindNext()
|
||||||
{
|
{
|
||||||
wxLogWarning(wxT("wxMemoryFSHandler::FindNext not implemented"));
|
wxFAIL_MSG(wxT("wxMemoryFSHandler::FindNext not implemented"));
|
||||||
|
|
||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool wxMemoryFSHandler::CheckHash(const wxString& filename)
|
bool wxMemoryFSHandler::CheckHash(const wxString& filename)
|
||||||
{
|
{
|
||||||
if (m_Hash == NULL)
|
if (m_Hash == NULL)
|
||||||
|
@@ -1047,7 +1047,7 @@ wxWindowDisabler::~wxWindowDisabler()
|
|||||||
// the given one
|
// the given one
|
||||||
bool wxSafeYield(wxWindow *win)
|
bool wxSafeYield(wxWindow *win)
|
||||||
{
|
{
|
||||||
wxWindowDisabler wd;
|
wxWindowDisabler wd(win);
|
||||||
|
|
||||||
bool rc = wxYield();
|
bool rc = wxYield();
|
||||||
|
|
||||||
|
@@ -183,7 +183,10 @@ bool wxGenericDragImage::Create(const wxListCtrl& listCtrl, long id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Begin drag
|
// Begin drag
|
||||||
bool wxGenericDragImage::BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullScreen, wxRect* rect)
|
bool wxGenericDragImage::BeginDrag(const wxPoint& WXUNUSED(hotspot),
|
||||||
|
wxWindow* window,
|
||||||
|
bool fullScreen,
|
||||||
|
wxRect* rect)
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( (window != 0), wxT("Window must not be null in BeginDrag."));
|
wxASSERT_MSG( (window != 0), wxT("Window must not be null in BeginDrag."));
|
||||||
|
|
||||||
|
@@ -722,7 +722,8 @@ void wxListLineData::CalculateSize( wxDC *dc, int spacing )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxListLineData::SetPosition( wxDC *dc, int x, int y, int window_width )
|
void wxListLineData::SetPosition( wxDC * WXUNUSED(dc),
|
||||||
|
int x, int y, int window_width )
|
||||||
{
|
{
|
||||||
m_bound_all.x = x;
|
m_bound_all.x = x;
|
||||||
m_bound_all.y = y;
|
m_bound_all.y = y;
|
||||||
|
@@ -939,7 +939,13 @@ void wxSplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
|
|||||||
OnUnsplit(win);
|
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...
|
// this is currently called (and needed) under MSW only...
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
Reference in New Issue
Block a user