Fix harmless warning about using wxCONTROL_CHECKED in ternary operator.
Add wxCONTROL_NONE which is just a symbolic name for 0 and use it in the code to avoid g++ 4.8 warnings about mixing enum and int in conditional expression. Closes #16242. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,13 @@
|
||||
*/
|
||||
enum
|
||||
{
|
||||
/**
|
||||
Default state, no special flags.
|
||||
|
||||
@since 3.1.0
|
||||
*/
|
||||
wxCONTROL_NONE = 0x00000000,
|
||||
|
||||
/** Control is disabled. */
|
||||
wxCONTROL_DISABLED = 0x00000001,
|
||||
|
||||
|
Reference in New Issue
Block a user