** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.30 2001/02/22 15:00:20 kevin Exp $
+** $Id: dialogs.h,v 1.31 2001/02/22 18:22:40 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
class StringValueAndTitleListBox : public wxListBox
{
public:
- StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* aszTitle[], const char* aszValue[]);
+ StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* const aszTitle[], const char* const aszValue[]);
const char* getSelectionStringValue () const;
private:
- const char** m_ppszValues;
+ const char* const* m_ppszValues;
};
class StringValueAndTitleRadioBox : public wxRadioBox
{
public:
- StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* aszTitle[], const char* aszValue[]);
+ StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* const aszTitle[], const char* const aszValue[]);
const char* getSelectionStringValue () const;
private:
- const char** m_ppszValues;
+ const char* const* m_ppszValues;
};