Skip to content

Need macOS up/down arrows.... #26034

@dkulp

Description

@dkulp

Description

With the changes in 20ff462 , the use of wxART_GO_BACK and wxART_GO_FOWARD result in the use of the Mac "arrow.backword.circle" and "arrow.forward.circle". However, apps that use these in conjunction with the UP/DOWN result in very poor appearance as the UP/DOWN drop to the old versions:

Image

Expected vs observed behaviour:

I would expect the appearance to be consistent.

Simple patch:

diff --git a/src/osx/artmac.cpp b/src/osx/artmac.cpp
index c8e8917118..f2e861529b 100644
--- a/src/osx/artmac.cpp
+++ b/src/osx/artmac.cpp
@@ -149,6 +149,8 @@ static wxBitmapBundle wxMacArtProvider_CreateBitmapBundle(const wxArtID& id, con

     ART_BITMAP(wxART_GO_BACK,        "arrow.backward.circle")
     ART_BITMAP(wxART_GO_FORWARD,     "arrow.forward.circle")
+    ART_BITMAP(wxART_GO_UP,          "arrow.up.circle")
+    ART_BITMAP(wxART_GO_DOWN,        "arrow.down.circle")
     ART_BITMAP(wxART_GO_HOME,        "house")

     ART_BITMAP(wxART_HELP_SETTINGS,  "gear.badge.questionmark")

Platform and version information

  • wxWidgets version you use: close to latest master
  • wxWidgets port you use: wxOSX
  • OS and its version: macOS Tahoe (26.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    macOSSpecific to Cocoa macOS port

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions