From f81cc8e61e43acb31ff21eccb7296eb535e8defe Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Tue, 1 Aug 2017 20:45:30 +0200 Subject: [PATCH] Fix compilation when wxUSE_SPINCTRL==0 In wxWindowMac code there is a reference to wxSpinButton (not wxSpinCtrl), so we need to include wxSpinButton's header file. --- src/osx/window_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index fa0587f493..aea8abb0fd 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -38,7 +38,7 @@ #endif #include "wx/tooltip.h" -#include "wx/spinctrl.h" +#include "wx/spinbutt.h" #include "wx/geometry.h" #include "wx/weakref.h"