diff --git a/setup.h_vms b/setup.h_vms index 0cbe0b83af..0c4d7e852f 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -154,7 +154,7 @@ * Use OpenGL */ #define wxUSE_OPENGL 1 - +#define wxUSE_GLCANVAS 1 /* * Use GUI */ diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index 3ee44f1757..5f6f2f05a7 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -248,6 +248,7 @@ wxLongLong wxGetLocalTimeMillis() val *= tp.tv_sec; return (val + (tp.tv_usec / 1000)); } + return 0; #elif defined(HAVE_FTIME) struct timeb tp; if ( ftime(&tp) == 0 )