Defining wxCOMPILE_TIME_ASSERT for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2010-03-30 11:54:37 +00:00
parent 9e96e16fe0
commit 7126436ab4
2 changed files with 18 additions and 5 deletions

View File

@@ -2599,12 +2599,7 @@ TestMessageBoxDialog::TestMessageBoxDialog(wxWindow *parent)
"&Error icon"
};
#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,