allow dynamically changing most of text control styles in wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-12-04 12:39:52 +00:00
parent 403e664e5b
commit 927637fdaf
4 changed files with 138 additions and 53 deletions

View File

@@ -115,6 +115,8 @@ public:
virtual void SetSelection(long from, long to);
virtual void SetEditable(bool editable);
// Overridden wxWindow methods
virtual void SetWindowStyleFlag( long style );
virtual bool Enable( bool enable = true );
// Implementation from now on
@@ -190,6 +192,14 @@ protected:
virtual void DoSetValue(const wxString &value, int flags = 0);
// wrappers hiding the differences between functions doing the same thing
// for GtkTextView and GtkEntry (all of them use current window style to
// set the given characteristic)
void GTKSetEditable();
void GTKSetVisibility();
void GTKSetWrapMode();
void GTKSetJustification();
private:
// change the font for everything in this control
void ChangeFontGlobally();