projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No changes, just silence some MSVC 11 static analyzer warnings.
[wxWidgets.git]
/
src
/
gtk
/
radiobox.cpp
diff --git
a/src/gtk/radiobox.cpp
b/src/gtk/radiobox.cpp
index db1bc95ab15d7a9255edad60d3852102d6bd5723..6cfbcad491203094b7a691843ccc83cd9436e120 100644
(file)
--- a/
src/gtk/radiobox.cpp
+++ b/
src/gtk/radiobox.cpp
@@
-18,7
+18,9
@@
#include "wx/tooltip.h"
#endif
#include "wx/tooltip.h"
#endif
+#include <gtk/gtk.h>
#include "wx/gtk/private.h"
#include "wx/gtk/private.h"
+#include "wx/gtk/private/gtk2-compat.h"
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION(3,0,0)
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION(3,0,0)
@@
-547,8
+549,8
@@
void wxRadioBox::DoApplyWidgetStyle(GtkRcStyle *style)
{
GtkWidget *widget = GTK_WIDGET( node->GetData()->button );
{
GtkWidget *widget = GTK_WIDGET( node->GetData()->button );
-
gtk_widget_modify_style( widget, style
);
-
gtk_widget_modify_s
tyle(gtk_bin_get_child(GTK_BIN(widget)), style);
+
GTKApplyStyle(widget, style
);
+
GTKApplyS
tyle(gtk_bin_get_child(GTK_BIN(widget)), style);
node = node->GetNext();
}
node = node->GetNext();
}