git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1841
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
#endif // wxUSE_TOOLTIPS
}
#endif // wxUSE_TOOLTIPS
+/* This code manages to disable character input completely. Nice one!
+ * Probably because the dialog is requesting all char input. Or,
+ * it gets called by non-dialog windows.
+
// In case we don't have wxTAB_TRAVERSAL style on.
// If we don't call this, we may never process Enter correctly.
if ( m_hWnd != 0 && (GetWindowStyleFlag() & wxTAB_TRAVERSAL) == 0 )
// In case we don't have wxTAB_TRAVERSAL style on.
// If we don't call this, we may never process Enter correctly.
if ( m_hWnd != 0 && (GetWindowStyleFlag() & wxTAB_TRAVERSAL) == 0 )
if ( ::IsDialogMessage((HWND)GetHWND(), msg) )
return TRUE;
}
if ( ::IsDialogMessage((HWND)GetHWND(), msg) )
return TRUE;
}