Added background colour again

Added wxTextCtrl methods
  Removed Imlib

  -> Recompile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-10-27 15:04:35 +00:00
parent b926666447
commit a81258bee4
82 changed files with 720 additions and 13159 deletions

View File

@@ -61,6 +61,7 @@ class wxButton: public wxControl
void Enable( bool enable );
void SetFont( const wxFont &font );
void SetBackgroundColour( const wxColour &colour );
void SetForegroundColour( const wxColour &colour );
};
#endif // __GTKBUTTONH__

View File

@@ -143,6 +143,8 @@ public:
virtual void AddChild(wxWindow *child);
virtual void SetConstraintSizes(bool recurse);
virtual bool DoPhase(int phase);
virtual void SetFont( const wxFont &font );
virtual void SetBackgroundColour( const wxColour &colour );
private:
// common part of all ctors

View File

@@ -67,13 +67,12 @@ class wxTextCtrl: public wxControl, public streambuf
bool IsModified() const { return m_modified; }
void SetModified() { m_modified = TRUE; }
void DiscardEdits() { m_modified = FALSE; }
/*
wxString GetLineText( long lineNo ) const;
void OnDropFiles( wxDropFilesEvent &event );
long PositionToXY( long pos, long *x, long *y ) const;
long XYToPosition( long x, long y );
int GetNumberOfLines();
*/
long XYToPosition( long x, long y ) const;
int GetLineLength(long lineNo) const;
int GetNumberOfLines() const;
virtual void SetInsertionPoint( long pos );
virtual void SetInsertionPointEnd();
virtual void SetEditable( bool editable );

View File

@@ -243,6 +243,7 @@ public:
bool HasVMT();
virtual void ImplementSetSize();
virtual void ImplementSetPosition();
GtkStyle *GetWidgetStyle();
wxWindow *m_parent;
wxList m_children;
@@ -274,11 +275,11 @@ public:
bool m_needParent;
bool m_hasScrolling;
bool m_isScrolling;
bool m_hasOwnStyle;
bool m_hasVMT;
bool m_sizeSet;
bool m_resizing;
GdkGC *m_scrollGC;
GtkStyle *m_widgetStyle;
public: