waneck / systools

fork of neko-systools ( https://code.google.com/p/neko-systools ) for Haxe 3/Neko 2
Other
49 stars 21 forks source link

Mac64 SaveDialog bug #26

Open yupswing opened 9 years ago

yupswing commented 9 years ago

When I use the sample code

        var result = Dialogs.saveFile
            ( "Select a file please, or type name"
            , "This additional message will only be shown on OSX"
            , "c:/" // initial path, for windows only
            );
        trace(result);  

The save dialog return a string with C: included

Main.hx:188: /Users/me/Dev/haxe/testDialog/Export/mac64/cpp/bin/testDialog.app/Contents/Resources/c:/test.png

Should I make some #if to set different basepath on different target os or does it support only windows?