Committing in .
Modifications to get rid of warnings on VMS Modified Files: wxWindows/include/wx/utils.h wxWindows/src/common/date.cpp wxWindows/src/common/datstrm.cpp wxWindows/src/common/gdicmn.cpp wxWindows/src/common/image.cpp wxWindows/src/common/object.cpp wxWindows/src/common/sckipc.cpp wxWindows/src/common/txtstrm.cpp wxWindows/src/generic/fontdlgg.cpp wxWindows/src/generic/listctrl.cpp wxWindows/src/generic/scrolwin.cpp wxWindows/src/generic/splitter.cpp wxWindows/src/motif/app.cpp wxWindows/src/motif/bitmap.cpp wxWindows/src/motif/bmpbuttn.cpp wxWindows/src/motif/button.cpp wxWindows/src/motif/checkbox.cpp wxWindows/src/motif/choice.cpp wxWindows/src/motif/clipbrd.cpp wxWindows/src/motif/colour.cpp wxWindows/src/motif/combobox.cpp wxWindows/src/motif/control.cpp wxWindows/src/motif/cursor.cpp wxWindows/src/motif/dataobj.cpp wxWindows/src/motif/dcclient.cpp wxWindows/src/motif/dcmemory.cpp wxWindows/src/motif/dcscreen.cpp wxWindows/src/motif/dialog.cpp wxWindows/src/motif/filedlg.cpp wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp wxWindows/src/motif/gauge.cpp wxWindows/src/motif/icon.cpp wxWindows/src/motif/listbox.cpp wxWindows/src/motif/mdi.cpp wxWindows/src/motif/menu.cpp wxWindows/src/motif/menuitem.cpp wxWindows/src/motif/msgdlg.cpp wxWindows/src/motif/palette.cpp wxWindows/src/motif/radiobox.cpp wxWindows/src/motif/radiobut.cpp wxWindows/src/motif/region.cpp wxWindows/src/motif/scrolbar.cpp wxWindows/src/motif/settings.cpp wxWindows/src/motif/slider.cpp wxWindows/src/motif/statbmp.cpp wxWindows/src/motif/statbox.cpp wxWindows/src/motif/stattext.cpp wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/timer.cpp wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/utils.cpp wxWindows/src/motif/window.cpp wxWindows/src/unix/fontutil.cpp wxWindows/src/unix/utilsunx.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,11 +16,17 @@
|
||||
#include "wx/slider.h"
|
||||
#include "wx/utils.h"
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
#endif
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/Label.h>
|
||||
#include <Xm/LabelG.h>
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/Scale.h>
|
||||
#ifdef __VMS__
|
||||
#pragma message enable nosimpint
|
||||
#endif
|
||||
|
||||
#include "wx/motif/private.h"
|
||||
|
||||
@@ -93,12 +99,20 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
m_mainWidget = (WXWidget) sliderWidget;
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable codcauunr
|
||||
// VMS gives here the compiler warning :
|
||||
// statement either is unreachable or causes unreachable code
|
||||
#endif
|
||||
if(style & wxSL_NOTIFY_DRAG)
|
||||
XtAddCallback (sliderWidget, XmNdragCallback,
|
||||
(XtCallbackProc) wxSliderCallback, (XtPointer) this);
|
||||
else
|
||||
XtAddCallback (sliderWidget, XmNvalueChangedCallback,
|
||||
(XtCallbackProc) wxSliderCallback, (XtPointer) this);
|
||||
#ifdef __VMS__
|
||||
#pragma message enable codcauunr
|
||||
#endif
|
||||
|
||||
XtAddCallback (sliderWidget, XmNdragCallback, (XtCallbackProc) wxSliderCallback, (XtPointer) this);
|
||||
|
||||
|
Reference in New Issue
Block a user