mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-15 10:39:13 +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
50 lines
1.5 KiB
C++
50 lines
1.5 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/generic/richmsgdlgg.h
|
|
// Purpose: wxGenericRichMessageDialog
|
|
// Author: Rickard Westerlund
|
|
// Created: 2010-07-04
|
|
// RCS-ID: $Id: richmsgdlgg.h 65356 2010-08-19 00:06:12Z VZ $
|
|
// Copyright: (c) 2010 wxWidgets team
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_GENERIC_RICHMSGDLGG_H_
|
|
#define _WX_GENERIC_RICHMSGDLGG_H_
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxCheckBox;
|
|
class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane;
|
|
class WXDLLIMPEXP_FWD_CORE wxCollapsiblePaneEvent;
|
|
|
|
class WXDLLIMPEXP_CORE wxGenericRichMessageDialog
|
|
: public wxRichMessageDialogBase
|
|
{
|
|
public:
|
|
wxGenericRichMessageDialog(wxWindow *parent,
|
|
const wxString& message,
|
|
const wxString& caption,
|
|
long style)
|
|
: wxRichMessageDialogBase( parent, message, caption, style ),
|
|
m_checkBox(NULL),
|
|
m_detailsPane(NULL)
|
|
{ }
|
|
|
|
virtual bool IsCheckBoxChecked() const;
|
|
|
|
protected:
|
|
wxCheckBox *m_checkBox;
|
|
wxCollapsiblePane *m_detailsPane;
|
|
|
|
// overrides methods in the base class
|
|
virtual void AddMessageDialogCheckBox(wxSizer *sizer);
|
|
virtual void AddMessageDialogDetails(wxSizer *sizer);
|
|
|
|
private:
|
|
void OnPaneChanged(wxCollapsiblePaneEvent& event);
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
wxDECLARE_NO_COPY_CLASS(wxGenericRichMessageDialog);
|
|
};
|
|
|
|
#endif // _WX_GENERIC_RICHMSGDLGG_H_
|