From 9c48b0e8e72b4f7842a78c56039961c4d08c7df0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 30 Aug 2020 21:14:45 +0200 Subject: [PATCH] Remove redundant wxSetCursor() declarations Avoid -Wredundant-decls from gcc by not duplicating the declaration from wx/gdicmn.h in wx/*/cursor.h. --- include/wx/motif/cursor.h | 2 -- include/wx/osx/cursor.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 0658abc6ec..e59521a7c2 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -63,7 +63,5 @@ private: wxDECLARE_DYNAMIC_CLASS(wxCursor); }; -extern WXDLLIMPEXP_CORE void wxSetCursor(const wxCursor& cursor); - #endif // _WX_CURSOR_H_ diff --git a/include/wx/osx/cursor.h b/include/wx/osx/cursor.h index 37e221f6ce..ae3eb2463a 100644 --- a/include/wx/osx/cursor.h +++ b/include/wx/osx/cursor.h @@ -47,6 +47,4 @@ private: wxDECLARE_DYNAMIC_CLASS(wxCursor); }; -extern WXDLLIMPEXP_CORE void wxSetCursor(const wxCursor& cursor); - #endif // _WX_CURSOR_H_