Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Idea behind return codes in wxMessageBox?

2 views
Skip to first unread message

Anonymous Remailer

unread,
Jun 29, 2009, 4:10:58 PM6/29/09
to

Does anyone know what the idea is behind the wxMessageBox function
returning codes like wxYES /wxNO / wxCANCEL instead of wxID_YES /
wxID_NO / wxID_CANCEL? This makes it harder to use if you use it in
combination with another dialog box (say, one where you ask if the user
wants to save) and use a global variable for both return values. Since
the return values are incompatible you need to translate the wxYES to
wxID_YES etc. I find this cumbersome and unnecessary but maybe I'm
missing something obvious.

Fritz Wuehler

unread,
Jun 29, 2009, 6:25:28 PM6/29/09
to
0 new messages