projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed to use current wxSocket flag names instead of old ones
[wxWidgets.git]
/
src
/
motif
/
gauge.cpp
diff --git
a/src/motif/gauge.cpp
b/src/motif/gauge.cpp
index 996845f3d04e95ec0b38531eccca418f58689c3a..b933ec5c8727d7db4426bb19faff70adcc557bb0 100644
(file)
--- a/
src/motif/gauge.cpp
+++ b/
src/motif/gauge.cpp
@@
-15,12
+15,16
@@
#include "wx/gauge.h"
#include "wx/gauge.h"
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
#include <Xm/Xm.h>
#include <Xm/Xm.h>
-#include <wx/motif/private.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
+#include "wx/motif/private.h"
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-#endif
// XmGauge copyright notice:
// XmGauge copyright notice:
@@
-141,7
+145,7
@@
void wxGauge::SetShadowWidth(int w)
XtVaSetValues((Widget) m_mainWidget, XmNshadowThickness, w, NULL);
}
XtVaSetValues((Widget) m_mainWidget, XmNshadowThickness, w, NULL);
}
-void wxGauge::SetBezelFace(int
w
)
+void wxGauge::SetBezelFace(int
WXUNUSED(w)
)
{
}
{
}
@@
-436,7
+440,7
@@
DrawSlider(XmGaugeWidget gw, Boolean clear)
#endif
static void
#endif
static void
-Initialize(Widget
req, Widget new_w, ArgList args, Cardinal *num_args
)
+Initialize(Widget
WXUNUSED(req), Widget new_w, ArgList WXUNUSED(args), Cardinal *WXUNUSED(num_args )
)
{
XmGaugeWidget gw = (XmGaugeWidget)new_w;
#define THIS gw->gauge
{
XmGaugeWidget gw = (XmGaugeWidget)new_w;
#define THIS gw->gauge
@@
-466,10
+470,10
@@
Destroy(Widget w)
static Boolean
SetValues(
Widget cw,
static Boolean
SetValues(
Widget cw,
- Widget
rw
,
+ Widget
WXUNUSED(rw)
,
Widget nw,
Widget nw,
- ArgList
args
,
- Cardinal *
num_args
)
+ ArgList
WXUNUSED(args)
,
+ Cardinal *
WXUNUSED(num_args)
)
{
XmGaugeWidget cgw = (XmGaugeWidget)cw;
XmGaugeWidget ngw = (XmGaugeWidget)nw;
{
XmGaugeWidget cgw = (XmGaugeWidget)cw;
XmGaugeWidget ngw = (XmGaugeWidget)nw;
@@
-493,7
+497,7
@@
SetValues(
static void
static void
-ExposeProc(Widget w, XEvent *
event, Region r
)
+ExposeProc(Widget w, XEvent *
WXUNUSED(event), Region WXUNUSED(r)
)
{
XmGaugeWidget gw = (XmGaugeWidget)w;
#define THIS gw->gauge
{
XmGaugeWidget gw = (XmGaugeWidget)w;
#define THIS gw->gauge
@@
-599,7
+603,7
@@
WidgetClass xmGaugeWidgetClass = (WidgetClass)&xmGaugeClassRec;
void
void
-GaugePick(Widget
w, XEvent *e, String *args, Cardinal *num_args
)
+GaugePick(Widget
WXUNUSED(w), XEvent *WXUNUSED(e), String *WXUNUSED(args), Cardinal *WXUNUSED(num_args)
)
{
/* Commented out for a read-only gauge in wxWindows */
#if 0
{
/* Commented out for a read-only gauge in wxWindows */
#if 0
@@
-665,7
+669,7
@@
GaugePick(Widget w, XEvent *e, String *args, Cardinal *num_args)
#define round(x) ( (x) > 0 ? ((x) + 0.5) : -(-(x) + 0.5) )
void
#define round(x) ( (x) > 0 ? ((x) + 0.5) : -(-(x) + 0.5) )
void
-GaugeDrag(Widget
w, XEvent *e, String *args, Cardinal *num_args
)
+GaugeDrag(Widget
WXUNUSED(w), XEvent *WXUNUSED(e), String *WXUNUSED(args), Cardinal *WXUNUSED(num_args)
)
{
/* Commented out for a read-only gauge in wxWindows */
#if 0
{
/* Commented out for a read-only gauge in wxWindows */
#if 0
@@
-734,7
+738,7
@@
GaugeDrag(Widget w, XEvent *e, String *args, Cardinal *num_args)
void
void
-GaugeDrop(Widget
w, XEvent *e, String *args, Cardinal *num_args
)
+GaugeDrop(Widget
WXUNUSED(w), XEvent *WXUNUSED(e), String *WXUNUSED(args), Cardinal *WXUNUSED(num_args)
)
{
/* Commented out for a read-only gauge in wxWindows */
#if 0
{
/* Commented out for a read-only gauge in wxWindows */
#if 0