#include "wx/textfile.h"
-#include "wx/palmos/private.h"
-#include "wx/palmos/winundef.h"
-
#include <string.h>
#if wxUSE_RICHEDIT
return false;
}
-WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
-{
- return 0;
-}
-
// ----------------------------------------------------------------------------
// set/get the controls text
// ----------------------------------------------------------------------------
wxString wxTextCtrl::GetValue() const
{
wxString res;
+ return res;
+}
+wxString wxTextCtrl::GetRange(long from, long to) const
+{
+ wxString res;
return res;
}
{
}
-void wxTextCtrl::DoWriteText(const wxString& value, bool selectionOnly)
+void wxTextCtrl::DoWriteText(const wxString& text, int flags)
{
}
{
}
-bool wxTextCtrl::HasSelection() const
-{
- return false;
-}
-
bool wxTextCtrl::CanCopy() const
{
return false;
{
}
-void wxTextCtrl::DoSetSelection(long from, long to, bool scrollCaret)
+void wxTextCtrl::DoSetSelection(long from, long to, int flags)
{
}
}
wxTextCtrlHitTestResult
-wxTextCtrl::HitTest(const wxPoint& pt, wxTextCoord *col, wxTextCoord *row) const
+wxTextCtrl::HitTest(const wxPoint& pt, long *pos) const
{
return wxTE_HT_UNKNOWN;
}
bool wxTextCtrl::CanUndo() const
{
+ return false;
}
bool wxTextCtrl::CanRedo() const
{
+ return false;
}
// ----------------------------------------------------------------------------
// kbd input processing
// ----------------------------------------------------------------------------
-bool wxTextCtrl::MSWShouldPreProcessMessage(WXMSG* pMsg)
-{
- return false;
-}
-
void wxTextCtrl::OnChar(wxKeyEvent& event)
{
}
-WXLRESULT wxTextCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
-{
- return 0;
-}
-
// ----------------------------------------------------------------------------
// text control event processing
// ----------------------------------------------------------------------------
return false;
}
-bool wxTextCtrl::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
-{
- return false;
-}
-
bool wxTextCtrl::AdjustSpaceLimit()
{
return false;
}
-bool wxTextCtrl::AcceptsFocus() const
-{
- return false;
-}
-
wxSize wxTextCtrl::DoGetBestSize() const
{
return wxSize(0,0);
{
}
-void wxTextCtrl::OnRightClick(wxMouseEvent& event)
+void wxTextCtrl::OnSetFocus(wxFocusEvent& WXUNUSED(event))
{
}
-void wxTextCtrl::OnSetFocus(wxFocusEvent& WXUNUSED(event))
+wxVisualAttributes wxTextCtrl::GetDefaultAttributes() const
+{
+ wxVisualAttributes attrs;
+ attrs.font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
+ attrs.colFg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
+ attrs.colBg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW); //white
+ return attrs;
+}
+
+bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& rEvent)
+{
+ return false;
+}
+bool wxTextCtrl::CanApplyThemeBorder() const
+{
+ return false;
+}
+bool wxTextCtrl::IsEmpty() const
+{
+ return false;
+}
+bool wxTextCtrl::AcceptsFocusFromKeyboard() const
+{
+ return false;
+}
+void wxTextCtrl::AdoptAttributesFromHWND()
+{
+}
+void wxTextCtrl::SetWindowStyleFlag(long lStyle)
{
}
}
// ----------------------------------------------------------------------------
-// styling support for rich edit controls
+// wxRichEditModule
// ----------------------------------------------------------------------------
-#if wxUSE_RICHEDIT
-
-bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
+bool wxRichEditModule::OnInit()
{
return false;
}
-bool wxTextCtrl::SetDefaultStyle(const wxTextAttr& style)
+void wxRichEditModule::OnExit()
{
- return false;
}
-bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
+/* static */
+bool wxRichEditModule::Load(int version)
{
return false;
}
-#endif
+#endif // wxUSE_RICHEDIT
// ----------------------------------------------------------------------------
-// wxRichEditModule
+// styling support for rich edit controls
// ----------------------------------------------------------------------------
-bool wxRichEditModule::OnInit()
+#if wxUSE_RICHEDIT
+
+bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
{
return false;
}
-void wxRichEditModule::OnExit()
+bool wxTextCtrl::SetDefaultStyle(const wxTextAttr& style)
{
+ return false;
}
-/* static */
-bool wxRichEditModule::Load(int version)
+bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
{
return false;
}