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:
Julian Smart
2000-02-06 21:25:27 +00:00
parent 95bf655c50
commit 69d16e3ef8
5 changed files with 12 additions and 3 deletions

View File

@@ -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
}