]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/bmpbuttn.cpp
removed unnecessarily overridden wxControl method
[wxWidgets.git] / src / motif / bmpbuttn.cpp
index 29f0d9ae28b4df66aadce7398fcb2400c0c04407..87bca5cdb15d0e8d38b3d078958e37a8e4830bb9 100644 (file)
 #pragma implementation "bmpbuttn.h"
 #endif
 
+#ifdef __VMS
+#define XtScreen XTSCREEN
+#endif
+
+#include "wx/defs.h"
+
 #include "wx/bmpbuttn.h"
 
 #ifdef __VMS__
@@ -31,9 +37,7 @@ void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
 
 Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-#endif
 
 wxBitmapButton::wxBitmapButton()
 {