[wxPython-users] Re: wxWizard, several question
Robin Dunn
robin at alldunn.com
Mon Aug 14 10:17:03 PDT 2006
Franz Steinhäusler wrote:
>
> Yes, but in wxWidgets, almost all strings are there using
> the _("&Next") and not wx.GetTranslation("%Next")
>
> I would be interested to know the shortest way to get this translation.
_(foo) is a C macro that expands to wxGetTranslation(foo), so they are
equivalent to each other. In Python you could do something like
_ = wx.GetTranslation
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list