]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
Use wxVisualAttributes (partially #if'd out until tested further.)
[wxWidgets.git] / src / motif / scrolbar.cpp
index 9025adcefc0aae9b54da8f77f9e38b8ba174845f..3d17e927afd2b5e999d46d3d7f95a841261581a3 100644 (file)
@@ -9,15 +9,19 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "scrolbar.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/defs.h"
 #include "wx/scrolbar.h"
 
 #ifdef __VMS__
 #pragma message disable nosimpint
+#define XtDisplay XTDISPLAY
 #endif
 #include <Xm/Xm.h>
 #include <Xm/ScrollBar.h>