+ hildon_color_chooser_dialog_set_color((HildonColorChooserDialog *)m_widget, &clr);
+#else // !wxUSE_LIBHILDON2/!wxUSE_LIBHILDON && !wxUSE_LIBHILDON2
+ GtkColorSelection* sel = GTK_COLOR_SELECTION(
+ gtk_color_selection_dialog_get_color_selection(
+ GTK_COLOR_SELECTION_DIALOG(m_widget)));
+
+ const wxColour& color = m_data.GetColour();
+ if (color.IsOk())
+ {
+#ifdef __WXGTK3__
+ gtk_color_selection_set_current_rgba(sel, color);
+#else
+ gtk_color_selection_set_current_color(sel, color.GetColor());
+#endif
+ }