applied patch 433352 (fix for wxTextCtrl::SetForegroundColor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,7 +131,6 @@ public:
|
|||||||
void OnUpdateRedo(wxUpdateUIEvent& event);
|
void OnUpdateRedo(wxUpdateUIEvent& event);
|
||||||
|
|
||||||
bool SetFont( const wxFont &font );
|
bool SetFont( const wxFont &font );
|
||||||
bool SetForegroundColour(const wxColour &colour);
|
|
||||||
bool SetBackgroundColour(const wxColour &colour);
|
bool SetBackgroundColour(const wxColour &colour);
|
||||||
|
|
||||||
GtkWidget* GetConnectWidget();
|
GtkWidget* GetConnectWidget();
|
||||||
|
@@ -131,7 +131,6 @@ public:
|
|||||||
void OnUpdateRedo(wxUpdateUIEvent& event);
|
void OnUpdateRedo(wxUpdateUIEvent& event);
|
||||||
|
|
||||||
bool SetFont( const wxFont &font );
|
bool SetFont( const wxFont &font );
|
||||||
bool SetForegroundColour(const wxColour &colour);
|
|
||||||
bool SetBackgroundColour(const wxColour &colour);
|
bool SetBackgroundColour(const wxColour &colour);
|
||||||
|
|
||||||
GtkWidget* GetConnectWidget();
|
GtkWidget* GetConnectWidget();
|
||||||
|
@@ -1072,14 +1072,6 @@ void wxTextCtrl::UpdateFontIfNeeded()
|
|||||||
ChangeFontGlobally();
|
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 )
|
bool wxTextCtrl::SetBackgroundColour( const wxColour &colour )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
|
wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
|
||||||
|
@@ -1072,14 +1072,6 @@ void wxTextCtrl::UpdateFontIfNeeded()
|
|||||||
ChangeFontGlobally();
|
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 )
|
bool wxTextCtrl::SetBackgroundColour( const wxColour &colour )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
|
wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
|
||||||
|
Reference in New Issue
Block a user