git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8421
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/dialog.h"
#include "wx/frame.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
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
#include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/dialog.h"
#include "wx/frame.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
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