I found almost the same idea in the "Style Guide for wxPython code"
*It is useful to use the standard IDs because they may turn on standard
functionality, such as menu item remapping for wxMac, automatic Dialog
completion or cancellation, using stock button labels and images, etc. *
But stil it's unclear to me what the benefice is for those standard ID's 
that's pretty clear to me, but...
I think this would make most sense to you if you have a Mac -- *nix (GTK)
doesn't really have clear standards. But Windows sort of does, and Mac very
much does. So, for instance, on the Mac:
The Quit and Preferences menu items go on the "application" menu, not the
File menu -- wx will move them for you if you use the standard ID.
I also think default placement for "OK" and "Cancel" buttons is different
on standard dialogs on different systems. wx will make those
platform-style-conforming too.
Short version -- use a standard ID when there is one to use -- no reason
not to, and it it will make your app more platfrom native for free.
The menu options are locate in the menu according to the code written
whatever the ID is, so ???
nope -- wx will move things for you.
Also it's rather confusing to use a "ID_EXIT" for a "Quit" button or
"Quit" menu item as shown in line 60 of the example code of the "Style
Guide for wxPython code".
well, "quit" and "exit" are synonyms -- I think "Quit") is teh MAc standard
name, but maybe other systems use "exit" -- I don't know that those get
re-written for you...
item = FileMenu.Append(wx.ID_EXIT, text="&Quit")
Bottom line: That ID stuff is still fuzzy to me... ...
yeah -- a good reason not to use them except for the standard ones.
-HTH,
- Chris
···
On Thu, Aug 14, 2014 at 10:10 AM, 'mcs51mc' via wxPython-users < wxpython-users@googlegroups.com> wrote:
Best regards
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov