X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a84e759bc55d7c22319e2d154e4c966c8b66429..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/samples/controls/controls.cpp

diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp
index bee92ff91b..0cd2b4f593 100644
--- a/samples/controls/controls.cpp
+++ b/samples/controls/controls.cpp
@@ -368,9 +368,9 @@ IMPLEMENT_APP(MyApp)
 
 enum
 {
-    CONTROLS_QUIT   = 100,
-    CONTROLS_TEXT,
-    CONTROLS_ABOUT,
+    CONTROLS_QUIT   = wxID_EXIT,
+    CONTROLS_ABOUT = wxID_ABOUT,
+    CONTROLS_TEXT = 100,
     CONTROLS_CLEAR_LOG,
 
     // tooltip menu