diff --git a/src/motif/descrip.mms b/src/motif/descrip.mms index b872442739..6e86386049 100644 --- a/src/motif/descrip.mms +++ b/src/motif/descrip.mms @@ -75,6 +75,7 @@ OBJECTS = \ toplevel.obj,\ timer.obj,\ toolbar.obj,\ + utils.obj,\ window.obj SOURCES = \ @@ -128,6 +129,7 @@ SOURCES = \ toplevel.cpp,\ timer.cpp,\ toolbar.cpp,\ + utils.cpp,\ window.cpp,\ [.xmcombo]xmcombo.c\ @@ -190,4 +192,5 @@ textctrl.obj : textctrl.cpp toplevel.obj : toplevel.cpp timer.obj : timer.cpp toolbar.obj : toolbar.cpp +utils.obj : utils.cpp window.obj : window.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 44cf0a4c56..01c0719c0c 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -22,6 +22,7 @@ #endif #include "wx/setup.h" #include "wx/utils.h" +#include "wx/apptrait.h" #include "wx/app.h" #include "wx/dcmemory.h" #include "wx/bitmap.h" @@ -132,7 +133,7 @@ void wxBell() XBell (wxGlobalDisplay(), 0); } -int wxGetOsVersion(int *majorVsn, int *minorVsn) +int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn) { // FIXME TODO // This code is WRONG!! Does NOT return the