Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3472/src/gui

Modified Files:
        wxFiltersDialog.cpp 
Log Message:
temp compilation fix

Index: wxFiltersDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFiltersDialog.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -b -u -2 -r1.121 -r1.122
--- wxFiltersDialog.cpp 11 Jul 2004 21:28:26 -0000      1.121
+++ wxFiltersDialog.cpp 11 Jul 2004 21:43:39 -0000      1.122
@@ -498,6 +498,5 @@
       switch ( test )
       {
-         // spam tests or message flags are decoded separately
-         case ORC_T_IsSpam: return m_spam->ToString();
+         // message flags are decoded separately
          case ORC_T_HasFlag:
             switch ( m_choiceFlags->GetSelection() )
@@ -513,5 +512,6 @@
 
          // Argument is used, but not for spam or message flag
-         default: return m_Argument->GetValue();
+         default:
+            return m_Argument->GetValue();
       }
    }
@@ -553,8 +553,4 @@
    // the parent for all these controls
    wxWindow   *m_Parent;
-
-
-   // the spam test data
-   RefCounter<SpamOptionManager> m_spam;
 };
 
@@ -565,5 +561,4 @@
 
 OneCritControl::OneCritControl(wxWindow *parent, OneCritControl *previous)
-   : m_spam(SpamOptionManager::Create())
 {
    m_Parent = parent;
@@ -810,7 +805,9 @@
 OneCritControl::InitSpamOptions(const String& /* rule */)
 {
+#if 0
    CHECK_RET( m_Argument, _T("no argument control in the spam test?") );
 
    m_spam->FromString(m_Argument->GetValue());
+#endif
 }
 
@@ -818,4 +815,5 @@
 OneCritControl::ShowDetails()
 {
+#if 0
    if ( m_spam->ShowDialog(GetFrame(m_Parent)) )
    {
@@ -827,4 +825,5 @@
    }
    //else: cancelled
+#endif // 0
 }
 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to