#if wxUSE_FFILE
#include "wx/ffile.h"
#elif wxUSE_FILE
- #include "wx/ffile.h"
+ #include "wx/file.h"
#endif
#ifdef __WXGTK__
if ( file.IsOpened() )
{
wxString text;
- if ( file.ReadAll(&text, *wxConvCurrent) )
+ if ( file.ReadAll(&text, wxConvAuto()) )
{
// Detect the EOL: we use just the first line because there is not
// much we can do if the file uses inconsistent EOLs anyhow, we'd
void wxStyledTextCtrl::OnMouseWheel(wxMouseEvent& evt)
{
- m_swx->DoMouseWheel(evt.GetWheelRotation(),
+ m_swx->DoMouseWheel(evt.GetWheelAxis(),
+ evt.GetWheelRotation(),
evt.GetWheelDelta(),
evt.GetLinesPerAction(),
+ evt.GetColumnsPerAction(),
evt.ControlDown(),
evt.IsPageScroll());
}