Generic file dialog presentation. Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,13 +20,6 @@
|
||||
)
|
||||
|
||||
|
||||
#define USE_FONTDLG_GENERIC \
|
||||
( \
|
||||
wxUSE_FONTDLG && \
|
||||
( defined(__WXMSW__) || defined(__WXPM__) ) && \
|
||||
!defined(__WXUNIVERSAL__) \
|
||||
)
|
||||
|
||||
#define USE_DIRDLG_GENERIC \
|
||||
( \
|
||||
wxUSE_DIRDLG && \
|
||||
@@ -34,6 +27,20 @@
|
||||
!defined(__WXUNIVERSAL__) \
|
||||
)
|
||||
|
||||
#define USE_FILEDLG_GENERIC \
|
||||
( \
|
||||
wxUSE_FILEDLG && \
|
||||
( defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__) ) && \
|
||||
!defined(__WXUNIVERSAL__) \
|
||||
)
|
||||
|
||||
#define USE_FONTDLG_GENERIC \
|
||||
( \
|
||||
wxUSE_FONTDLG && \
|
||||
( defined(__WXMSW__) || defined(__WXPM__) ) && \
|
||||
!defined(__WXUNIVERSAL__) \
|
||||
)
|
||||
|
||||
|
||||
#define USE_MODAL_PRESENTATION 1
|
||||
|
||||
@@ -117,6 +124,12 @@ public:
|
||||
void FileSave(wxCommandEvent& event);
|
||||
#endif // wxUSE_FILEDLG
|
||||
|
||||
#if USE_FILEDLG_GENERIC
|
||||
void FileOpenGeneric(wxCommandEvent& event);
|
||||
void FilesOpenGeneric(wxCommandEvent& event);
|
||||
void FileSaveGeneric(wxCommandEvent& event);
|
||||
#endif // USE_FILEDLG_GENERIC
|
||||
|
||||
#if wxUSE_DIRDLG
|
||||
void DirChoose(wxCommandEvent& event);
|
||||
void DirChooseNew(wxCommandEvent& event);
|
||||
@@ -208,6 +221,9 @@ enum
|
||||
DIALOGS_FILE_OPEN2,
|
||||
DIALOGS_FILES_OPEN,
|
||||
DIALOGS_FILE_SAVE,
|
||||
DIALOGS_FILE_OPEN_GENERIC,
|
||||
DIALOGS_FILES_OPEN_GENERIC,
|
||||
DIALOGS_FILE_SAVE_GENERIC,
|
||||
DIALOGS_DIR_CHOOSE,
|
||||
DIALOGS_DIRNEW_CHOOSE,
|
||||
DIALOGS_GENERIC_DIR_CHOOSE,
|
||||
|
Reference in New Issue
Block a user