#include "wx/radiobox.h"
-#ifndef WX_PRECOMP
- #include "wx/log.h"
- #include "wx/frame.h"
- #include "wx/dialog.h"
-#endif
-
#if wxUSE_TOOLTIPS
#include "wx/tooltip.h"
#endif
#include "wx/gtk/private.h"
+
#include <gdk/gdkkeysyms.h>
+#if GTK_CHECK_VERSION(3,0,0)
+#include <gdk/gdkkeysyms-compat.h>
+#endif
//-----------------------------------------------------------------------------
// wxGTKRadioButtonInfo
bool wxRadioBox::Enable( bool enable )
{
- bool isEnabled = IsEnabled();
-
if ( !wxControl::Enable( enable ) )
return false;
node = node->GetNext();
}
- if (!isEnabled && enable)
- {
+ if (enable)
GTKFixSensitivity();
- }
return true;
}