]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/spinbutt.h
filter out duplicate date changed events sent by the native control (part of bug...
[wxWidgets.git] / include / wx / msw / spinbutt.h
index b8eeefe3dc51d17ee6d9db35518a12d3f819a139..56e69f30b816af38f52e90de39c62fdd571142b7 100644 (file)
@@ -61,7 +61,7 @@ protected:
    virtual wxSize DoGetBestSize() const;
 
    // ensure that the control displays a value in the current range
-   void NormalizeValue() { SetValue(GetValue()); }
+   virtual void NormalizeValue();
 
 private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinButton)