]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
updating implementations of wxGetMouseState for osx_cocoa and dummy impls for iphone
[wxWidgets.git] / include / wx / event.h
index 06cd01f28b47d4ea2b2effc8fbc1d2c19fde0267..42d24634e48ad3f2abbafd8456583a73cadfced2 100644 (file)
@@ -1519,7 +1519,7 @@ enum wxKeyCategoryFlags
     // home and end keys, on and off numeric keypads
     WXK_CATEGORY_JUMP   = 4,
 
-    // tab key
+    // tab key, on and off numeric keypads
     WXK_CATEGORY_TAB    = 8,
 
     // backspace and delete keys, on and off numeric keypads
@@ -2760,7 +2760,10 @@ struct WXDLLIMPEXP_BASE wxEventTableEntryBase
           m_lastId(idLast),
           m_fn(fn),
           m_callbackUserData(data)
-    { }
+    {
+        wxASSERT_MSG( idLast == wxID_ANY || winid <= idLast,
+                      "invalid IDs range: lower bound > upper bound" );
+    }
 
     wxEventTableEntryBase( const wxEventTableEntryBase &entry )
         : m_id( entry.m_id ),