--- /dev/null
+/*
+ This is an empty Mpch.h file to allow me to move the
+ wxl* files between Mahogany and the wxLayout sample
+ without modifying them.
+*/
+
+static int _mpch_dummy = 0;
+
inline void SetFontUnderline(bool ul) { SetFont(-1,-1,-1,-1,(int)ul); }
/// set font colours by name
inline void SetFontColour(char const *fg, char const *bg = NULL) { SetFont(-1,-1,-1,-1,-1,fg,bg); }
+ /// set font colours by colour
+ inline void SetFontColour(wxColour *fg, wxColour *bg = NULL) { SetFont(-1,-1,-1,-1,-1,fg,bg); }
/**
Returns a pointer to the default settings.
This is only valid temporarily and should not be stored
#endif
-//#include "Mpch.h"
+#include "Mpch.h"
#ifdef M_BASEDIR
# ifndef USE_PCH
# include "Mcommon.h"
case 'k':
m_llist->DeleteToEndOfLine();
break;
+ case 'v':
+ Paste();
+ break;
#ifdef WXLAYOUT_DEBUG
case WXK_F1:
m_llist->SetFont(-1,-1,-1,-1,true); // underlined
case WXK_END:
m_llist->MoveCursorToEndOfLine();
break;
+ case WXK_INSERT:
+ if(event.ShiftDown())
+ Paste();
+ break;
case WXK_DELETE :
m_llist->Delete(1);
break;