Add wxRESERVED_PARAM symbolic constant and use it instead of 0

This is more readable than just using "0" or "NULL" and shorter than
writing a comment every time.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-01-09 21:31:41 +01:00
parent 1ebfda6d89
commit 24c7baa07e
8 changed files with 28 additions and 28 deletions

View File

@@ -997,7 +997,7 @@ bool wxWindowMSW::EnableTouchEvents(int eventsMask)
if ( !GestureFuncs::SetGestureConfig()
(
m_hWnd,
0, // Reserved, must be always 0.
wxRESERVED_PARAM,
numConfigs, // Number of gesture configurations.
ptrConfigs, // Pointer to the first one.
sizeof(GESTURECONFIG) // Size of each configuration.