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:
@@ -33,7 +33,10 @@
|
|||||||
#include "wx/msw/private.h" // for GetDesktopWindow()
|
#include "wx/msw/private.h" // for GetDesktopWindow()
|
||||||
|
|
||||||
// Set to the popup window currently being shown, if any.
|
// 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
|
// implementation
|
||||||
|
Reference in New Issue
Block a user