X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/355b4d3de54b76db87439fa2142c7334a6e48f85..937f314d3fcb38b7740d6d014a6099236907fa3b:/src/motif/gauge.cpp diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 268e733f16..dbb5a2495e 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -13,7 +13,7 @@ #include "wx/wxprec.h" #ifdef __VMS -#include +#include "wx/vms_x_fix.h" #undef XtDisplay #undef XtScreen #undef XtWindow @@ -140,8 +140,8 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, int x = pos.x; int y = pos.y; wxSize best = GetBestSize(); - if( size.x != -1 ) best.x = size.x; - if( size.y != -1 ) best.y = size.y; + if( size.x != wxDefaultCoord ) best.x = size.x; + if( size.y != wxDefaultCoord ) best.y = size.y; ChangeFont(false);