]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colordlg.cpp
use wxWindow::GetClientSize() instead of ::GetClientRect() in wxActiveXContainer...
[wxWidgets.git] / src / gtk / colordlg.cpp
index 8300d82f83d1813fdc2096f8828b4a83110fca41..8eaca8bc7878320311e3de9064ce478d4b9846e0 100644 (file)
@@ -99,7 +99,7 @@ void wxColourDialog::ColourDataToDialog()
 
 #if wxUSE_LIBHILDON
     HildonColorSelector * const sel = HILDON_COLOR_SELECTOR(m_widget);
-    hildon_color_selector_set_color(sel, wx_const_cast(GdkColor *, col));
+    hildon_color_selector_set_color(sel, const_cast<GdkColor *>(col));
 #else // !wxUSE_LIBHILDON
     GtkColorSelection *sel =
         GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG(m_widget)->colorsel);