X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d5016b18bfaee2f1694e386a7dff89868a03b6d..f4ac09e8e9007b5b77b25599afed5cfe08d1d77a:/src/generic/richmsgdlgg.cpp diff --git a/src/generic/richmsgdlgg.cpp b/src/generic/richmsgdlgg.cpp index c656332a68..397cfd051a 100644 --- a/src/generic/richmsgdlgg.cpp +++ b/src/generic/richmsgdlgg.cpp @@ -3,7 +3,6 @@ // Purpose: wxGenericRichMessageDialog // Author: Rickard Westerlund // Created: 2010-07-04 -// RCS-ID: $Id$ // Copyright: (c) 2010 wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -84,7 +83,7 @@ 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(); + return m_checkBox ? m_checkBox->IsChecked() : m_checkBoxValue; } #endif // wxUSE_RICHMSGDLG