From: Stefan Csomor Date: Sat, 11 May 2002 06:38:31 +0000 (+0000) Subject: added keyboard focus & typein X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5fcf715b5e37494222b89b6c46b65b65a99c1245?ds=inline added keyboard focus & typein git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 126567e96c..ff4be45527 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -110,6 +110,8 @@ public: virtual void SetupColours(); virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ; + virtual bool MacCanFocus() const { return true ; } + void OnChar(wxKeyEvent& event); void* m_macList ; wxArrayString m_stringArray ; @@ -140,6 +142,8 @@ protected: int m_noItems; int m_selected; + wxString m_typeIn ; + long m_lastTypeIn ; virtual wxSize DoGetBestSize() const;