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
/
gtk
/
radiobox.cpp
diff --git
a/src/gtk/radiobox.cpp
b/src/gtk/radiobox.cpp
index 9ad17a94fe582e4899105635a6135e28c9aeca01..fe7709a31dfc489de783265a334fc25dc364056f 100644
(file)
--- a/
src/gtk/radiobox.cpp
+++ b/
src/gtk/radiobox.cpp
@@
-17,6
+17,7
@@
#include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/dialog.h"
#include "wx/frame.h"
+#include "wx/log.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
@@
-142,7
+143,10
@@
static gint gtk_radiobutton_focus_out( GtkWidget *widget,
GdkEvent *WXUNUSED(event),
wxRadioBox *win )
{
GdkEvent *WXUNUSED(event),
wxRadioBox *win )
{
- wxASSERT_MSG( win->m_hasFocus, _T("got focus out without any focus in?") );
+ // wxASSERT_MSG( win->m_hasFocus, _T("got focus out without any focus in?") );
+ // Replace with a warning, else we dump core a lot!
+ // if (!win->m_hasFocus)
+ // wxLogWarning(_T("Radiobox got focus out without any focus in.") );
// we might have lost the focus, but may be not - it may have just gone to
// another button in the same radiobox, so we'll check for it in the next
// we might have lost the focus, but may be not - it may have just gone to
// another button in the same radiobox, so we'll check for it in the next