Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2c7219fea0
commit
95a16b1204
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user