]> git.saurik.com Git - wxWidgets.git/commitdiff
don't define specifyLevel variable in release builds (fixes gcc and probably others...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 12:51:57 +0000 (12:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 12:51:57 +0000 (12:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index 4ffa494e37190bad7adf8267c271274e690e5351..079912028cd879a4f14860b1794c1f2873fe9457 100644 (file)
@@ -2561,7 +2561,9 @@ bool wxRichTextParagraphLayoutBox::SetListStyle(const wxRichTextRange& range, wx
 {
     bool withUndo = ((flags & wxRICHTEXT_SETSTYLE_WITH_UNDO) != 0);
     // bool applyMinimal = ((flags & wxRICHTEXT_SETSTYLE_OPTIMIZE) != 0);
+#ifdef __WXDEBUG__
     bool specifyLevel = ((flags & wxRICHTEXT_SETSTYLE_SPECIFY_LEVEL) != 0);
+#endif // __WXDEBUG__
     bool renumber = ((flags & wxRICHTEXT_SETSTYLE_RENUMBER) != 0);
 
     // Current number, if numbering