22 lines
634 B
Diff
22 lines
634 B
Diff
|
diff -Nru graphthing-1.3.2/src/fancyfileselection.cc graphthing-1.3.2.buono/src/fancyfileselection.cc
|
||
|
--- graphthing-1.3.2/src/fancyfileselection.cc 2006-09-11 03:32:12.000000000 +0200
|
||
|
+++ graphthing-1.3.2.buono/src/fancyfileselection.cc 2008-04-05 16:21:00.000000000 +0200
|
||
|
@@ -2,6 +2,8 @@
|
||
|
// fancyfileselection.cc
|
||
|
//
|
||
|
|
||
|
+#define wxHIDE_READONLY 0x0008
|
||
|
+
|
||
|
#include "wx/filedlg.h"
|
||
|
#include "wx/string.h"
|
||
|
#include "wx/window.h"
|
||
|
@@ -30,7 +32,7 @@
|
||
|
style |= wxHIDE_READONLY;
|
||
|
else if (style & wxSAVE)
|
||
|
style |= wxOVERWRITE_PROMPT;
|
||
|
- SetStyle (style);
|
||
|
+ SetWindowStyle (style);
|
||
|
|
||
|
if (file_types) {
|
||
|
wxString wc = wxT("");
|