X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/107defe36a68091303be9a11c8abb83432acee8c..ebfee17940b5123d0527b63bcf23e5f27002092e:/include/wx/combo.h diff --git a/include/wx/combo.h b/include/wx/combo.h index 2cdb81102a..0c31d0bb50 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -523,6 +523,7 @@ protected: void OnTextCtrlEvent(wxCommandEvent& event); void OnSysColourChanged(wxSysColourChangedEvent& event); void OnKeyEvent(wxKeyEvent& event); + void OnCharEvent(wxKeyEvent& event); // Set customization flags (directs how wxComboCtrlBase helpers behave) void Customize( wxUint32 flags ) { m_iFlags |= flags; } @@ -726,10 +727,14 @@ public: // Default implementation draws value as string. virtual void PaintComboControl( wxDC& dc, const wxRect& rect ); - // Receives key events from the parent wxComboCtrl. + // Receives wxEVT_KEY_DOWN key events from the parent wxComboCtrl. // Events not handled should be skipped, as usual. virtual void OnComboKeyEvent( wxKeyEvent& event ); + // Receives wxEVT_CHAR key events from the parent wxComboCtrl. + // Events not handled should be skipped, as usual. + virtual void OnComboCharEvent( wxKeyEvent& event ); + // Implement if you need to support special action when user // double-clicks on the parent wxComboCtrl. virtual void OnComboDoubleClick();