Ryan Leavengood <leavengood@xxxxxxxxx> wrote: > On Monday, July 11, 2011, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote: > >> If you call BWindow::AddShortcut() with a message parameter but > > > not a > >> target, the target becomes the window. > > While it's documented this way, I would consider this as an API bug > > that should > > be corrected for our GCC4 only API. > Well it sort of makes sense since it is a method on BWindow, there > are > just the few annoying cases like this. What behavior would you > suggest? While it arguably makes some sense, IMO the expected behavior would be that NULL and the form without any target behave in the same way. Bye, Axel.