don't use wxStrings in a statically initialized array of structs, VC6 doesn't like it (re-closes #9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2138,7 +2138,8 @@ wxPanel* SettingsDialog::CreateAestheticSettingsPage(wxWindow* parent)
|
|||||||
// TestMessageBoxDialog
|
// TestMessageBoxDialog
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
TestMessageBoxDialog::BtnInfo TestMessageBoxDialog::ms_btnInfo[] =
|
/* static */
|
||||||
|
const TestMessageBoxDialog::BtnInfo TestMessageBoxDialog::ms_btnInfo[] =
|
||||||
{
|
{
|
||||||
{ wxYES, "&Yes" },
|
{ wxYES, "&Yes" },
|
||||||
{ wxNO, "&No" },
|
{ wxNO, "&No" },
|
||||||
|
@@ -195,10 +195,10 @@ private:
|
|||||||
struct BtnInfo
|
struct BtnInfo
|
||||||
{
|
{
|
||||||
int flag;
|
int flag;
|
||||||
wxString name;
|
const char *name;
|
||||||
};
|
};
|
||||||
|
|
||||||
static BtnInfo ms_btnInfo[Btn_Max];
|
static const BtnInfo ms_btnInfo[Btn_Max];
|
||||||
|
|
||||||
wxTextCtrl *m_textMsg,
|
wxTextCtrl *m_textMsg,
|
||||||
*m_textExtMsg;
|
*m_textExtMsg;
|
||||||
|
Reference in New Issue
Block a user