Move IsCheckBoxChecked() to the .cpp file where wxCheckBox is fully defined
and not just forward declared (at least when not using PCH).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65356
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_detailsPane(NULL)
{ }
- virtual bool IsCheckBoxChecked() const
- {
- // This function can be called before the dialog is shown and hence
- // before the check box is created.
- return m_checkBox? m_checkBoxValue : m_checkBox->IsChecked();
- }
+ virtual bool IsCheckBoxChecked() const;
protected:
wxCheckBox *m_checkBox;
#if wxUSE_RICHMSGDLG
#ifndef WX_PRECOMP
+ #include "wx/checkbox.h"
#include "wx/stattext.h"
#include "wx/sizer.h"
#endif
}
}
+bool wxGenericRichMessageDialog::IsCheckBoxChecked() const
+{
+ // This function can be called before the dialog is shown and hence before
+ // the check box is created.
+ return m_checkBox? m_checkBoxValue : m_checkBox->IsChecked();
+}
+
#endif // wxUSE_RICHMSGDLG