Fixed compile problem and warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-04-02 08:49:36 +00:00
parent 1125dc3f5c
commit c730fa076c

View File

@ -65,9 +65,9 @@
#endif
#if 0 // def __WXMAC__
#define wxRICHTEXT_USE_TOOLBOOK true
#define wxRICHTEXT_USE_TOOLBOOK 1
#else
#define wxRICHTEXT_USE_TOOLBOOK false
#define wxRICHTEXT_USE_TOOLBOOK 0
#endif
bool wxRichTextFormattingDialog::sm_showToolTips = false;
@ -346,6 +346,8 @@ bool wxRichTextFormattingDialogFactory::SetSheetStyle(wxRichTextFormattingDialog
dialog->SetSheetStyle(sheetStyle);
dialog->SetSheetInnerBorder(0);
dialog->SetSheetOuterBorder(0);
#else
wxUnusedVar(dialog);
#endif // wxRICHTEXT_USE_TOOLBOOK
return true;