X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79b9c114114e43832bde1e42d011c9268d1d0f6a..46a5010a06b09318878c33a0a6a532f419ea063d:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 7ca93d2cb8..f875c29fd9 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: spinbutt.cpp +// Name: msw/spinbutt.cpp // Purpose: wxSpinButton // Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -30,18 +30,17 @@ #endif #ifndef WX_PRECOMP - #include "wx/wx.h" +#include "wx/app.h" #endif -// Can't resolve reference to CreateUpDownControl in -// TWIN32, but could probably use normal CreateWindow instead. - #if wxUSE_SPINBTN #include "wx/spinbutt.h" IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) +// Can't resolve reference to CreateUpDownControl in +// TWIN32, but could probably use normal CreateWindow instead. #if defined(__WIN95__) && !defined(__TWIN32__) #include "wx/msw/private.h" @@ -246,7 +245,7 @@ bool wxSpinButton::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, bool wxSpinButton::MSWOnNotify(int WXUNUSED(idCtrl), WXLPARAM lParam, WXLPARAM *result) { - NM_UPDOWN lpnmud = (NM_UPDOWN *)lParam; + NM_UPDOWN *lpnmud = (NM_UPDOWN *)lParam; if (lpnmud->hdr.hwndFrom != GetHwnd()) // make sure it is the right control return FALSE;