X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fb67cd1968707f15341792406da62045e11c5f0..1772ead05876c9139b9ecbe4559a813a315cb3cd:/src/motif/accel.cpp?ds=inline

diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp
index 4c87676c43..d90a47b958 100644
--- a/src/motif/accel.cpp
+++ b/src/motif/accel.cpp
@@ -19,9 +19,7 @@
 #include "wx/utils.h"
 #include <ctype.h>
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
-#endif
 
 class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
 {
@@ -61,7 +59,7 @@ wxAcceleratorTable::~wxAcceleratorTable()
 }
 
 // Load from .rc resource
-wxAcceleratorTable::wxAcceleratorTable(const wxString& resource)
+wxAcceleratorTable::wxAcceleratorTable(const wxString& WXUNUSED(resource))
 {
     m_refData = new wxAcceleratorRefData;
 }