wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-09-15 21:23:19 +00:00
parent edddffb58b
commit c2e4537233
3 changed files with 7 additions and 7 deletions

View File

@@ -86,7 +86,7 @@ private:
class wxDelegateTheme : public wxTheme
{
public:
wxDelegateTheme(const wxChar *theme);
wxDelegateTheme(const wxString& theme);
virtual ~wxDelegateTheme();
virtual wxRenderer *GetRenderer();
@@ -122,7 +122,7 @@ struct WXDLLEXPORT wxThemeInfo
wxThemeInfo *next;
// constructor for the struct itself
wxThemeInfo(Constructor ctor, const wxChar *name, const wxChar *desc);
wxThemeInfo(Constructor ctor, const wxString& name, const wxString& desc);
};
// ----------------------------------------------------------------------------

View File

@@ -189,8 +189,8 @@ wxLayoutDirection wxAppBase::GetLayoutDirection() const
// GUI-specific command line options handling
// ----------------------------------------------------------------------------
#define OPTION_THEME _T("theme")
#define OPTION_MODE _T("mode")
#define OPTION_THEME "theme"
#define OPTION_MODE "mode"
void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser)
{

View File

@@ -47,8 +47,8 @@ wxTheme *wxTheme::ms_theme = (wxTheme *)NULL;
// ----------------------------------------------------------------------------
wxThemeInfo::wxThemeInfo(Constructor c,
const wxChar *n,
const wxChar *d)
const wxString& n,
const wxString& d)
: name(n), desc(d), ctor(c)
{
// insert us (in the head of) the linked list
@@ -152,7 +152,7 @@ wxTheme::~wxTheme()
// wxDelegateTheme
// ----------------------------------------------------------------------------
wxDelegateTheme::wxDelegateTheme(const wxChar *theme)
wxDelegateTheme::wxDelegateTheme(const wxString& theme)
{
m_themeName = theme;
m_theme = NULL;