]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
slider link fix 2.
[wxWidgets.git] / src / motif / toolbar.cpp
index 194d90ddd73c05b847370dd6ea84793e23026b3a..727ef5421c792d843214f2ae2326564dacddc7c3 100644 (file)
@@ -18,6 +18,9 @@
 #include "wx/timer.h"
 #include "wx/toolbar.h"
 
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
 #include <Xm/Xm.h>
 #include <Xm/PushBG.h>
 #include <Xm/PushB.h>
@@ -25,6 +28,9 @@
 #include <Xm/ToggleB.h>
 #include <Xm/ToggleBG.h>
 #include <Xm/Form.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
 
 #include "wx/motif/private.h"
 
@@ -411,7 +417,7 @@ void wxToolBar::DestroyPixmaps()
 // If toggle is TRUE, the button toggles between the two states.
 
 wxToolBarTool *wxToolBar::AddTool(int index, const wxBitmap& bitmap, const wxBitmap& WXUNUSED(pushedBitmap),
-             bool toggle, long xPos, long yPos, wxObject *clientData, const wxString& helpString1, const wxString& helpString2)
+             bool toggle, wxCoord xPos, wxCoord yPos, wxObject *clientData, const wxString& helpString1, const wxString& helpString2)
 {
   wxToolBarTool *tool = new wxToolBarTool(index, bitmap, wxNullBitmap, toggle, xPos, yPos, helpString1, helpString2);
   tool->m_clientData = clientData;