X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02e8b2f9fbdfcd25080c42082d637da257c20094..e0543d2a7000693be84cd8bb5cfa3a85b1ad457c:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index fe4c05955e..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 @@ -124,11 +124,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 +139,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() };