Reconcile HAVE_VARIADIC_MACROS and wxHAS_VARIADIC_MACROS definitions.

The main user-visible effect of this change is that giving configure
--disable-vararg-macros argument now really disables the use of variadic
macros whereas it didn't disable them in wx/cpp.h before.

It is, of course, also less confusing to not have two very similar but
different symbols.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-07-11 22:40:47 +00:00
parent 46965705ca
commit 168d1f65c1
7 changed files with 33 additions and 25 deletions

View File

@@ -15,7 +15,7 @@
#include "wx/testing.h"
#ifdef wxHAS_VARIADIC_MACROS
#ifdef HAVE_VARIADIC_MACROS
#include "wx/msgdlg.h"
#include "wx/filedlg.h"
@@ -122,4 +122,4 @@ void ModalDialogsTestCase::CustomDialog()
CPPUNIT_ASSERT_EQUAL( 42, dlg.m_value );
}
#endif // wxHAS_VARIADIC_MACROS
#endif // HAVE_VARIADIC_MACROS