X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..2fd284a4a09793c29078296529d3e9db5acd0a0f:/include/wx/motif/textctrl.h?ds=sidebyside diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 6cc2b83033..984432970f 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 @@ -78,7 +78,6 @@ public: // operations // ---------- - virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); // Clipboard operations virtual void Copy(); @@ -122,16 +121,27 @@ public: // callbacks // --------- void OnDropFiles(wxDropFilesEvent& event); -// void OnChar(wxKeyEvent& event); // Process 'enter' if required + void OnChar(wxKeyEvent& event); // void OnEraseBackground(wxEraseEvent& event); - // Implementation - // -------------- virtual void Command(wxCommandEvent& event); +// 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; + protected: wxString m_fileName; - +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() };