// 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"
tip = tip.BeforeLast(wxT('\"'));
// ...and replace escaped quotes
tip.Replace(wxT("\\\""), wxT("\""));
+
+ // and translate it as requested
+ tip = wxGetTranslation(tip);
}
return tip;
wxDEFAULT_DIALOG_STYLE
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
| wxRESIZE_BORDER
-#endif
+#endif
)
{
m_tipProvider = tipProvider;
wxTE_MULTILINE |
wxTE_READONLY |
wxTE_NO_VSCROLL |
- wxTE_RICH | // a hack to get rid of vert scrollbar
+ wxTE_RICH2 | // a hack to get rid of vert scrollbar
wxDEFAULT_CONTROL_BORDER
);
#if defined(__WXMSW__)