Opened 4 years ago

Closed 4 years ago

#11550 closed defect (fixed)

wxAUI doesn't work on OSX, problem with wxHIDKeyboard

Reported by: Mdx4 Owned by: csomor
Priority: normal Milestone:
Component: wxOSX-Cocoa Version: stable-latest
Keywords: wxAUI wxHIDKeyboard Cc: marco.serantoni@…
Blocked By: Blocking:
Patch: yes

Description

The aui sample hangs trying to redock a panel.
I've tracked down and an hang on wxHIDKeyboard::DoBuildCookies was evidentiated.
Debugging step by step i seen that at hid.cpp:504 the variable used in the for loop back down to 0.
nUsage was defined as INT but the call was for a LONG type.

Index: src/osx/core/hid.cpp
===================================================================
--- src/osx/core/hid.cpp (revision 62859)
+++ src/osx/core/hid.cpp (working copy)
@@ -504,7 +504,7 @@

CFArrayGetValueAtIndex(Array, i),
CFSTR(kIOHIDElementUsageKey)

),

  • kCFNumberLongType,

+ kCFNumberIntType,

&nUsage);

Change History (5)

comment:1 Changed 4 years ago by Mdx4

  • Cc marco.serantoni@… added

comment:2 Changed 4 years ago by Infinity77

  • Status changed from new to infoneeded_new

Hi,

please specify which "AUI" you are talking about. Is the wxAUI wxWidgets version or the wx.lib.agw.aui wxPython one? In any case, the component should either be "wxAUI" or "AGW", not "wxOSX-Cocoa".

Andrea.

comment:3 Changed 4 years ago by Mdx4

  • Keywords wxAUI added; AUI removed
  • Status changed from infoneeded_new to new
  • Summary changed from AUI doesn't work on OSX, problem with wxHIDKeyboard to wxAUI doesn't work on OSX, problem with wxHIDKeyboard

Hi,

Andrea i mean wxAUI the wxWidgets one.
Sorry for not being precise on the definition of the issue, i'm correcting it now

Marco

comment:4 Changed 4 years ago by csomor

  • Owner set to csomor
  • Status changed from new to accepted

comment:5 Changed 4 years ago by SC

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [63180]) fixing type for 64 bit, closes #11550

Note: See TracTickets for help on using tickets.