X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/309824154bd20c069dea337f2d9d750eb14eae31..08a15c0d899daad0ff8cc2ed4c06ff78b8ec3cc3:/samples/text/text.cpp diff --git a/samples/text/text.cpp b/samples/text/text.cpp index d42dcf5575..30a3dc55df 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -685,7 +685,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) else { wxLogDebug( wxT("Stopped capturing mouse and events.") ); - m_hasCapture = TRUE; + m_hasCapture = FALSE; ReleaseMouse(); } break; @@ -831,7 +831,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) wxPoint(450, 10), wxSize(230, 230), wxTE_RICH | wxTE_MULTILINE | - wxTE_AUTO_URL | + // wxTE_AUTO_URL | wxHSCROLL); #if 1