Updates to make wxWidgets compaile on OpenVMS again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2599,8 +2599,13 @@ TestMessageBoxDialog::TestMessageBoxDialog(wxWindow *parent)
|
||||
"&Error icon"
|
||||
};
|
||||
|
||||
wxCOMPILE_TIME_ASSERT( WXSIZEOF(icons) == MsgDlgIcon_Max, IconMismatch );
|
||||
|
||||
#ifndef __VMS
|
||||
// This contruction not is not valid on OpenVMS:
|
||||
// %CXX-W-REFNESTFUNVAR, reference to local variable of enclosing function is
|
||||
// not allowed
|
||||
wxCOMPILE_TIME_ASSERT( WXSIZEOF(icons) == MsgDlgIcon_Max, IconMismatch );
|
||||
#endif
|
||||
|
||||
m_icons = new wxRadioBox(this, wxID_ANY, "&Icon style",
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
WXSIZEOF(icons), icons,
|
||||
|
Reference in New Issue
Block a user