]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
Remove "safety margin" from wxControl::Ellipsize().
[wxWidgets.git] / src / common / event.cpp
index dd439f8427143f58215dc47086697ef2bf788be9..4a9ade6ccf7afbbc3df746d09224d1ddbb51d3d2 100644 (file)
@@ -733,9 +733,9 @@ wxPoint wxMouseEvent::GetLogicalPosition(const wxDC& dc) const
 wxKeyEvent::wxKeyEvent(wxEventType type)
 {
     m_eventType = type;
-    m_keyCode = 0;
+    m_keyCode = WXK_NONE;
 #if wxUSE_UNICODE
-    m_uniChar = 0;
+    m_uniChar = WXK_NONE;
 #endif
 }