From: Kevin Rosenberg Date: Sat, 1 Aug 2009 23:01:24 +0000 (-0600) Subject: Fix issue with wxChar on build with non-unicode wxWidgets X-Git-Tag: v5.0.2~3 X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=commitdiff_plain;h=8754fd80af455a175b8e490a027ec479f029d820;hp=bb09705ec0a20bf5b41b4248cf7800b000bc3fcb Fix issue with wxChar on build with non-unicode wxWidgets --- diff --git a/src/dialogs.cpp b/src/dialogs.cpp index 4fbc057..1f3be58 100644 --- a/src/dialogs.cpp +++ b/src/dialogs.cpp @@ -57,6 +57,7 @@ // StringValueAndTitleListBox /////////////////////////////////////////////////////////////////////// +#if 0 StringValueAndTitleListBox::StringValueAndTitleListBox (wxDialog* pParent, int nChoices, wxChar const* const* asTitle, char const* const* aszValue) @@ -71,6 +72,7 @@ StringValueAndTitleListBox::StringValueAndTitleListBox (wxDialog* pParent, int n m_ppszValues = aszValue; delete [] psTitle; }; +#endif const char* StringValueAndTitleListBox::getSelectionStringValue () const diff --git a/src/dialogs.h b/src/dialogs.h index 26d66f8..13eeb2e 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -59,8 +59,10 @@ class StringValueAndTitleListBox : public wxListBox public: StringValueAndTitleListBox (wxDialog* pParent, int nChoices, wxChar const* const* asTitle, char const* const aszValue[]); +#if 0 StringValueAndTitleListBox (wxDialog* pParent, int nChoices, wxChar const* title, char const* const* aszTitle, char const* const* aszValue); +#endif StringValueAndTitleListBox (wxDialog* pParent, int nChoices, wxChar const* title, wxChar const* const* asTitle, char const* const* aszValue);