]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/wxedit/wxedit.cpp
Baked files for 2.6.1
[wxWidgets.git] / samples / mobile / wxedit / wxedit.cpp
index 49b826f480b334c21d1b9072863ad012d1762f0b..491b8c333d9b45235442d8575fc6f67c57a64ef3 100644 (file)
@@ -229,6 +229,8 @@ 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 +255,7 @@ void MyFrame::OnOpen( wxCommandEvent& WXUNUSED(event) )
         {
             m_text->SetLanguage( wxSOURCE_LANG_NONE );
         }
+#endif
 #endif
 
         m_filename = dialog.GetPath();