#include "wx/control.h"
-#if USE_IOSTREAMH
+#if wxUSE_IOSTREAMH
#include <iostream.h>
#else
#include <iostream>
// operations
// ----------
- virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
// Clipboard operations
virtual void Copy();
// 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()
};