From 95a16b12044cb40a8287ca67b74de133392804ea Mon Sep 17 00:00:00 2001 From: Michael Wetherell <mike.wetherell@ntlworld.com> Date: Thu, 7 Apr 2005 14:39:17 +0000 Subject: [PATCH] Compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mobile/wxedit/wxedit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/mobile/wxedit/wxedit.cpp b/samples/mobile/wxedit/wxedit.cpp index 49b826f480..c2e2afaddd 100644 --- a/samples/mobile/wxedit/wxedit.cpp +++ b/samples/mobile/wxedit/wxedit.cpp @@ -228,7 +228,10 @@ void MyFrame::OnOpen( wxCommandEvent& WXUNUSED(event) ) { m_text->Clear(); + #ifdef __WXX11__ + // requires wxUSE_UNIV_TEXTCTRL to be set to 0 +#if 0 wxFileName fname( dialog.GetPath() ); if ((fname.GetExt() == _T("cpp")) || (fname.GetExt() == _T("c")) || @@ -253,6 +256,7 @@ void MyFrame::OnOpen( wxCommandEvent& WXUNUSED(event) ) { m_text->SetLanguage( wxSOURCE_LANG_NONE ); } +#endif #endif m_filename = dialog.GetPath(); -- 2.47.2