X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f42a87192504d5b51532535b8cc8f9147e0a072..aaf765a54931a3add43bcf68cec8c80f0b66b18a:/src/gtk1/spinbutt.cpp?ds=inline diff --git a/src/gtk1/spinbutt.cpp b/src/gtk1/spinbutt.cpp index 6da90d25b5..c3f87369a1 100644 --- a/src/gtk1/spinbutt.cpp +++ b/src/gtk1/spinbutt.cpp @@ -9,12 +9,13 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation "spinbutt.h" + #pragma implementation "spinbutt.h" + #pragma implementation "spinbutbase.h" #endif #include "wx/spinbutt.h" -#ifdef wxUSE_SPINBTN +#if wxUSE_SPINBTN #include "wx/utils.h" @@ -103,7 +104,7 @@ static void gtk_spinbutt_callback( GtkWidget *WXUNUSED(widget), wxSpinButton *wi //----------------------------------------------------------------------------- IMPLEMENT_DYNAMIC_CLASS(wxSpinButton,wxControl) -IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent); +IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) BEGIN_EVENT_TABLE(wxSpinButton, wxControl) EVT_SIZE(wxSpinButton::OnSize)