]> git.saurik.com Git - wxWidgets.git/commitdiff
applied patch 433352 (fix for wxTextCtrl::SetForegroundColor())
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2001 16:37:14 +0000 (16:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2001 16:37:14 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/textctrl.h
include/wx/gtk1/textctrl.h
src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index 0a529c6a2789f32d728084d8eed4bd8d3d5cce72..727e7741f9340c4d9b436716eebb7467c65debc0 100644 (file)
@@ -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();
index 0a529c6a2789f32d728084d8eed4bd8d3d5cce72..727e7741f9340c4d9b436716eebb7467c65debc0 100644 (file)
@@ -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();
index 2ed849a9955165105b75675240ec595f3eb19226..9904ed48a24bdc5d191efd924cade821376201d7 100644 (file)
@@ -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") );
index 2ed849a9955165105b75675240ec595f3eb19226..9904ed48a24bdc5d191efd924cade821376201d7 100644 (file)
@@ -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") );