]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipdlg.cpp
gdk_draw_pixmap -> gdk_draw_drawable
[wxWidgets.git] / src / generic / tipdlg.cpp
index e4a6660bc0c4316c09923966cc078eb1a3429b53..f8b008b5f48f1ab18bc7883a445efdf05d9a99d8 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "tipdlg.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -200,6 +196,9 @@ wxString wxFileTipProvider::GetTip()
         tip = tip.BeforeLast(wxT('\"'));
         // ...and replace escaped quotes
         tip.Replace(wxT("\\\""), wxT("\""));
+
+        // and translate it as requested
+        tip = wxGetTranslation(tip);
     }
 
     return tip;
@@ -222,7 +221,7 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
                       wxDEFAULT_DIALOG_STYLE
 #if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
                       | wxRESIZE_BORDER
-#endif                      
+#endif
                       )
 {
     m_tipProvider = tipProvider;