Revision: 7482
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7482&view=rev
Author:   vadz
Date:     2008-05-22 17:54:53 -0700 (Thu, 22 May 2008)

Log Message:
-----------
reduce MAX_CONTROLS in wxOneFilterDialog to 16 from 256, nobody needs that many

Modified Paths:
--------------
    trunk/M/src/gui/wxFiltersDialog.cpp

Modified: trunk/M/src/gui/wxFiltersDialog.cpp
===================================================================
--- trunk/M/src/gui/wxFiltersDialog.cpp 2008-05-14 00:14:27 UTC (rev 7481)
+++ trunk/M/src/gui/wxFiltersDialog.cpp 2008-05-23 00:54:53 UTC (rev 7482)
@@ -335,9 +335,9 @@
 // wxOneFilterDialog - dialog for exactly one filter rule
 // ----------------------------------------------------------------------------
 
-#define MAX_CONTROLS   256
-
-/** A class representing the configuration GUI for a single filter. */
+/**
+   A class representing the configuration GUI for a single filter.
+ */
 class wxOneFilterDialog : public wxManuallyLaidOutDialog
 {
 public:
@@ -364,6 +364,9 @@
    void OnCheckBox(wxCommandEvent&) { UpdateProgram(); }
 
 protected:
+   // maximal number of controls in the dialog
+   enum { MAX_CONTROLS = 16 };
+
    void DoUpdateUI();
 
    void AddOneControl();


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to