From 7ff27f31eafda0873498f3c8a88ad2be6f4cacc9 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 19 Jan 2009 14:49:41 +0000 Subject: [PATCH] remove comment recommending (wxWindow*) NULL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/doxygen/mainpages/devtips.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/doxygen/mainpages/devtips.h b/docs/doxygen/mainpages/devtips.h index 02acccbb3e..085b4ea960 100644 --- a/docs/doxygen/mainpages/devtips.h +++ b/docs/doxygen/mainpages/devtips.h @@ -266,19 +266,6 @@ switched off by default) since it is a notoriously unportable feature. wxWidgets does not use C++ run-time type information since wxWidgets provides its own run-time type information system, implemented using macros. -@subsection page_multiplatform_cpp_null Type of NULL - -Some compilers (e.g. the native IRIX cc) define @NULL to be 0L so that no -conversion to pointers is allowed. Because of that, all these occurrences of -@NULL in the GTK+ port use an explicit conversion such as - -@code -wxWindow *my_window = (wxWindow*) NULL; -@endcode - -It is recommended to adhere to this in all code using wxWidgets as this make -the code (a bit) more portable. - @subsection page_multiplatform_cpp_precompiledheaders Precompiled Headers Some compilers, such as Borland C++ and Microsoft C++, support precompiled