Don't use "extern" when initializing wxCurrentPopupWindow

Avoid (harmless) warning about the variable being initialized and
declared "extern" added by 56c4191168.
This commit is contained in:
Vadim Zeitlin 2018-10-31 23:26:02 +01:00
parent c1a2d2c967
commit a316942c18

View File

@ -33,7 +33,10 @@
#include "wx/msw/private.h" // for GetDesktopWindow()
// Set to the popup window currently being shown, if any.
extern wxPopupWindow* wxCurrentPopupWindow = NULL;
//
// Note that this global variable is used in src/msw/window.cpp and so must be
// extern.
wxPopupWindow* wxCurrentPopupWindow = NULL;
// ============================================================================
// implementation