]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/font.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / motif / font.cpp
index 048592aeb00c8dfc6dff5626606c98e9c4d96a5d..9ce3b3cce0f0b5f3cbbe3c710d02f3c042e5c5e6 100644 (file)
     #pragma implementation "font.h"
 #endif
 
+#ifdef __VMS
+#pragma message disable nosimpint
+#include "wx/vms_x_fix.h"
+#endif
 #include <Xm/Xm.h>
+#ifdef __VMS
+#pragma message enable nosimpint
+#endif
 
 #include "wx/defs.h"
 #include "wx/string.h"
@@ -30,9 +37,7 @@
 #include "wx/utils.h"       // for wxGetDisplay()
 #include "wx/fontutil.h"
 
-#if !USE_SHARED_LIBRARIES
     IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-#endif
 
 // ----------------------------------------------------------------------------
 // private classes