X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2eb4ad2267c8dfd04288c0eb7be10ce1da240e6..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/msw/listbox.h?ds=sidebyside diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 9ccfa810a7..b687aac8d7 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -59,6 +59,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr) { + Init(); + Create(parent, id, pos, size, choices, style, validator, name); } @@ -149,8 +151,6 @@ public: virtual void OnInternalIdle(); - virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - protected: virtual wxSize DoGetBestClientSize() const; @@ -192,10 +192,6 @@ private: // i.e. if we need to call SetHorizontalExtent() from OnInternalIdle() bool m_updateHorizontalExtent; - // flag set to true when we get a keyboard event and reset to false when we - // get a mouse one: this is used to find the correct item for the selection - // event - bool m_selectedByKeyboard; DECLARE_DYNAMIC_CLASS_NO_COPY(wxListBox) };