]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/button.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / motif / button.cpp
index 6953b76006d509e5913d267a78c5ec8aebe5c5a3..eb0af12804e713b0301095b70e6a886f7c87d6c9 100644 (file)
 #pragma implementation "button.h"
 #endif
 
+#ifdef __VMS
+#define XtDisplay XTDISPLAY
+#endif
+
 #include "wx/button.h"
 #include "wx/utils.h"
 #include "wx/panel.h"
@@ -30,9 +34,7 @@
 
 void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-#endif
 
 // Button