Remove almost unused GetEntryCompletion() function
This function was now used only once and it's not really useful to have a trivial wrapper around the corresponding GTK+ function, just use it directly.
This commit is contained in:
@@ -310,7 +310,7 @@ private:
|
|||||||
|
|
||||||
void DoEnableCompletion()
|
void DoEnableCompletion()
|
||||||
{
|
{
|
||||||
if ( !GetEntryCompletion() )
|
if ( !gtk_entry_get_completion (GetGtkEntry()) )
|
||||||
{
|
{
|
||||||
GtkEntryCompletion * const completion = gtk_entry_completion_new();
|
GtkEntryCompletion * const completion = gtk_entry_completion_new();
|
||||||
|
|
||||||
@@ -417,10 +417,6 @@ private:
|
|||||||
|
|
||||||
GtkEntry* GetGtkEntry() const { return m_entry->GetEntry(); }
|
GtkEntry* GetGtkEntry() const { return m_entry->GetEntry(); }
|
||||||
|
|
||||||
GtkEntryCompletion* GetEntryCompletion() const
|
|
||||||
{
|
|
||||||
return gtk_entry_get_completion (GetGtkEntry());
|
|
||||||
}
|
|
||||||
|
|
||||||
// The text entry we're associated with.
|
// The text entry we're associated with.
|
||||||
wxTextEntry * const m_entry;
|
wxTextEntry * const m_entry;
|
||||||
|
Reference in New Issue
Block a user