From 8754fd80af455a175b8e490a027ec479f029d820 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Sat, 1 Aug 2009 17:01:24 -0600 Subject: [PATCH] Fix issue with wxChar on build with non-unicode wxWidgets --- src/dialogs.cpp | 2 ++ src/dialogs.h | 2 ++ 2 files changed, 4 insertions(+) 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); -- 2.34.1