mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-13 01:29:11 +01:00
d14efe561b
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
52 lines
1.6 KiB
C++
52 lines
1.6 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/dirdlg.h
|
|
// Purpose: wxDirDialog class
|
|
// Author: Ryan Norton
|
|
// Modified by: Hiroyuki Nakamura(maloninc)
|
|
// Created: 2006-01-10
|
|
// RCS-ID: $Id: dirdlg.h 61724 2009-08-21 10:41:26Z VZ $
|
|
// Copyright: (c) Ryan Norton
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_COCOA_DIRDLG_H_
|
|
#define _WX_COCOA_DIRDLG_H_
|
|
|
|
DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
|
|
|
|
#define wxDirDialog wxCocoaDirDialog
|
|
//-------------------------------------------------------------------------
|
|
// wxDirDialog
|
|
//-------------------------------------------------------------------------
|
|
|
|
class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
|
|
{
|
|
DECLARE_DYNAMIC_CLASS(wxDirDialog)
|
|
wxDECLARE_NO_COPY_CLASS(wxDirDialog);
|
|
public:
|
|
wxDirDialog(wxWindow *parent,
|
|
const wxString& message = wxDirSelectorPromptStr,
|
|
const wxString& defaultPath = wxT(""),
|
|
long style = wxDD_DEFAULT_STYLE,
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
const wxSize& size = wxDefaultSize,
|
|
const wxString& name = wxDirDialogNameStr);
|
|
virtual ~wxDirDialog();
|
|
|
|
virtual int ShowModal();
|
|
|
|
inline WX_NSSavePanel GetNSSavePanel()
|
|
{ return (WX_NSSavePanel)m_cocoaNSWindow; }
|
|
|
|
protected:
|
|
wxString m_dir;
|
|
wxWindow * m_parent;
|
|
wxString m_fileName;
|
|
|
|
private:
|
|
wxArrayString m_fileNames;
|
|
};
|
|
|
|
#endif // _WX_DIRDLG_H_
|
|
|