wxFS_SEEKABLE flags is deprecated. You can still seek, but use the flag.
- Constructor wxZipInputStream(const wxString& archive, const wxString& file)
deprecated in favour of wxFileSystem (other zip ctors are not deprecated).
-
+- wx{Dir|File}Dialog::{Set|Get}Style deprecated in favour of the generic
+ wxWindow::{Set|Get}WindowStyle()
Major new features in 2.8 release
return true;
}
+#if WXWIN_COMPATIBILITY_2_6
+
+ wxDEPRECATED( long GetStyle() const );
+ wxDEPRECATED( void SetStyle(long style) );
+
+#endif // WXWIN_COMPATIBILITY_2_6
virtual void SetMessage(const wxString& message) { m_message = message; }
virtual void SetPath(const wxString& path) { m_path = path; }
wxArrayString& filters) );
#endif // WXWIN_COMPATIBILITY_2_4
+#if WXWIN_COMPATIBILITY_2_6
+
+ wxDEPRECATED( long GetStyle() const );
+ wxDEPRECATED( void SetStyle(long style) );
+
+#endif // WXWIN_COMPATIBILITY_2_6
+
+
// Append first extension to filePath from a ';' separated extensionList
// if filePath = "path/foo.bar" just return it as is
// if filePath = "foo[.]" and extensionList = "*.jpg;*.png" return "foo.jpg"
}
#endif // WXWIN_COMPATIBILITY_2_4
+#if WXWIN_COMPATIBILITY_2_6
+long wxFileDialogBase::GetStyle() const
+{
+ return GetWindowStyle();
+}
+
+void wxFileDialogBase::SetStyle(long style)
+{
+ SetWindowStyle(style);
+}
+#endif // WXWIN_COMPATIBILITY_2_6
+
+
wxString wxFileDialogBase::AppendExtension(const wxString &filePath,
const wxString &extensionList)
{
return wxDefaultFileSelector(false, what, extension, default_name, parent);
}
+
+//----------------------------------------------------------------------------
+// wxDirDialogBase
+//----------------------------------------------------------------------------
+
+#if WXWIN_COMPATIBILITY_2_6
+long wxDirDialogBase::GetStyle() const
+{
+ return GetWindowStyle();
+}
+
+void wxDirDialogBase::SetStyle(long style)
+{
+ SetWindowStyle(style);
+}
+#endif // WXWIN_COMPATIBILITY_2_6
+
+
#endif // wxUSE_FILEDLG