projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No code changes, fixed various typos.
[wxWidgets.git]
/
src
/
gtk1
/
spinbutt.cpp
diff --git
a/src/gtk1/spinbutt.cpp
b/src/gtk1/spinbutt.cpp
index 84e55b4d933068a9b95ba5a3e3b9f99f8f8a1914..447adb0830deb4777c94e54fc4b08b50e4cdf81b 100644
(file)
--- a/
src/gtk1/spinbutt.cpp
+++ b/
src/gtk1/spinbutt.cpp
@@
-66,7
+66,7
@@
static void gtk_spinbutt_callback( GtkWidget *WXUNUSED(widget), wxSpinButton *wi
event.SetPosition( value );
event.SetEventObject( win );
event.SetPosition( value );
event.SetEventObject( win );
- if ((win->
GetEventHandler()->Process
Event( event )) &&
+ if ((win->
HandleWindow
Event( event )) &&
!event.IsAllowed() )
{
/* program has vetoed */
!event.IsAllowed() )
{
/* program has vetoed */
@@
-94,7
+94,7
@@
static void gtk_spinbutt_callback( GtkWidget *WXUNUSED(widget), wxSpinButton *wi
wxSpinEvent event2( command, win->GetId());
event2.SetPosition( value );
event2.SetEventObject( win );
wxSpinEvent event2( command, win->GetId());
event2.SetPosition( value );
event2.SetEventObject( win );
- win->
GetEventHandler()->Process
Event( event2 );
+ win->
HandleWindow
Event( event2 );
}
}
}
}
}
}
@@
-103,9
+103,6
@@
static void gtk_spinbutt_callback( GtkWidget *WXUNUSED(widget), wxSpinButton *wi
// wxSpinButton
//-----------------------------------------------------------------------------
// wxSpinButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton,wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxSpinButton, wxControl)
EVT_SIZE(wxSpinButton::OnSize)
END_EVENT_TABLE()
BEGIN_EVENT_TABLE(wxSpinButton, wxControl)
EVT_SIZE(wxSpinButton::OnSize)
END_EVENT_TABLE()