X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7de595519a38b04622b80fbb7b90f741f8a832b2..3f0fac91ab5c66f831dabdfae674381b32eb1f3a:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 398d332d46..ce771ed7d2 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1213,7 +1213,7 @@ inline int NewControlId() { return wxWindowBase::NewControlId(); } class WXDLLEXPORT wxWindowAccessible: public wxAccessible { public: - wxWindowAccessible(wxWindow* win): wxAccessible(win) {} + wxWindowAccessible(wxWindow* win): wxAccessible(win) { if (win) win->SetAccessible(this); } virtual ~wxWindowAccessible() {}; // Overridables