File graphthing-deprecated-hide-readonly-flag.patch of Package graphthing
--- src/fancyfileselection.cc
+++ src/fancyfileselection.cc
@@ -26,9 +26,7 @@
const wxString &mask)
: wxFileDialog (parent, title, wxT(""), wxT(""), wxT("*.*"), style)
{
- if (style & wxOPEN)
- style |= wxHIDE_READONLY;
- else if (style & wxSAVE)
+ if (style & wxSAVE)
style |= wxOVERWRITE_PROMPT;
SetStyle (style);