X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e13c1ec4e6e8d2c5852df39c6be5db4fd279227..3cb6eaec797ebbe20a0e05e5c9ba625909845e72:/src/gtk1/spinctrl.cpp diff --git a/src/gtk1/spinctrl.cpp b/src/gtk1/spinctrl.cpp index e0c8046cfa..e2a7824071 100644 --- a/src/gtk1/spinctrl.cpp +++ b/src/gtk1/spinctrl.cpp @@ -11,14 +11,16 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/spinctrl.h" - #if wxUSE_SPINCTRL -#include "wx/utils.h" +#include "wx/spinctrl.h" + +#ifndef WX_PRECOMP + #include "wx/utils.h" + #include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED + #include "wx/math.h" +#endif -#include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED -#include "wx/math.h" #include "wx/gtk1/private.h" //-----------------------------------------------------------------------------