diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 0a529c6a27..727e7741f9 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -131,7 +131,6 @@ public: void OnUpdateRedo(wxUpdateUIEvent& event); bool SetFont( const wxFont &font ); - bool SetForegroundColour(const wxColour &colour); bool SetBackgroundColour(const wxColour &colour); GtkWidget* GetConnectWidget(); diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index 0a529c6a27..727e7741f9 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -131,7 +131,6 @@ public: void OnUpdateRedo(wxUpdateUIEvent& event); bool SetFont( const wxFont &font ); - bool SetForegroundColour(const wxColour &colour); bool SetBackgroundColour(const wxColour &colour); GtkWidget* GetConnectWidget(); diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 2ed849a995..9904ed48a2 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1072,14 +1072,6 @@ void wxTextCtrl::UpdateFontIfNeeded() ChangeFontGlobally(); } -bool wxTextCtrl::SetForegroundColour( const wxColour &WXUNUSED(colour) ) -{ - wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") ); - - // doesn't work - return FALSE; -} - bool wxTextCtrl::SetBackgroundColour( const wxColour &colour ) { wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") ); diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 2ed849a995..9904ed48a2 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -1072,14 +1072,6 @@ void wxTextCtrl::UpdateFontIfNeeded() ChangeFontGlobally(); } -bool wxTextCtrl::SetForegroundColour( const wxColour &WXUNUSED(colour) ) -{ - wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") ); - - // doesn't work - return FALSE; -} - bool wxTextCtrl::SetBackgroundColour( const wxColour &colour ) { wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );