Add wx headers and ext
This commit is contained in:
parent
6390dcef6a
commit
66d3c7b811
1531 changed files with 295895 additions and 0 deletions
48
wxheaders/wx/generic/richmsgdlgg.h
Normal file
48
wxheaders/wx/generic/richmsgdlgg.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/generic/richmsgdlgg.h
|
||||
// Purpose: wxGenericRichMessageDialog
|
||||
// Author: Rickard Westerlund
|
||||
// Created: 2010-07-04
|
||||
// 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 = wxASCII_STR(wxMessageBoxCaptionStr),
|
||||
long style = wxOK | wxCENTRE)
|
||||
: wxRichMessageDialogBase( parent, message, caption, style ),
|
||||
m_checkBox(NULL),
|
||||
m_detailsPane(NULL)
|
||||
{ }
|
||||
|
||||
virtual bool IsCheckBoxChecked() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
wxCheckBox *m_checkBox;
|
||||
wxCollapsiblePane *m_detailsPane;
|
||||
|
||||
// overrides methods in the base class
|
||||
virtual void AddMessageDialogCheckBox(wxSizer *sizer) wxOVERRIDE;
|
||||
virtual void AddMessageDialogDetails(wxSizer *sizer) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
void OnPaneChanged(wxCollapsiblePaneEvent& event);
|
||||
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxGenericRichMessageDialog);
|
||||
};
|
||||
|
||||
#endif // _WX_GENERIC_RICHMSGDLGG_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue