Opened 12 months ago

Closed 8 months ago

Last modified 8 months ago

#15682 closed defect (fixed)

wxGA_VERTICAL ignored for wxGauge on OSX

Reported by: themindiswatching Owned by:
Priority: normal Milestone: 3.0.1
Component: wxOSX-Cocoa Version: 3.0.0
Keywords: Cc: mooneer@…
Blocked By: Blocking:
Patch: yes

Description

I am working on a project called FreeDV (http://freedv.org/) that uses a set of vertical wxGauges in its main UI. On OSX, the application incorrectly uses horizontal gauges, even though wxGA_VERTICAL is used when initializing them. It looks like wxGA_VERTICAL is correctly followed in the old Cocoa framework, however.

The attached patch enables vertical gauges on OSX, at least when using Cocoa. I've tested it and FreeDV correctly renders the gauges in Mavericks. Let me know if you have any questions!

Attachments (1)

patch-gauge.diff download (781 bytes) - added by themindiswatching 12 months ago.

Download all attachments as: .zip

Change History (5)

Changed 12 months ago by themindiswatching

comment:1 Changed 12 months ago by themindiswatching

  • Cc mooneer@… added

comment:2 Changed 12 months ago by vadz

  • Milestone set to 3.0.1
  • Status changed from new to confirmed

Thanks for the patch!

Stefan, do you see any problems with applying this?

comment:3 Changed 8 months ago by VZ

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

(In [76049]) Implement support for wxGA_VERTICAL style in wxOSX.

Rotate the native control to make it look correct in vertical orientation.

Closes #15682.

comment:4 Changed 8 months ago by VZ

(In [76055]) Implement support for wxGA_VERTICAL style in wxOSX.

Rotate the native control to make it look correct in vertical orientation.

Closes #15682.

Note: See TracTickets for help on using tickets.