]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/checkbox.h
don't compare initial slider position with uninitialized m_pos (modified patch 1818759)
[wxWidgets.git] / include / wx / checkbox.h
index 930d3d8e71b905fcb9dc7efb75ca26d5f85599ee..0fa2516ca319152340b5ab1a2b63a904ca6f98a4 100644 (file)
@@ -111,6 +111,8 @@ public:
     // wxCheckBox-specific processing after processing the update event
     virtual void DoUpdateWindowUI(wxUpdateUIEvent& event)
     {
+        wxControl::DoUpdateWindowUI(event);
+
         if ( event.GetSetChecked() )
             SetValue(event.GetChecked());
     }