]> git.saurik.com Git - wxWidgets.git/commitdiff
document some wxID_* constants
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 18 Jan 2009 23:27:41 +0000 (23:27 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 18 Jan 2009 23:27:41 +0000 (23:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/defs.h

index 5eeba8ee717d9cb28d1908f40e9888c58a183300..812d422968da689edab5e20af598510b6710ef9e 100644 (file)
@@ -6,6 +6,23 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
+
+/**
+    No id matches this one when compared to it.
+*/
+int wxID_NONE = -3;
+
+/**
+    Id for a separator line in the menu (invalid for normal item).
+*/
+int wxID_SEPARATOR = -2;
+
+/**
+    Any id: means that we don't care about the id, whether when installing
+    an event handler or when creating a new window.
+*/
+int wxID_ANY = -1;
+
 /**
     Item kinds for use with wxMenu, wxMenuItem, and wxToolBar.