On 2014-02-15 12:43:43 -0600 Fred Kiefer <fredkie...@gmx.de> wrote: > On 13.02.2014 06:00, Germán Arias wrote: [...] > > Sorry, only now do I think I actually understand this issue. In the > WinNSSavePanel you want to replace the accessory view with values for > the lpstrFilter. But in the method on WinNSSavePanel you no longer have > access to the NSDocument or the save operation and need to get these > values in some other way. > Now would it be an option to access the _spa_button of the accessory > view from the WinNSSavePanel? We could give that button a specific tag > and your code would request the view with that tag? Not very beautiful > code, but an option if your attempts to solve it otherwise fail.
I solve the problem using _openableFileExtensions and writableTypesForSaveOperation:. The title of the panel let me know the type of save operation. Now I will add a little hack in ProjectCenter to allow it use native panels. > > In one of your mail you wrote: "However, if I remember correctly, NSLog > don't works in a theme (almost on Windows)." > As far as I remember the output from NSLog ends up in the Event viewer > of Windows. And if you run with a debugger it should be outputted there. Yes, this works with gdb. Germán. > > Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev