]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/button.cpp
Up-ported code to make tree item visible when programmatically
[wxWidgets.git] / src / motif / button.cpp
index 6953b76006d509e5913d267a78c5ec8aebe5c5a3..f9a139b0688da6648c0e2c9a7b8eca5428ecf21f 100644 (file)
 #pragma implementation "button.h"
 #endif
 
+#ifdef __VMS
+#define XtDisplay XTDISPLAY
+#endif
+
+#include "wx/defs.h"
+
 #include "wx/button.h"
 #include "wx/utils.h"
 #include "wx/panel.h"
@@ -30,9 +36,7 @@
 
 void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-#endif
 
 // Button