X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe6cf1284497c450735cdeb76cc99de9b18beb5f..467e04791c0d5914dc8ed8e535af607f7fc1dfe1:/include/wx/filedlg.h diff --git a/include/wx/filedlg.h b/include/wx/filedlg.h index 52d5aeb6d0..cf82cba2cc 100644 --- a/include/wx/filedlg.h +++ b/include/wx/filedlg.h @@ -5,18 +5,16 @@ // Modified by: // Created: 8/17/99 // Copyright: (c) Robert Roebling -// RCS-ID: +// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FILEDLG_H_BASE_ #define _WX_FILEDLG_H_BASE_ -#if wxUSE_FILEDLG +#include "wx/defs.h" -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "filedlg.h" -#endif +#if wxUSE_FILEDLG #include "wx/dialog.h" #include "wx/arrstr.h" @@ -38,8 +36,8 @@ enum wxCHANGE_DIR = 0x0040 }; -extern WXDLLEXPORT_DATA(const wxChar*) wxFileSelectorPromptStr; -extern WXDLLEXPORT_DATA(const wxChar*) wxFileSelectorDefaultWildcardStr; +extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[]; +extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorDefaultWildcardStr[]; //---------------------------------------------------------------------------- // wxFileDialogBase @@ -111,7 +109,6 @@ public: protected: wxString m_message; long m_dialogStyle; - wxWindow *m_parent; wxString m_dir; wxString m_path; // Full path wxString m_fileName; @@ -171,8 +168,10 @@ wxSaveFileSelector(const wxChar *what, #include "wx/msw/filedlg.h" #elif defined(__WXMOTIF__) #include "wx/motif/filedlg.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/filedlg.h" +#elif defined(__WXGTK__) +#include "wx/gtk1/filedlg.h" #elif defined(__WXX11__) #include "wx/generic/filedlgg.h" #elif defined(__WXMGL__)