remove scope-resolution operator from wxLogError() call: this doesn't work any more as it's a macro and not a function now; mention this in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -253,6 +253,12 @@ Changes in behaviour which may result in compilation errors
|
||||
references have been removed, modifying the returned bitmaps never worked and
|
||||
now results in compile-time error.
|
||||
|
||||
- wxLogXXX() are now macros, not functions. Because of this calling them with
|
||||
an explicit scope resolution operator ("::wxLogError()") doesn't work any
|
||||
longer, just remove it. Also notice that using them inside an "if" statement
|
||||
without enclosing parentheses results in warnings from g++ with -Wparentheses,
|
||||
add parentheses around the if statement body to work around it.
|
||||
|
||||
|
||||
Deprecated methods and their replacements
|
||||
-----------------------------------------
|
||||
|
Reference in New Issue
Block a user