Diff of /ooDialog/trunk/ooDialog/oodShellObjects.cpp [r9449] .. [r9450]  Maximize  Restore

Switch to side-by-side view

--- a/ooDialog/trunk/ooDialog/oodShellObjects.cpp
+++ b/ooDialog/trunk/ooDialog/oodShellObjects.cpp
@@ -4052,6 +4052,11 @@
  */
 RexxMethod1(RexxObjectPtr, cde_init, OSELF, self)
 {
+    if ( ! requiredOS(context, Vista_OS, "CommonDialogEvents", "Vista") )
+    {
+        return TheOneObj;
+    }
+
     CommonDialogEvents *pcde = new (std::nothrow) CommonDialogEvents(self, context->threadContext->instance);
 
     RexxBufferObject bufObj = context->NewBuffer(sizeof(CCommonDialogEvents));

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks