]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statusbr.h
remove mentions of wxEVENTS_COMPATIBILITY_2_8
[wxWidgets.git] / include / wx / statusbr.h
index 9b40bf23cac2e660cb6b19255b6b6602a7fa6ee5..0b286fc7f75e9eeae949c392e4b109b89fe92113 100644 (file)
@@ -186,13 +186,15 @@ protected:
 
     // wxWindow overrides:
 
-    virtual void DoSetToolTip( wxToolTip *tip )
-        { 
+#if wxUSE_TOOLTIPS
+   virtual void DoSetToolTip( wxToolTip *tip )
+        {
             wxASSERT_MSG(!HasFlag(wxSTB_SHOW_TIPS),
                          "Do not set tooltip(s) manually when using wxSTB_SHOW_TIPS!");
-            return wxWindow::DoSetToolTip(tip);
+            wxWindow::DoSetToolTip(tip);
         }
-
+#endif
+   
     virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }