Fix compilation with C++98 compilers after recent change

Use NULL instead of nullptr after the recent 03ccc88db8 (Support
Caps/Num/Scroll Lock in wxGetKeyState() in wxGTK, 2023-01-30).

See #23195.
This commit is contained in:
Vadim Zeitlin 2023-01-31 15:02:10 +01:00
parent fdf43f8049
commit 43994dddbd

View File

@ -2636,7 +2636,7 @@ static bool wxGetKeyStateGTK(wxKeyCode key)
#if GTK_CHECK_VERSION(3,18,0) #if GTK_CHECK_VERSION(3,18,0)
case WXK_SCROLL: case WXK_SCROLL:
if (gtk_check_version(3,18,0) == nullptr) if (gtk_check_version(3,18,0) == NULL)
return gdk_keymap_get_scroll_lock_state(keymap) != FALSE; return gdk_keymap_get_scroll_lock_state(keymap) != FALSE;
wxFALLTHROUGH; wxFALLTHROUGH;
#endif // GTK 3.18+ #endif // GTK 3.18+