]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed.
[wxWidgets.git] / src / generic / statusbr.cpp
index 740df48eed026e533fefd1aa232566f25270ffd6..4c24ee5c35eaadb261930f1d340cc1204d294e46 100644 (file)
@@ -248,7 +248,7 @@ void wxStatusBarGeneric::DrawFieldText(wxDC& dc, const wxRect& rect, int i, int
         text = wxControl::Ellipsize(text, dc,
                                     ellmode,
                                     maxWidth,
-                                    wxELLIPSIZE_EXPAND_TAB);
+                                    wxELLIPSIZE_FLAGS_EXPAND_TABS);
             // Ellipsize() will do something only if necessary
 
         // update the ellipsization status for this pane; this is used later to