]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless unused parameter warnings in wxX11 wxCursor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Aug 2009 00:44:27 +0000 (00:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Aug 2009 00:44:27 +0000 (00:44 +0000)
Parameters in wxCursor ctor are unused because it is not implemented but this
is already indicated by a wxFAIL_MSG() in it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/cursor.cpp

index 7eaa5e6fdeefcae6e71e5466e3173da7d108ab86..6688cfafeec12860d9f6ca1b32db97d29ae9f786 100644 (file)
@@ -124,9 +124,9 @@ void wxCursor::InitFromStock( wxStockCursor cursorId )
 #endif
 }
 
-wxCursor::wxCursor(const wxString& name,
-                    wxBitmapType type,
-                    int hotSpotX, int hotSpotY)
+wxCursor::wxCursor(const wxString& WXUNUSED(name),
+                    wxBitmapType WXUNUSED(type),
+                    int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY))
 {
    wxFAIL_MSG( wxT("wxCursor creation from file not yet implemented") );
 }