From: Michael Wetherell Date: Thu, 7 Apr 2005 14:39:17 +0000 (+0000) Subject: Compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/95a16b12044cb40a8287ca67b74de133392804ea Compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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();