C L

Show:

What's happening?

  • Comment: Fix for unicode input in wxGrid (partly wxMac-specific)

    >As for Leopard, we don't decide what goes in >it -- Apple does. A newspost on the wxPython site said: "We're driving full speed ahead in order to get 2.8.0 included with OSX 10.5, and so far we are very close to being on schedule." Like I mentioned in bug report #1677915 (to which you responded), that was my motivation for trying to get these problems fixed quickly. If there is still time...

    2007-03-18 13:03:10 UTC in wxWidgets

  • Comment: Fix for unicode input in wxGrid (partly wxMac-specific)

    I went ahead and looked up some information about keyboard event handling on Windows. Although I think it would be a better design to have EVT_KEY_DOWN catch all keys, it seems that Windows went the other route, and will let the IM intercept keystrokes even before a WM_KEYDOWN is generated. It also turns out that Windows doesn't generate WM_CHAR messages for some keys, such as arrow keys, which...

    2007-03-18 03:37:50 UTC in wxWidgets

  • Comment: Fix for unicode input in wxGrid (partly wxMac-specific)

    >And I don't think the URL you >reference shows any kind of problem -- Robin's reply seems to be clear >enough to me. Sorry, I think I linked the wrong thread. Disregard that. >No, this is really not the right/interesting question. I don't care about >wxGrid, what I do know is that there is a lot of existing code which does >this and I definitely want this to [continue] to work unless...

    2007-03-18 02:10:14 UTC in wxWidgets

  • Comment: Erratic/unusable masked edit controls

    You could use something like this to find out the current style settings: err = GetControlData (m_controlRef, kControlEntireControl, kControlFontStyleTag, sizeof(fontStyle), &fontStyle, NULL); If the kControlUseForeColorMask is active in the current style, and the new color is wxBLACK, call SetControlFontStyle with an empty flags field to clear all styles, resetting the control to the...

    2007-03-14 14:31:41 UTC in wxWidgets

  • Comment: Unicode text input broken in wxMac (patches available)

    The first patch fixed several problems, as the errant char codes that were being generated could end up causing various unwanted effects (triggering default buttons, tabbing out of a text field, etc.). It was a single bug that manifested as a variety of problems. The comment in the patch mentions some examples of characters that trigger it. Until the second patch is applied, there remain...

    2007-03-14 13:56:39 UTC in wxWidgets

  • Comment: Fix bug with inline input of Japanese text

    Thanks! Attempting to fix the problem at the root would have made the patch larger and more complex, and thus less likely to be accepted quickly. Besides, some comments in the wxMac source suggest that Mr. Csomor is working on other event handling changes, so there would have been a chance of conflicts. The information included in the comment in the patch might be useful, though. BTW, I...

    2007-03-14 13:33:15 UTC in wxWidgets

  • Comment: Fix for unicode input in wxGrid (partly wxMac-specific)

    Of course it's possible to catch any key in EVT_KEY_DOWN, but as a result, the IM won't be able to process it. The event flow in Carbon is like this: kEventRawKeyDown -> event handler chain... -> TSM (handles IM, converts keys to characters) -> kEventTextInputUnicodeForKeyEvent -> event handler chain... wxMac generates EVT_KEY_DOWN events from kEventRawKeyDown; if they are caught, they...

    2007-03-14 12:56:44 UTC in wxWidgets

  • Unicode text input broken in wxMac (patches available)

    wxMac has a number of bugs with inputting unicode text (Japanese, Chinese, etc.). According to the wxPython home page, there are plans to include wx 2.8.x in the next version of OS X. Since most of the packages included with OS X are not updated until the following major release of the OS, we are going to end up with the default wx on Mac having broken unicode input for a couple of years unless...

    2007-03-10 15:10:10 UTC in wxWidgets

  • Fix for unicode input in wxGrid (partly wxMac-specific)

    wxGrid currently intercepts some keyboard events using a keydown event handler. By doing so, it interferes with input methods that use those keys (such as return and escape). This results in a number of issues, including crashes, when trying to input Japanese text in a grid cell. These problems have been verified with Japanese text input on Mac OS X; it is certain that other languages are...

    2007-01-22 01:17:00 UTC in wxWidgets

  • Trigger default dialog item when pressing enter

    When pressing enter or return inside a dialog, the default button should be activated. Currently (wxMac 2.8.0) only the return key is recognized. This patch adds support for the enter key.

    2007-01-20 20:35:51 UTC in wxWidgets

About Me

  • 2006-01-12 (4 years ago)
  • 1425757
  • cl_ (My Site)
  • C L

Send me a message