X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d11268884fd82cfe72673566e403a40105ce703..57f2a6529245d54274a4c56469f1828a6f8fd497:/src/palmos/textctrl.cpp diff --git a/src/palmos/textctrl.cpp b/src/palmos/textctrl.cpp index 2710ee6fb4..e925b130c6 100644 --- a/src/palmos/textctrl.cpp +++ b/src/palmos/textctrl.cpp @@ -36,10 +36,9 @@ #include "wx/log.h" #include "wx/app.h" #include "wx/menu.h" + #include "wx/module.h" #endif -#include "wx/module.h" - #if wxUSE_CLIPBOARD #include "wx/clipbrd.h" #endif @@ -230,62 +229,10 @@ wxString wxTextCtrl::GetValue() const return res; } -void wxTextCtrl::SetValue(const wxString& value) -{ -} - -#if wxUSE_RICHEDIT && (!wxUSE_UNICODE || wxUSE_UNICODE_MSLU) - -// TODO: using memcpy() would improve performance a lot for big amounts of text - -DWORD CALLBACK -wxRichEditStreamIn(DWORD dwCookie, BYTE *buf, LONG cb, LONG *pcb) -{ - return 0; -} - -// helper struct used to pass parameters from wxTextCtrl to wxRichEditStreamOut -struct wxStreamOutData -{ - wchar_t *wpc; - size_t len; -}; - -DWORD CALLBACK -wxRichEditStreamOut(DWORD_PTR dwCookie, BYTE *buf, LONG cb, LONG *pcb) -{ - return 0; -} - - -#if wxUSE_UNICODE_MSLU - #define UNUSED_IF_MSLU(param) -#else - #define UNUSED_IF_MSLU(param) param -#endif - -bool -wxTextCtrl::StreamIn(const wxString& value, - wxFontEncoding UNUSED_IF_MSLU(encoding), - bool selectionOnly) +void wxTextCtrl::DoSetValue(const wxString& value, int flags) { - return false; } -#if !wxUSE_UNICODE_MSLU - -wxString -wxTextCtrl::StreamOut(wxFontEncoding encoding, bool selectionOnly) const -{ - wxString out; - - return out; -} - -#endif // !wxUSE_UNICODE_MSLU - -#endif // wxUSE_RICHEDIT - void wxTextCtrl::WriteText(const wxString& value) { } @@ -391,7 +338,7 @@ void wxTextCtrl::DoSetSelection(long from, long to, bool scrollCaret) // Working with files // ---------------------------------------------------------------------------- -bool wxTextCtrl::LoadFile(const wxString& file) +bool wxTextCtrl::DoLoadFile(const wxString& file, int fileType) { return false; }