Small changes for VC++ 4 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -211,10 +211,12 @@ void MyFrame::OnTest(wxCommandEvent& WXUNUSED(event))
|
||||
wxMessageBox("Could not set active cell value.");
|
||||
return;
|
||||
}
|
||||
if (!excelObject.PutProperty("ActiveCell.Font.Bold", (bool) TRUE))
|
||||
#ifdef HAVE_BOOL
|
||||
if (!excelObject.PutProperty("ActiveCell.Font.Bold", wxVariant((bool) TRUE)) )
|
||||
{
|
||||
wxMessageBox("Could not put Bold property to active cell.");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user