Use IME in wxGTK wxComboBox too
There was confusing with the method GTKIMFilterKeypress() in wxGTK wxTextEntry: it was called the same as wxWindow virtual method of the same name, but didn't override it, of course, as wxTextEntry doesn't derive from wxWindow. It also wasn't called for wxComboBox which inherited from wxTextEntry but didn't override wxWindow::GTKIMFilterKeypress() to actually call its method. Fix this and rename the wxTextEntry to use a different name for clarity.
This commit is contained in:
@@ -145,6 +145,10 @@ protected:
|
||||
virtual GtkEntry *GetEntry() const wxOVERRIDE
|
||||
{ return m_entry; }
|
||||
|
||||
virtual int GTKIMFilterKeypress(GdkEventKey* event) const wxOVERRIDE
|
||||
{ return GTKEntryIMFilterKeypress(event); }
|
||||
|
||||
|
||||
GtkEntry* m_entry;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user