Instead of having wxComboCtrl mimic wxTextEntry interface, make it actually inherit from the class and implement functions to redirect to the embedded wxTextCtrl. This allows us to simplify the code and get rid of the dirty trick of directing wxComboCtrl's validator to the embedded wxTextCtrl. Also see #12779, which issue 1 is fixed by this change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,6 +83,9 @@ protected:
|
||||
|
||||
protected:
|
||||
|
||||
// Dummy method - we override all functions that call this
|
||||
virtual WXHWND GetEditHWND() const { return NULL; }
|
||||
|
||||
// customization
|
||||
virtual void OnResize();
|
||||
virtual wxCoord GetNativeTextIndent() const;
|
||||
|
Reference in New Issue
Block a user