projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket #1032 wxVariant::operator==(wxVariant& variant) has bad bug
[wxWidgets.git]
/
src
/
gtk1
/
checkbox.cpp
diff --git
a/src/gtk1/checkbox.cpp
b/src/gtk1/checkbox.cpp
index a85a9b4acfedea5d1df16a0ae325e4c5867372b5..4bd1fd35aff8c3d21ac3b2898831eef7f11ab68f 100644
(file)
--- a/
src/gtk1/checkbox.cpp
+++ b/
src/gtk1/checkbox.cpp
@@
-36,7
+36,8
@@
extern wxWindowGTK *g_delayedFocus;
//-----------------------------------------------------------------------------
extern "C" {
//-----------------------------------------------------------------------------
extern "C" {
-static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb)
+static void gtk_checkbox_toggled_callback(GtkWidget *WXUNUSED(widget),
+ wxCheckBox *cb)
{
if (g_isIdle) wxapp_install_idle_handler();
{
if (g_isIdle) wxapp_install_idle_handler();
@@
-49,7
+50,7
@@
static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb)
wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, cb->GetId());
event.SetInt(cb->GetValue());
event.SetEventObject(cb);
wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, cb->GetId());
event.SetInt(cb->GetValue());
event.SetEventObject(cb);
- cb->
GetEventHandler()->Process
Event(event);
+ cb->
HandleWindow
Event(event);
}
}
}
}