restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,6 +113,19 @@ int wxFileDialogBase::ParseWildcard(const wxString& filterStr,
|
||||
}
|
||||
#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)
|
||||
{
|
||||
@@ -313,4 +326,22 @@ WXDLLEXPORT wxString wxSaveFileSelector(const wxChar *what,
|
||||
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
|
||||
|
Reference in New Issue
Block a user