* kwq/KWQTextEdit.mm: (QTextEdit::setScrollBarModes): Put more stuff inside #if.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8650
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-21 Darin Adler <darin@apple.com>
+
+ - fixed Panther deployment build
+
+ * kwq/KWQTextEdit.mm: (QTextEdit::setScrollBarModes): Put more stuff inside #if.
+
2005-02-21 David Harrison <harrison@apple.com>
Reviewed by Darin.
KWQ_BLOCK_EXCEPTIONS;
+#if !BUILDING_ON_PANTHER
// this declaration must be inside the KWQ_BLOCK_EXCEPTIONS block or the deployment build fails
bool autohides = hMode == Auto || vMode == Auto;
ASSERT(!autohides || hMode != AlwaysOn);
ASSERT(!autohides || vMode != AlwaysOn);
+#endif
[textView setHasHorizontalScroller:hMode != AlwaysOff];
[textView setHasVerticalScroller:vMode != AlwaysOff];
+
#if !BUILDING_ON_PANTHER
// Bugs 3890352 and 4005435 are the reason we can't handle auto-hiding on Panther.
// Basically, the text machinery seems to be able to handle the case where new text