I need to set the edited state of a document so that I can show a dialog on an close event. Under Mac I can use BrowserWindow.setDocumentEdited(), but it seems this is not implemented on Windows ?
For me, isDocumentEdited() always returns false under Windows.
Even if setDocumentEdited() actually does not something visually under Windows, should it not at least store the state ? If not, how to store the state under Windows ?