projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed incorrect param from docs
[wxWidgets.git]
/
src
/
motif
/
control.cpp
diff --git
a/src/motif/control.cpp
b/src/motif/control.cpp
index 4a799084775bd04c81c70ff4d58db1646af3c710..c31dec797f2882be426cad8e3cfd2a38e39e2849 100644
(file)
--- a/
src/motif/control.cpp
+++ b/
src/motif/control.cpp
@@
-67,7
+67,7
@@
wxControl::~wxControl()
wxPanel *panel = wxDynamicCast(GetParent(), wxPanel);
if (panel)
{
- if (panel->GetDefaultItem() == this)
+ if (
(wxControl *)
panel->GetDefaultItem() == this)
panel->SetDefaultItem((wxButton*) NULL);
}
}