/////////////////////////////////////////////////////////////////////////////
-// Name: spinbutt.cpp
+// Name: msw/spinbutt.cpp
// Purpose: wxSpinButton
// Author: Julian Smart
// Modified by:
#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"
bool wxSpinButton::MSWOnNotify(int WXUNUSED(idCtrl), WXLPARAM lParam, WXLPARAM *result)
{
- LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam;
+ NM_UPDOWN *lpnmud = (NM_UPDOWN *)lParam;
if (lpnmud->hdr.hwndFrom != GetHwnd()) // make sure it is the right control
return FALSE;