mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
f6c3cbf6fa
patches provided upstream - Remove textproc/libxml2 from dependencies, and so bump PORTREVISION Reported by: pkg-fallout [1]
21 lines
811 B
C++
21 lines
811 B
C++
--- src/MathCtrl.cpp.orig 2015-02-05 22:22:12 UTC
|
|
+++ src/MathCtrl.cpp
|
|
@@ -1563,7 +1563,7 @@ void MathCtrl::OnCharInActive(wxKeyEvent
|
|
* We have a wxKeyEvent with no active editor, shift is down and
|
|
* keycode (ccode) is WXK_UP/WXK_DOWN
|
|
*/
|
|
-void MathCtrl::SelectWithChar(wxChar ccode) {
|
|
+void MathCtrl::SelectWithChar(int ccode) {
|
|
// start making a selection
|
|
// m_hCaretPositionStart is the first group selected
|
|
// m_hCaretPositionEnd is tle last group selected
|
|
@@ -1646,7 +1646,7 @@ void MathCtrl::SelectEditable(EditorCell
|
|
}
|
|
|
|
void MathCtrl::OnCharNoActive(wxKeyEvent& event) {
|
|
- wxChar ccode = event.GetKeyCode();
|
|
+ int ccode = event.GetKeyCode();
|
|
wxString txt; // Usually we open an Editor Cell with initial content txt
|
|
|
|
// If Shift is down we are selecting with WXK_UP and WXK_DOWN
|