aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/undo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.h')
-rw-r--r--src/undo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/undo.h b/src/undo.h
index 8d5d5d6..c667540 100644
--- a/src/undo.h
+++ b/src/undo.h
@@ -138,8 +138,12 @@ public:
void push(UndoToken *token);
- void push_msg(unsigned int iMessage,
- uptr_t wParam = 0, sptr_t lParam = 0);
+ inline void
+ push_msg(unsigned int iMessage,
+ uptr_t wParam = 0, sptr_t lParam = 0)
+ {
+ push(new UndoTokenMessage(iMessage, wParam, lParam));
+ }
template <typename Type>
inline Type &