]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colordlg.cpp
Use SYSTEMTIME instead of DOS time when converting to/from VARIANTS.
[wxWidgets.git] / src / gtk / colordlg.cpp
index 8300d82f83d1813fdc2096f8828b4a83110fca41..7ffd6045f2fd8ef909669afe969d3b697078b9b6 100644 (file)
@@ -77,7 +77,7 @@ int wxColourDialog::ShowModal()
     switch (result)
     {
         default:
-            wxFAIL_MSG(_T("unexpected GtkColorSelectionDialog return code"));
+            wxFAIL_MSG(wxT("unexpected GtkColorSelectionDialog return code"));
             // fall through
 
         case GTK_RESPONSE_CANCEL:
@@ -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);