X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02e8b2f9fbdfcd25080c42082d637da257c20094..9018abe3ef28d237b0421c8d96987907adbe5532:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index fe4c05955e..0b8f009308 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -18,7 +18,7 @@ #include "wx/control.h" -#if USE_IOSTREAMH +#if wxUSE_IOSTREAMH #include #else #include @@ -110,6 +110,7 @@ public: virtual bool LoadFile(const wxString& file); virtual bool SaveFile(const wxString& file); virtual void WriteText(const wxString& text); + virtual void AppendText(const wxString& text); virtual void DiscardEdits(); virtual bool IsModified() const; @@ -124,11 +125,12 @@ public: void OnChar(wxKeyEvent& event); // void OnEraseBackground(wxEraseEvent& event); - // Implementation - // -------------- virtual void Command(wxCommandEvent& event); - //// Motif-specific +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); inline void SetModified(bool mod) { m_modified = mod; } virtual WXWidget GetTopWidget() const; @@ -138,6 +140,9 @@ public: // Motif-specific void* m_tempCallbackStruct; bool m_modified; + wxString m_value; // Required for password text controls + bool m_processedDefault; // Did we call wxTextCtrl::OnChar? + // If so, generate a command event. DECLARE_EVENT_TABLE() };