#include "wx/iconloc.h"
#include "wx/confbase.h"
-#ifdef __WXMSW__
+#ifdef __WINDOWS__
#include "wx/msw/registry.h"
#include "wx/msw/private.h"
#endif // OS
}
}
+ if ( foundFilename )
+ {
+ // Some values also contain an addition %* expansion string which is
+ // presumably supposed to be replaced with the names of the other files
+ // accepted by the command. As we don't support more than one file
+ // anyhow, simply ignore it.
+ command.Replace(" %*", "");
+ }
+
return foundFilename;
}