wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -202,7 +202,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
|
||||
wxConvFileName->cWX2MB(defaultFileName));
|
||||
|
||||
#if GTK_CHECK_VERSION(2,7,3)
|
||||
if ((style & wxOVERWRITE_PROMPT) && !gtk_check_version(2,7,3))
|
||||
if ((style & wxFD_OVERWRITE_PROMPT) && !gtk_check_version(2,7,3))
|
||||
gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(m_widget), TRUE);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user