diff options
Diffstat (limited to 'wx+/key_event.h')
-rw-r--r-- | wx+/key_event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wx+/key_event.h b/wx+/key_event.h index cd75bb78..aa094b4a 100644 --- a/wx+/key_event.h +++ b/wx+/key_event.h @@ -15,8 +15,8 @@ namespace zen { -//wxWidgets provides no elegant way to register shortcut keys scoped for dialog windows => -//enable dialog-specific local key events! +//wxWidgets provides no elegant way to register shortcut keys scoped for dialog windows +// => enable dialog-specific local key events! //setup in wxDialog-derived class' constructor, e.g.: // setupLocalKeyEvents(*this, [this](wxKeyEvent& event){ this->onLocalKeyEvent(event); }); @@ -31,7 +31,7 @@ void setupLocalKeyEvents(wxWindow& wnd, const std::function<void(wxKeyEvent& eve -//pretty much the same like "bool wxWindowBase::IsDescendant(wxWindowBase* child) const" but without the obvious misnaming +//pretty much the same like "bool wxWindowBase::IsDescendant(wxWindowBase* child) const" but without the obvious misnomer inline bool isComponentOf(const wxWindow* child, const wxWindow* top) { |