git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@296
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
char prompt[50];
wxString str;
if (load)
char prompt[50];
wxString str;
if (load)
- str = (const char*) wxTString("Load %s file");
- str = (const char*) wxTString("Save %s file");
- sprintf(prompt, str, what);
+ str = "Save %s file";
+ sprintf(prompt, wxGetTranslation(str), what);
if (*ext == '.') ext++;
char wild[60];
if (*ext == '.') ext++;
char wild[60];
// -----------
wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
// -----------
wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
- const wxTString& strName, const wxTString& strHelp,
+ const wxString& strName, const wxString& strHelp,
bool bCheckable,
wxMenu *pSubMenu) :
#if USE_OWNER_DRAWN
bool bCheckable,
wxMenu *pSubMenu) :
#if USE_OWNER_DRAWN
-wxOwnerDrawn::wxOwnerDrawn(const wxTString& str,
+wxOwnerDrawn::wxOwnerDrawn(const wxString& str,
bool bCheckable, bool bMenuItem)
: m_strName(str)
{
bool bCheckable, bool bMenuItem)
: m_strName(str)
{